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
|
||||
|
||||
%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 <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
|
||||
- Upgrade to 0.0.4.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user