diff --git python-ncclient/python-ncclient.spec python-ncclient/python-ncclient.spec.tmp index 4299e53b72..894df8c39f 100644 --- python-ncclient/python-ncclient.spec +++ python-ncclient/python-ncclient.spec.tmp @@ -2,7 +2,7 @@ Name: python-ncclient Version: 0.4.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python library for NETCONF clients License: ASL 2.0 @@ -17,16 +17,23 @@ BuildRequires: python-paramiko BuildRequires: python-setuptools BuildRequires: python-sphinx + +%global _description\ +This project is a Python library that facilitates client-side scripting and\ +application development around the NETCONF protocol.\ + + +%description %_description + +%package -n python2-ncclient +Summary: %summary Requires: libxml2-python Requires: libxslt-python Requires: python-lxml Requires: python-paramiko +%{?python_provide:%python_provide python2-ncclient} - -%description -This project is a Python library that facilitates client-side scripting and -application development around the NETCONF protocol. - +%description -n python2-ncclient %_description %prep %setup -q -n %{srcname}-%{version} @@ -49,7 +56,7 @@ make -C docs doctest %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-ncclient %doc LICENSE %doc README %doc docs/build/html @@ -59,6 +66,10 @@ make -C docs doctest %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.7-5 +- Python 2 binary package renamed to python2-ncclient + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild