resync spec file with upstream
- extend "Requires:" to work with Centos8 and older. We maintain upstream a preferred spec file that should work with all distros that we support. - fix to not package manual page for "nm-cloud-setup" in NetworkManager package.
This commit is contained in:
parent
d106900593
commit
a6813af4b6
@ -368,7 +368,13 @@ This package contains NetworkManager support for team devices.
|
|||||||
Summary: Wifi plugin for NetworkManager
|
Summary: Wifi plugin for NetworkManager
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 9
|
||||||
Requires: wireless-regdb
|
Requires: wireless-regdb
|
||||||
|
%else
|
||||||
|
Requires: crda
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with iwd} && (0%{?fedora} > 24 || 0%{?rhel} > 7)
|
%if %{with iwd} && (0%{?fedora} > 24 || 0%{?rhel} > 7)
|
||||||
Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd)
|
Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd)
|
||||||
Suggests: wpa_supplicant
|
Suggests: wpa_supplicant
|
||||||
@ -992,7 +998,8 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man7/nmcli-examples.7*
|
%{_mandir}/man7/nmcli-examples.7*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/nm-initrd-generator.8.gz
|
||||||
|
%{_mandir}/man8/NetworkManager.8.gz
|
||||||
%dir %{_localstatedir}/lib/NetworkManager
|
%dir %{_localstatedir}/lib/NetworkManager
|
||||||
%dir %{_sysconfdir}/sysconfig/network-scripts
|
%dir %{_sysconfdir}/sysconfig/network-scripts
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
||||||
|
Loading…
Reference in New Issue
Block a user