Require ntfsprogs on Fedora only

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
This commit is contained in:
Vitaly Kuznetsov 2021-02-19 11:01:30 +01:00
parent d1df06d88f
commit 9c8d095ec6

View File

@ -3,7 +3,7 @@
Name: WALinuxAgent
Version: 2.2.52
Release: 4%{?dist}
Release: 5%{?dist}
Summary: The Microsoft Azure Linux Agent
License: ASL 2.0
@ -23,7 +23,9 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-distro
Requires: %name-udev = %version-%release
%if 0%{?fedora}
Requires: ntfsprogs
%endif
Requires: openssh
Requires: openssh-server
Requires: openssl
@ -125,6 +127,9 @@ install -m0755 -D -t %{buildroot}%{_prefix}/lib/dracut/modules.d/%{dracut_modnam
%endif
%changelog
* Fri Feb 19 2021 Vitaly Kuznetsov <vkuznets@redhat.com> - 2.2.52-5
- Require ntfsprogs on Fedora only
* Tue Jan 26 2021 Vitaly Kuznetsov <vkuznets@redhat.com> - 2.2.52-4
- Fix distro resolution for RedHat