import WALinuxAgent-2.2.49.2-3.el8

This commit is contained in:
CentOS Sources 2021-01-14 08:09:17 +00:00 committed by Andrew Lukoshko
parent 0f9ccdd612
commit b9cdfdced4
1 changed files with 18 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: Microsoft Azure Linux Agent
Name: WALinuxAgent
Version: 2.2.49.2
Release: 2%{?dist}
Release: 3%{?dist}
License: ASL 2.0
Group: Development/Libraries
@ -17,6 +17,7 @@ Patch3: wla-Fixed-faulty-check-for-run_command-2093.patch
# rhel requirements
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: %name-udev = %version-%release
Requires: openssh
Requires: openssh-server
Requires: openssl
@ -34,6 +35,11 @@ The Azure Linux Agent supports the provisioning and running of Linux
VMs in the Azure cloud. This package should be installed on Linux disk
images that are built to run in the Azure environment.
%package udev
Summary: Udev rules for Microsoft Azure
%description udev
Udev rules specific to Microsoft Azure Virtual Machines.
%prep
%setup -q
@ -49,6 +55,9 @@ images that are built to run in the Azure environment.
%{__python3} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
rm -f %{buildroot}%{_sbindir}/waagent2.0
mkdir -p %{buildroot}%{_udevrulesdir}
mv %{buildroot}%{_sysconfdir}/udev/rules.d/*.rules %{buildroot}%{_udevrulesdir}/
%clean
rm -rf $RPM_BUILD_ROOT
@ -69,10 +78,16 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/logrotate.d/waagent-extn.logrotate
%{_sbindir}/waagent
%{_unitdir}/waagent.service
/etc/udev/rules.d/66-azure-storage.rules
/etc/udev/rules.d/99-azure-product-uuid.rules
%files udev
%{_udevrulesdir}/*.rules
%changelog
* Tue Jan 12 2021 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.49.2-3.el8
- wla-Provide-udev-rules-as-a-separate-subpackage.patch [bz#1913074]
- Resolves: bz#1913074
([Azure][RFE] please provide the WALinuxAgent-udev subpackage)
* Thu Dec 17 2020 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.49.2-2.el8
- wla-Fixed-faulty-check-for-run_command-2093.patch [bz#1903074]
- Resolves: bz#1903074