Blame SPECS/WALinuxAgent.spec

488707
Summary: Microsoft Azure Linux Agent
488707
Name: WALinuxAgent
416c82
Version: 2.2.38
416c82
Release: 1%{?dist}
488707
416c82
License: ASL 2.0
488707
Group: Development/Libraries
488707
Url: https://github.com/Azure/WALinuxAgent
416c82
Source0: WALinuxAgent-2.2.38.tar.gz
488707
488707
BuildArch: noarch
488707
Patch0001: 0001-Add-inital-redhat-build-support.patch
488707
488707
# rhel requirements
488707
BuildRequires:  python3-devel
488707
BuildRequires:  python3-setuptools
488707
Requires:       openssh
488707
Requires:       openssh-server
488707
Requires:       openssl
488707
Requires:       parted
488707
Requires:       python3-pyasn1
416c82
Requires:       python36
488707
488707
BuildRequires:   systemd
488707
Requires(post):  systemd
488707
Requires(preun): systemd
488707
Requires(postun): systemd
488707
488707
%description
488707
The Azure Linux Agent supports the provisioning and running of Linux
488707
VMs in the Azure cloud. This package should be installed on Linux disk
488707
images that are built to run in the Azure environment.
488707
488707
488707
%prep
488707
%setup -q
488707
488707
%patch0001 -p1
488707
488707
%build
488707
%py3_build
488707
488707
%install
488707
%{__python3} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
416c82
rm -f %{buildroot}%{_sbindir}/waagent2.0
488707
488707
%clean
488707
rm -rf $RPM_BUILD_ROOT
488707
488707
%post
488707
%systemd_post waagent.service
488707
488707
%preun
488707
%systemd_preun waagent.service
488707
488707
%postun
488707
%systemd_postun_with_restart waagent.service
488707
488707
%files 
488707
%defattr(-,root,root)
488707
%{python3_sitelib}/*
488707
%config(noreplace) %{_sysconfdir}/waagent.conf
488707
%{_sysconfdir}/logrotate.d/waagent.logrotate
488707
%{_sbindir}/waagent
488707
%{_unitdir}/waagent.service
488707
/etc/udev/rules.d/66-azure-storage.rules
488707
/etc/udev/rules.d/99-azure-product-uuid.rules
488707
488707
%changelog
416c82
* Wed Jul 24 2019 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.38-1
416c82
- Rebase to 2.2.38 [bz#1722848]
416c82
- Resolves: bz#1722848
416c82
  ([Azure]walinuxagent 2.2.38 rebase [8.1.0])
416c82
416c82
* Wed Jun 26 2019 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.32-3.el8
416c82
- wla-Switch-from-platform-python-to-python36.patch [bz#1720373]
416c82
- wla-Stop-packaging-legacy-waagent2.0.patch [bz#1720373]
416c82
- Resolves: bz#1720373
416c82
  ([RHEL 8.1] [Azure] Change WALinuxAgent spec to depend on Python3.6 package)
416c82
488707
* Tue Apr 30 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.2.32-2.el8
488707
- wla-Add-fixes-for-handling-swap-file-and-other-nit-fixes.patch [bz#1684181 bz#1688276]
488707
- Resolves: bz#1684181
488707
  (CVE-2019-0804 WALinuxAgent: swapfile created with weak permissions)
488707
- Resolves: bz#1688276
488707
  (CVE-2019-0804 WALinuxAgent: swapfile created with weak permissions [rhel-8])
488707
488707
* Fri Dec 14 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.32-1.el8
488707
- Rebase to 2.2.32 [bz#1639498]
488707
- Resolves: bz#1639498]
488707
  (walinuxagent 2.2.32 packaging request for RHEL 8)
488707
488707
* Tue Oct 23 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-6.el8
488707
- wala-Use-sys.executable-to-find-system-python.patch [bz#1639775]
488707
- Resolves: bz#1639775
488707
  (WALinuxAgent: Systemd unit file will fail to execute)
488707
488707
* Mon Oct 22 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-5.el8
488707
- wala-Switch-to-platform-python-in-systemd-unit-file.patch [bz#1639775]
488707
- Resolves: bz#1639775
488707
  (WALinuxAgent: Systemd unit file will fail to execute)
488707
488707
* Wed Aug 29 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-4.el8
488707
- Fix unit file location [bz#1637545]
488707
- Resolves: bz#1637545
488707
  (Wrong macro used for systemd unit file location)
488707
488707
* Wed Jul 04 2018 Tomas Orsava <torsava@redhat.com> - 2.2.26-3
488707
- Switch hardcoded python3 shebangs into the %%{__python3} macro
488707
488707
* Tue Jul 03 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-2.el8
488707
- Include 7.6 patches
488707
488707
* Tue Jul 03 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-1.el7
488707
- Rebase to 2.2.26 [bz#1571523]
488707
- Resolves: bz#1571523
488707
  (Rebase WALinuxAgent in RHEL-8.0)
488707
488707
* Thu May 03 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.18-2.el7
488707
- wa-Add-show-configuration-option.patch [bz#1508340]
488707
- Resolves: bz#1508340
488707
  ([WALA] WALA usage prompt lack of " waagent -show-configuration")
488707
488707
* Tue Oct 10 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.18-1.el7
488707
- Rebase to 2.2.18 [bz#1491873]
488707
- Resolves: bz#1491873
488707
  ([WALA]Request to package WALA 2.2.18 into RHEL 7 Repo)
488707
488707
488707
* Tue Jul 04 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.14-1.el7
488707
- Rebase to 2.2.14 [bz#1451172]
488707
- wla-Remove-FIPS-setting-from-the-default-config.patch [bz#1467553]
488707
- Resolves: bz#1451172
488707
  ([WALA] Request to package WALA 2.2.14 into RHEL 7 Repo)
488707
- Resolves: bz#1467553
488707
  ([WALA] Remove FIPS from default config in WALA-2.2.14)
488707
488707
* Wed Apr 26 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.10-1.el7
488707
- Rebase to 2.2.10 [bz#1443425]
488707
- Resolves: bz#1443425
488707
  ([WALA]Request to package WALA 2.2.10 into RHEL 7 Repo)
488707
488707
* Wed Apr 19 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.4-2.el7
488707
- Enable AutoUpdate by default [bz#1434933]
488707
- Resolves: bz#1434933
488707
  ([WALA][RHEL-7] Enable AutoUpdate by default)
488707
488707
* Wed Mar 01 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.4-1.el7
488707
- Rebase to 2.2.4 [bz#1419201]
488707
- resolves: bz#1419201
488707
  WALA 2.2.4
488707
488707
* Mon Jan 16 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.0-4.el7
488707
- agent-RHEL-7-hostname-533.patch [bz#1413674]
488707
- agent-fix-for-hostnamectl-534.patch [bz#1413674]
488707
- Resolves: bz#1413674
488707
  ([WALA] Fail to send hostname to DHCP server during provisioning)
488707
488707
* Fri Sep 30 2016 Dave Anderson <anderson@redhat.com> - 2.2.0-1
488707
- Update to v2.2.0
488707
  Resolves: rhbz#1360492
488707
488707
* Wed Sep 21 2016 Dave Anderson <anderson@redhat.com> - 2.1.5-2
488707
- Several QE updates to this file
488707
  Resolves: rhbz#1360492
488707
488707
* Tue Sep 13 2016 Dave Anderson <anderson@redhat.com> - 2.1.5-1
488707
- Update to v2.1.5
488707
  Resolves: rhbz#1360492
488707
488707
* Thu Jan 14 2016 Dave Anderson <anderson@redhat.com> - 2.0.16-1
488707
- Update to 2.0.16
488707
  Resolves: rhbz#1296360
488707
488707
* Mon Jun 01 2015 Dave Anderson <anderson@redhat.com> - 2.0.13-1
488707
- Update to upstream 2.0.13 package.
488707
- Remove global commit md5sum and fix Source0 to point to correct location.
488707
- Fix setup to deal with "WALinuxAgent-WALinuxAgent" naming scheme
488707
- Added files reference for /udev/rules.d/99-azure-product-uuid.rules
488707
488707
* Thu May 07 2015 Dave Anderson <anderson@redhat.com> - 2.0.11-3
488707
- Remove Requires: ntfsprogs for RHEL7
488707
488707
* Sat Jan 10 2015 Scott K Logan <logans@cottsay.net> - 2.0.11-2
488707
- Use systemd for rhel7
488707
- Own logrotate.d
488707
- Fix python2-devel dep
488707
488707
* Sat Dec 20 2014 Scott K Logan <logans@cottsay.net> - 2.0.11-1
488707
- Initial package