diff --git python-cli/python-cli.spec python-cli/python-cli.spec.tmp index 0ef705c60b..83f859a0b0 100644 --- python-cli/python-cli.spec +++ python-cli/python-cli.spec.tmp @@ -2,7 +2,7 @@ Name: python-cli Version: 1.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A CLI construction toolkit for Python Group: Development/Languages @@ -15,12 +15,20 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-ply -Requires: python-ply -%description -This is Python-CLI, a CLI construction toolkit for Python. +%global _description\ +This is Python-CLI, a CLI construction toolkit for Python.\ It is similar in scope to Python's "cmd", "cmd2", and pyCLI. +%description %_description + +%package -n python2-cli +Summary: %summary +Requires: python-ply +%{?python_provide:%python_provide python2-cli} + +%description -n python2-cli %_description + %prep %setup -q -n geertj-python-cli-python-cli-1.2 @@ -36,13 +44,17 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-cli %defattr(-,root,root,-) %doc AUTHORS README LICENSE %{python_sitelib}/* %{_bindir}/cli-test %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.2-12 +- Python 2 binary package renamed to python2-cli + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild