Move netaddr shell into a separate subpackage (rhbz#2076031)
This commit is contained in:
parent
5b105978d7
commit
9ab882e1bc
@ -8,7 +8,7 @@
|
||||
|
||||
Name: python-netaddr
|
||||
Version: 0.8.0
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: A pure Python network address representation and manipulation library
|
||||
|
||||
License: BSD
|
||||
@ -64,7 +64,6 @@ Summary: %summary
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-netaddr
|
||||
Summary: A pure Python network address representation and manipulation library
|
||||
Recommends: python3-ipython
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-sphinx
|
||||
@ -73,6 +72,14 @@ BuildRequires: python3-pytest
|
||||
|
||||
%description -n python3-netaddr
|
||||
%{desc}
|
||||
|
||||
%package -n python3-netaddr-shell
|
||||
Summary: An IPython-based shell environment for the netaddr library
|
||||
Requires: python3-netaddr = %{version}-%{release}
|
||||
Requires: python3-ipython
|
||||
|
||||
%description -n python3-netaddr-shell
|
||||
An IPython-based shell environment for the netaddr library
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@ -138,10 +145,15 @@ py.test-%{python3_version}
|
||||
%doc AUTHORS CHANGELOG
|
||||
%doc README.rst docs/python3/html
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%files -n python3-netaddr-shell
|
||||
%{_bindir}/netaddr
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 13 2022 John Eckersberg <jeckersb@redhat.com> - 0.8.0-8
|
||||
- Move netaddr shell into a separate subpackage (rhbz#2076031)
|
||||
|
||||
* Tue Apr 12 2022 John Eckersberg <jeckersb@redhat.com> - 0.8.0-7
|
||||
- Add Recommends on python3-ipython (rhbz#2074313)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user