diff --git python-which/python-which.spec python-which/python-which.spec.tmp index 0cfc31af1e..c46a09f741 100644 --- python-which/python-which.spec +++ python-which/python-which.spec.tmp @@ -2,7 +2,7 @@ Name: python-which Version: 1.1.0 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Small which replacement that can be used as a Python module Group: Development/Languages @@ -14,14 +14,22 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel -%description -which.py is a small which replacement. It has the following features: +%global _description\ +which.py is a small which replacement. It has the following features:\ +\ + * it can print all matches on the PATH;\ + * it can note "near misses" on the PATH (e.g. files that match but\ + may not, say, have execute permissions); and\ + * it can be used as a Python module.\ - * it can print all matches on the PATH; - * it can note "near misses" on the PATH (e.g. files that match but - may not, say, have execute permissions); and - * it can be used as a Python module. +%description %_description + +%package -n python2-which +Summary: %summary +%{?python_provide:%python_provide python2-which} + +%description -n python2-which %_description %prep %setup -q -n which-%{version} @@ -47,7 +55,7 @@ install -m0755 -p which-python $RPM_BUILD_ROOT%{_bindir} rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-which %defattr(-,root,root,-) %doc LICENSE.txt README.txt TODO.txt %{_bindir}/which-python @@ -56,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.1.0-19 +- Python 2 binary package renamed to python2-which + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild