diff --git a/.gitignore b/.gitignore index 298d2c8..e629955 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,5 @@ /nmstate.gpg /nmstate-0.3.1.tar.gz /nmstate-0.3.1.tar.gz.asc +/nmstate-0.3.2.tar.gz +/nmstate-0.3.2.tar.gz.asc diff --git a/nmstate.spec b/nmstate.spec index 1623d06..e98a450 100644 --- a/nmstate.spec +++ b/nmstate.spec @@ -3,7 +3,7 @@ %define libname libnmstate Name: nmstate -Version: 0.3.1 +Version: 0.3.2 Release: 1%{?dist} Summary: Declarative network manager API License: LGPLv2+ @@ -27,7 +27,7 @@ provider support on the southbound. %package -n python3-%{libname} Summary: nmstate Python 3 API library -Requires: NetworkManager-libnm >= 1:1.22.10 +Requires: NetworkManager-libnm >= 1:1.22.16 # Use Recommends for NetworkManager because only access to NM DBus is required, # but NM could be running on a different host Recommends: NetworkManager @@ -38,10 +38,19 @@ Recommends: NetworkManager-config-server Suggests: NetworkManager-ovs Suggests: NetworkManager-team +%package -n nmstate-plugin-ovsdb +Summary: nmstate plugin for OVS database manipulation +Requires: python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release} +# The python-openvswitch rpm pacakge is not in the same repo with nmstate, +# hence state it as Recommends, no requires. +Recommends: python3dist(ovs) %description -n python3-%{libname} This package contains the Python 3 library for Nmstate. +%description -n nmstate-plugin-ovsdb +This package contains the nmstate plugin for OVS database manipulation. + %prep gpg2 --import --import-options import-export,import-minimal %{SOURCE2} > ./gpgkey-mantainers.gpg gpgv2 --keyring ./gpgkey-mantainers.gpg %{SOURCE1} %{SOURCE0} @@ -64,8 +73,18 @@ gpgv2 --keyring ./gpgkey-mantainers.gpg %{SOURCE1} %{SOURCE0} %license LICENSE %{python3_sitelib}/%{libname} %{python3_sitelib}/%{srcname}-*.egg-info/ +%exclude %{python3_sitelib}/%{libname}/plugins/nmstate_plugin_* +%exclude %{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_* + +%files -n nmstate-plugin-ovsdb +%{python3_sitelib}/%{libname}/plugins/nmstate_plugin_ovsdb* +%{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_ovsdb* %changelog +* Tue Jun 16 2020 Fernando Fernandez Mancera - 0.3.2-1 +- Update to 0.3.2 +- Sync with upstream specfile + * Tue Jun 09 2020 Fernando Fernandez Mancera - 0.3.1-1 - Update to 0.3.1 diff --git a/sources b/sources index cab81af..819aa91 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (nmstate-0.3.1.tar.gz) = 5c146426c3a4c041f07c393794808e491084346643f7be28b41afa47fa6313ca4dcfddb39c181433ab532f36d39efcbd41b71f145f3ae8891556f1d360be341f -SHA512 (nmstate-0.3.1.tar.gz.asc) = 923fcc8369a10301cbae6c14c9f72bb90a6422cb42670f736691848e283fc230ddcd2c7c79944cbb399c80d4d4f68a83117775cbfdfbeb95ab75cfa5df38dbde +SHA512 (nmstate-0.3.2.tar.gz) = 6a9b8103d29c081b96b4eeb6cfec2804762db1fbc2d9119bdc038af86ea001f67310d976dd9799635626a0d8dc01f9084adb07e4e380c0bd9ee5ad42eba4f7b5 +SHA512 (nmstate-0.3.2.tar.gz.asc) = fe71e580c49aaf543fe84376d0bf9198643bf552711df0ed7aa7b3f778ef093a131420204652e2307e2473173d0da8ad8d26976f8418e28a775eb4b85b46d974 SHA512 (nmstate.gpg) = a021b2cdb23869740dfb6a17d633fbecf717a209e979d600ba3e0d551569b3b93c3744439abd6e07a30511c6be15180df685f6e8c82c6e3b9fbfcb4572758052