diff --git python-pysctp/python-pysctp.spec python-pysctp/python-pysctp.spec.tmp index e24ad9a558..b5b56a5b0b 100644 --- python-pysctp/python-pysctp.spec +++ python-pysctp/python-pysctp.spec.tmp @@ -2,7 +2,7 @@ Name: python-pysctp Version: 0.6 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python sctp socket api extensions bindings Group: System Environment/Libraries License: LGPLv2 @@ -10,15 +10,23 @@ URL: http://epx.com.br/pysctp/ Source0: https://github.com/philpraxis/pysctp/archive/%{version}.tar.gz Source1: __init__.py BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: python lksctp-tools-devel BuildRequires: python-setuptools lksctp-tools-devel BuildRequires: python-devel python Patch0: pysctp-buildfix.patch -%description +%global _description\ Python bindings for the SCTP socket api (see draft-ietf-tsvwg-sctpsocket-10.txt) +%description %_description + +%package -n python2-pysctp +Summary: %summary +Requires: python lksctp-tools-devel +%{?python_provide:%python_provide python2-pysctp} + +%description -n python2-pysctp %_description + %prep %setup -q -n pysctp-%{version} mkdir ./pysctp @@ -35,12 +43,16 @@ rm -f $RPM_BUILD_ROOT/usr/*.[ch] %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-pysctp %defattr(-,root,root,-) %{python_sitearch}/* %doc README %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.6-11 +- Python 2 binary package renamed to python2-pysctp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild