diff --git libssh2-python/libssh2-python.spec libssh2-python/libssh2-python.spec.tmp index f58229ca5f..90559e98ec 100644 --- libssh2-python/libssh2-python.spec +++ libssh2-python/libssh2-python.spec.tmp @@ -3,7 +3,7 @@ Summary: Python binding for the libssh2 library Name: libssh2-python Version: 0.7.1 -Release: 15%{?dist} +Release: 16%{?dist} License: LGPLv2+ Group: Development/Libraries URL: https://github.com/wallunit/ssh4py @@ -18,10 +18,20 @@ BuildRequires: libssh2-devel BuildRequires: openssl-devel BuildRequires: zlib-devel -%description -libssh2-python is a python binding for the libssh2 library +%global _description\ +libssh2-python is a python binding for the libssh2 library\ +%description %_description + +%package -n python2-libssh2 +Summary: %summary +%{?python_provide:%python_provide python2-libssh2} +# Remove before F30 +Provides: libssh2-python = %{version}-%{release} + +%description -n python2-libssh2 %_description + %prep %setup -q @@ -35,12 +45,16 @@ rm -rf $RPM_BUILD_ROOT python setup.py install -O1 --root=$RPM_BUILD_ROOT -%files +%files -n python2-libssh2 %doc README.txt COPYING %{python_sitearch}/libssh2.so %{python_sitearch}/libssh2*-*.egg-info %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.7.1-16 +- Python 2 binary package renamed to python2-libssh2 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.7.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild