From 9ab882e1bcb3bfb1ffb12a2974e7ba7a1c5547c9 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Fri, 13 May 2022 14:05:50 -0400 Subject: [PATCH] Move netaddr shell into a separate subpackage (rhbz#2076031) --- python-netaddr.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/python-netaddr.spec b/python-netaddr.spec index 5b80bc3..bccb26c 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -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 - 0.8.0-8 +- Move netaddr shell into a separate subpackage (rhbz#2076031) + * Tue Apr 12 2022 John Eckersberg - 0.8.0-7 - Add Recommends on python3-ipython (rhbz#2074313)