diff --git python-socksipychain/python-socksipychain.spec python-socksipychain/python-socksipychain.spec.tmp index 07a1eab6c2..f218153f4f 100644 --- python-socksipychain/python-socksipychain.spec +++ python-socksipychain/python-socksipychain.spec.tmp @@ -8,7 +8,7 @@ Name: python-%{canonicalname} Version: 2.0.12 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A Python SOCKS/HTTP Proxy module Group: Development/Libraries @@ -25,12 +25,20 @@ BuildArch: noarch BuildRequires: python2-devel -%description -This Python module allows you to create TCP connections through a chain -of SOCKS or HTTP proxies without any special effort. It also supports -TLS/SSL encryption if the OpenSSL modules are installed. +%global _description\ +This Python module allows you to create TCP connections through a chain\ +of SOCKS or HTTP proxies without any special effort. It also supports\ +TLS/SSL encryption if the OpenSSL modules are installed.\ +%description %_description + +%package -n python2-%{canonicalname} +Summary: %summary +%{?python_provide:%python_provide python2-%{canonicalname}} + +%description -n python2-%{canonicalname} %_description + %prep %setup -q -n python-%{upstreamname}-%{version} @@ -47,12 +55,16 @@ install -Dpm 0755 sockschain/__init__.py $RPM_BUILD_ROOT%{python_sitelib}/socksc %{__rm} -rf $RPM_BUILD_ROOT %endif -%files +%files -n python2-%{canonicalname} %defattr(-,root,root,-) %doc LICENSE README.md BUGS %{python_sitelib}/sockschain %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.0.12-10 +- Python 2 binary package renamed to python2-socksipychain + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild