Move netaddr shell into a separate subpackage (rhbz#2076031)

This commit is contained in:
John Eckersberg 2022-05-13 14:05:50 -04:00
parent 5b105978d7
commit 9ab882e1bc

View File

@ -8,7 +8,7 @@
Name: python-netaddr Name: python-netaddr
Version: 0.8.0 Version: 0.8.0
Release: 7%{?dist} Release: 8%{?dist}
Summary: A pure Python network address representation and manipulation library Summary: A pure Python network address representation and manipulation library
License: BSD License: BSD
@ -64,7 +64,6 @@ Summary: %summary
%if 0%{?with_python3} %if 0%{?with_python3}
%package -n python3-netaddr %package -n python3-netaddr
Summary: A pure Python network address representation and manipulation library Summary: A pure Python network address representation and manipulation library
Recommends: python3-ipython
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
@ -73,6 +72,14 @@ BuildRequires: python3-pytest
%description -n python3-netaddr %description -n python3-netaddr
%{desc} %{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 %endif
%prep %prep
@ -138,10 +145,15 @@ py.test-%{python3_version}
%doc AUTHORS CHANGELOG %doc AUTHORS CHANGELOG
%doc README.rst docs/python3/html %doc README.rst docs/python3/html
%{python3_sitelib}/* %{python3_sitelib}/*
%files -n python3-netaddr-shell
%{_bindir}/netaddr %{_bindir}/netaddr
%endif %endif
%changelog %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 * Tue Apr 12 2022 John Eckersberg <jeckersb@redhat.com> - 0.8.0-7
- Add Recommends on python3-ipython (rhbz#2074313) - Add Recommends on python3-ipython (rhbz#2074313)