Sync with upstream spec
This commit is contained in:
parent
db27511f3f
commit
24dfa163f2
24
nmstate.spec
24
nmstate.spec
@ -1,11 +1,10 @@
|
|||||||
%?python_enable_dependency_generator
|
%?python_enable_dependency_generator
|
||||||
|
|
||||||
%define srcname nmstate
|
%define srcname nmstate
|
||||||
%define libname libnmstate
|
%define libname libnmstate
|
||||||
|
|
||||||
Name: nmstate
|
Name: nmstate
|
||||||
Version: 0.0.4
|
Version: 0.0.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Declarative network manager API
|
Summary: Declarative network manager API
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/%{srcname}/%{srcname}
|
URL: https://github.com/%{srcname}/%{srcname}
|
||||||
@ -29,11 +28,17 @@ provider support on the southbound.
|
|||||||
%package -n python3-%{libname}
|
%package -n python3-%{libname}
|
||||||
Summary: nmstate Python 3 API library
|
Summary: nmstate Python 3 API library
|
||||||
Requires: NetworkManager-libnm
|
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
|
Requires: python3-gobject-base
|
||||||
# Once upstream fixed https://github.com/nmstate/nmstate/issues/184
|
# Use Recommends for NetworkManager because only access to NM DBus is required,
|
||||||
# Remove above requirement and let python_enable_dependency_generator
|
# but NM could be running on a different host
|
||||||
# macro generate it.
|
Recommends: NetworkManager
|
||||||
Suggests: NetworkManager
|
# Use Suggests for NetworkManager-ovs since it is only required for OVS support
|
||||||
|
Suggests: NetworkManager-ovs
|
||||||
|
|
||||||
|
|
||||||
%description -n python3-%{libname}
|
%description -n python3-%{libname}
|
||||||
This package contains the Python 3 library for nmstate.
|
This package contains the Python 3 library for nmstate.
|
||||||
@ -50,6 +55,7 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
%doc examples/
|
||||||
%{python3_sitelib}/nmstatectl
|
%{python3_sitelib}/nmstatectl
|
||||||
%{_bindir}/nmstatectl
|
%{_bindir}/nmstatectl
|
||||||
|
|
||||||
@ -59,6 +65,12 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|||||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 29 2019 Till Maas <opensource@till.name> - 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 <fge@redhat.com> - 0.0.4-1
|
* Thu Jan 24 2019 Gris Ge <fge@redhat.com> - 0.0.4-1
|
||||||
- Upgrade to 0.0.4.
|
- Upgrade to 0.0.4.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user