diff --git python-pylons/python-pylons.spec python-pylons/python-pylons.spec.tmp index be2f76a57b..7e70784ca2 100644 --- python-pylons/python-pylons.spec +++ python-pylons/python-pylons.spec.tmp @@ -1,6 +1,6 @@ Name: python-pylons Version: 1.0.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Pylons web framework License: BSD URL: http://www.pylonsproject.org @@ -17,9 +17,26 @@ BuildRequires: python-nose python-mako python-webob python-weberror BuildRequires: python-tempita python-webtest python-turbocheetah BuildRequires: python-turbokid python-myghty python-genshi python-jinja2 BuildRequires: python-coverage +# Some versions of Beaker caused FTBFS bug 511511 +# TurboGears hooks pylons (if present) and barfs w/o myghty (Bug 497244) +BuildArch: noarch + +%global _description\ +The Pylons web framework is aimed at making webapps and large programmatic\ +website development in Python easy. Several key points:\ +\ +* A framework to make writing web applications in Python easy\ +* Inspired by Rails and TurboGears\ +* Utilizes a minimalist, component-based philosophy that makes it easy to\ + expand on\ +* Harness existing knowledge about Python + +%description %_description + +%package -n python2-pylons +Summary: %summary Requires: python-routes >= 1.12.3 Requires: python-webhelpers >= 0.6.4 -# Some versions of Beaker caused FTBFS bug 511511 Requires: python-beaker >= 1.5.4-1 Requires: python-paste >= 1.7.5.1 Requires: python-paste-script >= 1.7.4.2 @@ -34,19 +51,10 @@ Requires: python-weberror >= 0.10.3 Requires: python-webtest >= 1.3.1 Requires: python-tempita >= 0.5.1 Requires: python-markupsafe >= 0.15 -# TurboGears hooks pylons (if present) and barfs w/o myghty (Bug 497244) Requires: python-myghty >= 1.1 -BuildArch: noarch +%{?python_provide:%python_provide python2-pylons} -%description -The Pylons web framework is aimed at making webapps and large programmatic -website development in Python easy. Several key points: - -* A framework to make writing web applications in Python easy -* Inspired by Rails and TurboGears -* Utilizes a minimalist, component-based philosophy that makes it easy to - expand on -* Harness existing knowledge about Python +%description -n python2-pylons %_description %prep %setup -qn Pylons-%{version} @@ -62,13 +70,17 @@ sed -i -e 's|/usr/bin/env python|%{__python}|g' *.py %check PYTHONPATH=$(pwd) nosetests -%files +%files -n python2-pylons %doc CHANGELOG LICENSE README.txt %{python_sitelib}/pylons %{python_sitelib}/Pylons-%{version}-py%{python_version}.egg-info %{python_sitelib}/test_files %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-9 +- Python 2 binary package renamed to python2-pylons + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild