diff --git a/SPECS/nmstate.spec b/SPECS/nmstate.spec index 1065d11..e8089a7 100644 --- a/SPECS/nmstate.spec +++ b/SPECS/nmstate.spec @@ -4,7 +4,7 @@ Name: nmstate Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Declarative network manager API License: LGPLv2+ URL: https://github.com/%{srcname}/%{srcname} @@ -29,6 +29,7 @@ provider support on the southbound. %package -n python3-%{libname} Summary: nmstate Python 3 API library +BuildArch: noarch Requires: NetworkManager-libnm >= 1:1.26.0 # Use Recommends for NetworkManager because only access to NM DBus is required, # but NM could be running on a different host @@ -45,6 +46,7 @@ Requires: python3dist(nispor) %package -n nmstate-plugin-ovsdb Summary: nmstate plugin for OVS database manipulation +BuildArch: noarch Requires: python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?rhel} # The python-openvswitch rpm package is not in the same repo with nmstate, @@ -147,6 +149,9 @@ popd /sbin/ldconfig %changelog +* Thu Feb 24 2022 Gris Ge - 2.0.0-2 +- Force python3-libnmstate and nmstate-plugin-ovsdb as noarch. RHBZ#1996575 + * Wed Feb 16 2022 Fernando Fernandez Mancera - 2.0.0-1 - Upgrade to 2.0.0. RHBZ#1996575