[sync]merge ovs into main package

Signed-off-by: gaoxingwang <gaoxingwang1@huawei.com>
This commit is contained in:
gaoxingwang 2023-08-08 14:26:38 +08:00
parent 5106de7c8f
commit cc17829744

View File

@ -49,7 +49,7 @@
Name: NetworkManager Name: NetworkManager
Version: 1.42.8 Version: 1.42.8
Epoch: 1 Epoch: 1
Release: 1 Release: 2
Summary: Network Link Manager and User Applications Summary: Network Link Manager and User Applications
License: GPLv2+ License: GPLv2+
URL: https://networkmanager.dev/ URL: https://networkmanager.dev/
@ -101,6 +101,8 @@ Provides: %{name}-tui
Obsoletes: %{name}-tui Obsoletes: %{name}-tui
Provides: %{name}-adsl Provides: %{name}-adsl
Obsoletes: %{name}-adsl Obsoletes: %{name}-adsl
Provides: %{name}-ovs
Obsoletes: %{name}-ovs
%description %description
NetworkManager attempts to keep an active network connection available NetworkManager attempts to keep an active network connection available
@ -157,15 +159,6 @@ 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 ovs}
%package ovs
Summary: Open vSwitch device plugin for NetworkManager
Requires: %{name} = %{epoch}:%{version}-%{release}
%description ovs
This package contains NetworkManager support for Open vSwitch bridges.
%endif
%if %{with team} %if %{with team}
%package team %package team
Summary:Team device plugin for NetworkManager Summary:Team device plugin for NetworkManager
@ -475,6 +468,10 @@ fi
%if %{with firewalld_zone} %if %{with firewalld_zone}
%{_prefix}/lib/firewalld/zones/nm-shared.xml %{_prefix}/lib/firewalld/zones/nm-shared.xml
%endif %endif
%if %{with ovs}
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-ovs.so
%{systemd_dir}/NetworkManager.service.d/NetworkManager-ovs.conf
%endif
%config(noreplace) /etc/ld.so.conf.d/* %config(noreplace) /etc/ld.so.conf.d/*
%if %{with nm_cloud_setup} %if %{with nm_cloud_setup}
@ -511,12 +508,6 @@ fi
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-wifi.so %{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-wifi.so
%endif %endif
%if %{with ovs}
%files ovs
%defattr(-,root,root)
%{_libdir}/%{name}/%{version}-%{release}/libnm-device-plugin-ovs.so
%{systemd_dir}/NetworkManager.service.d/NetworkManager-ovs.conf
%endif
%if %{with ppp} %if %{with ppp}
%files ppp %files ppp
@ -554,6 +545,12 @@ fi
%{_datadir}/gtk-doc/html/NetworkManager/* %{_datadir}/gtk-doc/html/NetworkManager/*
%changelog %changelog
* Tue Aug 8 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1:1.42.8-2
- Type:requirement
- CVE:NA
- SUG:NA
- DESC:sync,merge ovs into main package
* Sat Jul 29 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1:1.42.8-1 * Sat Jul 29 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1:1.42.8-1
- Type:requirement - Type:requirement
- CVE:NA - CVE:NA