diff --git a/nmstate.spec b/nmstate.spec index 34853e6..8f9ab99 100644 --- a/nmstate.spec +++ b/nmstate.spec @@ -1,11 +1,10 @@ %?python_enable_dependency_generator - %define srcname nmstate %define libname libnmstate Name: nmstate Version: 0.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Declarative network manager API License: GPLv2+ URL: https://github.com/%{srcname}/%{srcname} @@ -29,11 +28,17 @@ provider support on the southbound. %package -n python3-%{libname} Summary: nmstate Python 3 API library Requires: NetworkManager-libnm +# Once upstream fixed requirements.txt, remove the explicit dependency on +# python3-gobject-base and let let python_enable_dependency_generator macro +# generate it. +# Bug report: https://github.com/nmstate/nmstate/issues/184 Requires: python3-gobject-base -# Once upstream fixed https://github.com/nmstate/nmstate/issues/184 -# Remove above requirement and let python_enable_dependency_generator -# macro generate it. -Suggests: NetworkManager +# Use Recommends for NetworkManager because only access to NM DBus is required, +# but NM could be running on a different host +Recommends: NetworkManager +# Use Suggests for NetworkManager-ovs since it is only required for OVS support +Suggests: NetworkManager-ovs + %description -n python3-%{libname} This package contains the Python 3 library for nmstate. @@ -50,6 +55,7 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %files %doc README.md +%doc examples/ %{python3_sitelib}/nmstatectl %{_bindir}/nmstatectl @@ -59,6 +65,12 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %{python3_sitelib}/%{srcname}-*.egg-info/ %changelog +* Tue Jan 29 2019 Till Maas - 0.0.4-2 +- Sync with upstream spec +- Use Recommends for NetworkManager +- Add Suggests for NetworkManager-ovs +- package examples as doc + * Thu Jan 24 2019 Gris Ge - 0.0.4-1 - Upgrade to 0.0.4.