forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I71c24c731aa61f9e5cd5cfb1994af2a00c72671a Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/16106 Tested-by: gerrit-photon <[email protected]> Reviewed-by: Shreenidhi Shedi <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: cloud-init | ||
Version: 22.1 | ||
Version: 22.2 | ||
Release: 1%{?dist} | ||
Summary: Cloud instance init scripts | ||
Group: System Environment/Base | ||
|
@@ -9,7 +9,7 @@ Vendor: VMware, Inc. | |
Distribution: Photon | ||
|
||
Source0: https://launchpad.net/cloud-init/trunk/%{version}/+download/%{name}-%{version}.tar.gz | ||
%define sha1 %{name}=830185bb5ce87ad86e4d1c0c62329bb255ec1648 | ||
%define sha512 %{name}=07fec2f1d6eab20a1161672bb339a0c6b2826540bcb03936f95458b179fcb1b3142773c9a4038fe02b30bb05a5ca48a4153b6b0f59015b43bd6c6602832f9d6f | ||
|
||
Patch0: cloud-init-azureds.patch | ||
Patch1: ds-identify.patch | ||
|
@@ -41,6 +41,7 @@ BuildRequires: python3-pip | |
BuildRequires: python3-configobj | ||
BuildRequires: python3-jsonpatch | ||
BuildRequires: python3-pytest | ||
BuildRequires: python3-jsonschema | ||
%endif | ||
|
||
Requires: iproute2 | ||
|
@@ -106,7 +107,7 @@ echo -e 'CERT1\nLINE2\nLINE3\nCERT2\nLINE2\nLINE3' > "${crt_file}" | |
conf_file='/etc/ca-certificates.conf' | ||
echo -e 'line1\nline2\nline3\ncloud-init-ca-certs.crt\n' > "${conf_file}" | ||
|
||
%define test_pkgs pytest-metadata unittest2 mock attrs iniconfig httpretty netifaces | ||
%define test_pkgs pytest-metadata unittest2 mock attrs iniconfig httpretty netifaces responses pytest-mock | ||
|
||
pip3 install --upgrade %test_pkgs | ||
make check %{?_smp_mflags} | ||
|
@@ -127,6 +128,7 @@ rm -rf %{buildroot} | |
%systemd_postun %cl_services | ||
|
||
%files | ||
%defattr(-,root,root) | ||
%{_bindir}/* | ||
%license LICENSE | ||
%{python3_sitelib}/* | ||
|
@@ -147,6 +149,8 @@ rm -rf %{buildroot} | |
%{_sysconfdir}/systemd/system/[email protected]/disable-sshd-keygen-if-cloud-init-active.conf | ||
|
||
%changelog | ||
* Thu May 19 2022 Shivani Agarwal <[email protected]> 22.2-1 | ||
- Upgrade to v22.2 | ||
* Thu Feb 17 2022 Shreenidhi Shedi <[email protected]> 22.1-1 | ||
- Upgrade to v22.1 | ||
* Mon Nov 15 2021 Shreenidhi Shedi <[email protected]> 21.4-1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters