diff --git pycscope/pycscope.spec pycscope/pycscope.spec.tmp index d7816a7617..f23c6c0178 100644 --- pycscope/pycscope.spec +++ pycscope/pycscope.spec.tmp @@ -7,7 +7,7 @@ Name: pycscope Version: 1.2.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Generates a cscope index of Python source trees License: GPLv2 @@ -17,13 +17,24 @@ Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{versi BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools python-nose -Requires: python-setuptools -%description -A python script to generate a cscope index from a Python source tree. %{name} -uses Python's own parser and AST to generate the index, so it is a bit more +%global _description\ +A python script to generate a cscope index from a Python source tree. %{name}\ +uses Python's own parser and AST to generate the index, so it is a bit more\ accurate than plain cscope. +%description %_description + +%package -n python2-%{name} +Summary: %summary +Requires: python-setuptools +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: pycscope%{?_isa} = %{version}-%{release} +Obsoletes: pycscope < %{version}-%{release} + +%description -n python2-%{name} %_description + %if 0%{?with_python3} %package -n python3-%{name} Summary: Generates a cscope index of Python source trees @@ -92,7 +103,7 @@ popd #%endif # with_python3 -%files +%files -n python2-%{name} %doc README LICENSE doc/dwh-cscopeFormat.txt %{_bindir}/%{name} %{python_sitelib}/%{name}-%{version}-py?.?.egg-info @@ -107,6 +118,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2.1-11 +- Python 2 binary package renamed to python2-pycscope + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild