diff --git pytorctl/pytorctl.spec pytorctl/pytorctl.spec.tmp index 8cd4f10bd0..4f723e2868 100644 --- pytorctl/pytorctl.spec +++ pytorctl/pytorctl.spec.tmp @@ -9,7 +9,7 @@ Name: pytorctl Version: 0 -Release: 0.22.%{date}git%{shortcommit}%{?dist} +Release: 0.23.%{date}git%{shortcommit}%{?dist} Summary: TorCtl Python bindings Group: Development/Libraries @@ -23,9 +23,20 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: python2-devel -%description +%global _description\ Python bindings for controlling the Tor router +%description %_description + +%package -n python2-pytorctl +Summary: %summary +%{?python_provide:%python_provide python2-pytorctl} +# Remove before F30 +Provides: pytorctl%{?_isa} = %{version}-%{release} +Obsoletes: pytorctl < %{version}-%{release} + +%description -n python2-pytorctl %_description + %prep %setup -q -n %{name} @@ -47,7 +58,7 @@ done rm -rf %{buildroot} -%files +%files -n python2-pytorctl %defattr(-,root,root,-) %doc README %license LICENSE @@ -55,6 +66,10 @@ rm -rf %{buildroot} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0-0.23.20130920git4fdd203 +- Python 2 binary package renamed to python2-pytorctl + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0-0.22.20130920git4fdd203 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild