diff --git python-pylons/python-pylons.spec python-pylons/python-pylons.spec.tmp index be2f76a57b..ef336a377a 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,37 +17,45 @@ 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 -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 -Requires: python-paste-deploy >= 1.5.0 -Requires: python-formencode >= 1.2.4 -Requires: python-simplejson >= 2.2.4 -Requires: python-decorator >= 3.3.2 -Requires: python-nose >= 1.1.2 -Requires: python-mako >= 0.5.0 -Requires: python-webob >= 1.1.1 -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 -%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 +%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-myghty >= 1.1 +Requires: python-markupsafe >= 0.15 +Requires: python-tempita >= 0.5.1 +Requires: python-webtest >= 1.3.1 +Requires: python-weberror >= 0.10.3 +Requires: python-webob >= 1.1.1 +Requires: python-mako >= 0.5.0 +Requires: python-nose >= 1.1.2 +Requires: python-decorator >= 3.3.2 +Requires: python-simplejson >= 2.2.4 +Requires: python-formencode >= 1.2.4 +Requires: python-paste-deploy >= 1.5.0 +Requires: python-paste-script >= 1.7.4.2 +Requires: python-paste >= 1.7.5.1 +Requires: python-beaker >= 1.5.4-1 +Requires: python-webhelpers >= 0.6.4 +Requires: python-routes >= 1.12.3 +%{?python_provide:%python_provide python2-pylons} + +%description -n python2-pylons %_description + %prep %setup -qn Pylons-%{version} %patch0 -p1 @@ -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 +* Tue Aug 08 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