Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Vitaly Kuznetsov
e55d266c0f Update to 2.2.48.1 (#1641605)
Split udev rules to a separate subpackage (#1748432)

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
2020-06-09 17:40:55 +02:00
Vitaly Kuznetsov
71a6f8cd4a Update to 2.2.46
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
2020-04-15 15:46:47 +02:00
3 changed files with 25 additions and 6 deletions

2
.gitignore vendored
View file

@ -8,3 +8,5 @@
/WALinuxAgent-2.2.37.tar.gz
/WALinuxAgent-2.2.38.tar.gz
/WALinuxAgent-2.2.40.tar.gz
/WALinuxAgent-2.2.46.tar.gz
/v2.2.48.1.tar.gz

View file

@ -1,19 +1,20 @@
%global with_legacy 0
Name: WALinuxAgent
Version: 2.2.40
Release: 7%{?dist}
Version: 2.2.48.1
Release: 1%{?dist}
Summary: The Microsoft Azure Linux Agent
License: ASL 2.0
URL: https://github.com/Azure/%{name}
Source0: https://github.com/Azure/%{name}/archive/%{name}-%{version}.tar.gz
Source0: https://github.com/Azure/%{name}/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-distro
Requires: %name-udev = %version-%release
Requires: ntfsprogs
Requires: openssh
Requires: openssh-server
@ -42,6 +43,12 @@ Requires: net-tools
The Microsoft Azure Linux Agent supporting old version of extensions.
%endif
%package udev
Summary: Udev rules for Microsoft Azure
%description udev
Udev rules specific to Microsoft Azure Virtual Machines.
%prep
%setup -q
@ -71,6 +78,7 @@ rm -f %{buildroot}%{_sbindir}/waagent2.0
sed -i 's,/usr/bin/python ,/usr/bin/python3 ,' %{buildroot}%{_unitdir}/waagent.service
mv %{buildroot}%{_sysconfdir}/logrotate.d/waagent.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
mv %{buildroot}%{_sysconfdir}/logrotate.d/waagent-extn.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}-extn
%post
%systemd_post waagent.service
@ -86,20 +94,29 @@ mv %{buildroot}%{_sysconfdir}/logrotate.d/waagent.logrotate %{buildroot}%{_sysco
%ghost %{_localstatedir}/log/waagent.log
%dir %attr(0700, root, root) %{_sharedstatedir}/waagent
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-extn
%{_sbindir}/waagent
%config(noreplace) %{_sysconfdir}/waagent.conf
%{_udevrulesdir}/66-azure-storage.rules
%{_udevrulesdir}/99-azure-product-uuid.rules
%{_unitdir}/waagent.service
%{python3_sitelib}/azurelinuxagent
%{python3_sitelib}/*.egg-info
%files udev
%{_udevrulesdir}/*.rules
%if 0%{?with_legacy}
%files legacy
%{_sbindir}/waagent2.0
%endif
%changelog
* Tue Jun 09 2020 Vitaly Kuznetsov <vkuznets@redhat.com> - 2.2.48.1-1
- Update to 2.2.48.1 (#1641605)
- Split udev rules to a separate subpackage (#1748432)
* Wed Apr 15 2020 Vitaly Kuznetsov <vkuznets@redhat.com> - 2.2.46-1
- Update to 2.2.46
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.40-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (WALinuxAgent-2.2.40.tar.gz) = 313f760bfba2479ed2236211ebcca6781ea43a40bc5ec887b6047e9fe60c3c7fcd2694482990ee71de4ca28d4f772551cee66049a2459979343c6786be37808e
SHA512 (v2.2.48.1.tar.gz) = 139c0b8d8696efdc570f44a63ee828d35ec162ee6a279ceba1a2b7d6ca4d6f99b7c428a4726286ca12b641c5957c3f1050b25a9d233e7a5bb559c8cef97bce0d