diff --git python-hghooks/python-hghooks.spec python-hghooks/python-hghooks.spec.tmp index 3c383fc561..0d99450ae7 100644 --- python-hghooks/python-hghooks.spec +++ python-hghooks/python-hghooks.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.7.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: %{sum} License: LGPLv3 @@ -13,21 +13,29 @@ Source0: https://files.pythonhosted.org/packages/source/h/%{srcname}/%{sr BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: mercurial -%description -hghooks is a simple module that adds several useful hooks for use -in Mercurial hooks system. +%global _description\ +hghooks is a simple module that adds several useful hooks for use\ +in Mercurial hooks system.\ +\ +Right now it includes hooks for:\ +\ + * pep8 checking of python files\ + * pyflakes checking of python files\ + * jslint checking of javascript files\ + * checking for forgotten pdb statements in python files\ + * Trac integration. This includes:\ + - Making sure at least a ticket is mentioned in the changeset message\ + - Updating the Trac ticket with the changeset -Right now it includes hooks for: +%description %_description - * pep8 checking of python files - * pyflakes checking of python files - * jslint checking of javascript files - * checking for forgotten pdb statements in python files - * Trac integration. This includes: - - Making sure at least a ticket is mentioned in the changeset message - - Updating the Trac ticket with the changeset +%package -n python2-%{srcname} +Summary: %summary +Requires: mercurial +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} @@ -40,7 +48,7 @@ Right now it includes hooks for: %py2_install -%files +%files -n python2-%{srcname} %license COPYING %doc README.txt %{python2_sitelib}/%{srcname} @@ -48,6 +56,10 @@ Right now it includes hooks for: %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.7.0-7 +- Python 2 binary package renamed to python2-hghooks + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild