diff --git python-lettuce/python-lettuce.spec python-lettuce/python-lettuce.spec.tmp index 6cf4bad9c1..001691a795 100644 --- python-lettuce/python-lettuce.spec +++ python-lettuce/python-lettuce.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 0.2.20 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Behaviour Driven Development for Python License: GPLv3+ @@ -18,11 +18,6 @@ Source1: %{pypi_name}-%{version}-tests.tgz Patch0: %{pypi_name}-0.2.20-fix-tests-with-django-1.8.patch BuildArch: noarch -Requires: mailcap -Requires: python-fuzzywuzzy -Requires: python-setuptools -Requires: python-subunit -Requires: python-sure # If file /etc/mime.types (from mailcap package) is not present, Python returns javascript mimetype # 'application/x-javascript'. This is IMHO wrong behaviour, as IANA specifies application/javascript. # application/x-javascript causes 3 tests to fail, so requiring mailcap for now. @@ -43,10 +38,23 @@ BuildRequires: python-sure BuildRequires: python-tornado -%description -Lettuce is a Behavior Driven Development tool for Python, 100%% inspired on -Cucumber - BDD with elegance and joy. +%global _description\ +Lettuce is a Behavior Driven Development tool for Python, 100%% inspired on\ +Cucumber - BDD with elegance and joy.\ + + +%description %_description +%package -n python2-%{pypi_name} +Summary: %summary +Requires: mailcap +Requires: python-fuzzywuzzy +Requires: python-setuptools +Requires: python-subunit +Requires: python-sure +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description %prep %setup -q -n %{pypi_name}-%{version} @@ -70,13 +78,17 @@ nosetests -s tests/unit nosetests -s tests/functional -%files +%files -n python2-%{pypi_name} %doc README.md COPYING %{_bindir}/lettuce %{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.20-6 +- Python 2 binary package renamed to python2-lettuce + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.20-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild