split team into subpackage
Signed-off-by: gaoxingwang <gaoxingwang1@huawei.com> (cherry picked from commit 481cc9a03ee103dd3e12066f1ea9ba89c490b07d)
This commit is contained in:
parent
069f7b7539
commit
33afd5826c
@ -50,7 +50,7 @@
|
|||||||
Name: NetworkManager
|
Name: NetworkManager
|
||||||
Version: 1.32.12
|
Version: 1.32.12
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Release: 14
|
Release: 15
|
||||||
Summary: Network Link Manager and User Applications
|
Summary: Network Link Manager and User Applications
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.gnome.org/projects/NetworkManager/
|
URL: https://www.gnome.org/projects/NetworkManager/
|
||||||
@ -71,12 +71,15 @@ Patch6004: NetworkManager-Add-sw64-architecture.patch
|
|||||||
BuildRequires: gcc libtool pkgconfig automake autoconf intltool gettext-devel ppp-devel gnutls-devel
|
BuildRequires: gcc libtool pkgconfig automake autoconf intltool gettext-devel ppp-devel gnutls-devel
|
||||||
BuildRequires: dbus-devel dbus-glib-devel glib2-devel gobject-introspection-devel jansson-devel
|
BuildRequires: dbus-devel dbus-glib-devel glib2-devel gobject-introspection-devel jansson-devel
|
||||||
BuildRequires: dhclient readline-devel audit-libs-devel gtk-doc libudev-devel libuuid-devel /usr/bin/valac polkit-devel
|
BuildRequires: dhclient readline-devel audit-libs-devel gtk-doc libudev-devel libuuid-devel /usr/bin/valac polkit-devel
|
||||||
BuildRequires: iptables libxslt systemd systemd-devel libcurl-devel libndp-devel python3-gobject-base teamd-devel
|
BuildRequires: iptables libxslt systemd systemd-devel libcurl-devel libndp-devel python3-gobject-base
|
||||||
BuildRequires: ModemManager-glib-devel newt-devel /usr/bin/dbus-launch python3 python3-dbus libselinux-devel chrpath
|
BuildRequires: ModemManager-glib-devel newt-devel /usr/bin/dbus-launch python3 python3-dbus libselinux-devel chrpath
|
||||||
|
|
||||||
%if %{with bluetooth}
|
%if %{with bluetooth}
|
||||||
BuildRequires: bluez-libs-devel
|
BuildRequires: bluez-libs-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with team}
|
||||||
|
BuildRequires: teamd-devel
|
||||||
|
%endif
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(post): /usr/sbin/update-alternatives
|
Requires(post): /usr/sbin/update-alternatives
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -124,6 +127,7 @@ Obsoletes: NetworkManager < %{obsoletes_device_plugins}
|
|||||||
This package contains NetworkManager support for Wifi devices.
|
This package contains NetworkManager support for Wifi devices.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with wwan}
|
||||||
%package wwan
|
%package wwan
|
||||||
Summary: Mobile broadband device plugin for %{name}
|
Summary: Mobile broadband device plugin for %{name}
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
@ -133,6 +137,7 @@ Obsoletes: NetworkManager < %{obsoletes_device_plugins}
|
|||||||
%description wwan
|
%description wwan
|
||||||
This package contains NetworkManager support for mobile broadband (WWAN)
|
This package contains NetworkManager support for mobile broadband (WWAN)
|
||||||
devices.
|
devices.
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with bluetooth}
|
%if %{with bluetooth}
|
||||||
%package bluetooth
|
%package bluetooth
|
||||||
@ -146,6 +151,16 @@ Obsoletes: NetworkManager < %{obsoletes_device_plugins}
|
|||||||
This package contains NetworkManager support for Bluetooth device
|
This package contains NetworkManager support for Bluetooth device
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with team}
|
||||||
|
%package team
|
||||||
|
Summary: Team device plugin for NetworkManager
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Obsoletes: NetworkManager < %{obsoletes_device_plugins}
|
||||||
|
|
||||||
|
%description team
|
||||||
|
This package contains NetworkManager support for team devices.
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with ovs}
|
%if %{with ovs}
|
||||||
%package ovs
|
%package ovs
|
||||||
Summary: Open vSwitch device plugin for NetworkManager
|
Summary: Open vSwitch device plugin for NetworkManager
|
||||||
@ -408,9 +423,6 @@ fi
|
|||||||
%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/10-ifcfg-rh-routes.sh
|
%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/10-ifcfg-rh-routes.sh
|
||||||
%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/10-ifcfg-rh-routes.sh
|
%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/10-ifcfg-rh-routes.sh
|
||||||
%{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so
|
%{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so
|
||||||
%if %{with team}
|
|
||||||
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-team.so
|
|
||||||
%endif
|
|
||||||
%{_bindir}/nmtui*
|
%{_bindir}/nmtui*
|
||||||
%if %{with adsl}
|
%if %{with adsl}
|
||||||
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-adsl.so
|
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-adsl.so
|
||||||
@ -425,6 +437,12 @@ fi
|
|||||||
%{_prefix}/lib/firewalld/zones/nm-shared.xml
|
%{_prefix}/lib/firewalld/zones/nm-shared.xml
|
||||||
%config(noreplace) /etc/ld.so.conf.d/*
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
|
%if %{with team}
|
||||||
|
%files team
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-team.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with wwan}
|
%if %{with wwan}
|
||||||
%files wwan
|
%files wwan
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -487,6 +505,12 @@ fi
|
|||||||
%{_datadir}/gtk-doc/html/NetworkManager/*
|
%{_datadir}/gtk-doc/html/NetworkManager/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 5 2023 gaoxingwang<gaoxingwang1@huawei.com> - 1:1.32.12-15
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: split team into subpackage
|
||||||
|
|
||||||
* Tue Dec 6 2022 Chenxi Mao <chenxi.mao@suse.com> - 1:1.32.12-14
|
* Tue Dec 6 2022 Chenxi Mao <chenxi.mao@suse.com> - 1:1.32.12-14
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user