[python-pyramid/epel7] 1.4.6 for epel7.

Ralph Bean ralph at fedoraproject.org
Sat Nov 8 03:43:19 UTC 2014


commit cde37f5d1ef0478b7504ca123cc3dd73e6ce136a
Author: Ralph Bean <rbean at redhat.com>
Date:   Fri Nov 7 22:42:55 2014 -0500

    1.4.6 for epel7.

 .gitignore                        |    1 +
 python-pyramid-xml-mimetype.patch |   11 -----------
 python-pyramid.spec               |   23 +++++++++++++----------
 sources                           |    2 +-
 4 files changed, 15 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e910377..144f73b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ pyramid-1.0.tar.gz
 /pyramid-1.4b3.tar.gz
 /pyramid-1.4.tar.gz
 /pyramid-1.5.1.tar.gz
+/pyramid-1.4.6.tar.gz
diff --git a/python-pyramid.spec b/python-pyramid.spec
index faeee34..f225b48 100644
--- a/python-pyramid.spec
+++ b/python-pyramid.spec
@@ -5,7 +5,7 @@
 %global modname pyramid
 
 Name:           python-%{modname}
-Version:        1.5.1
+Version:        1.4.6
 Release:        1%{?dist}
 Summary:        The Pyramid web application framework, a Pylons project
 
@@ -13,8 +13,6 @@ Group:          Development/Libraries
 License:        BSD
 URL:            http://pylonsproject.com
 Source0:        http://pypi.python.org/packages/source/p/pyramid/%{modname}-%{version}.tar.gz
-# https://github.com/Pylons/pyramid/issues/1405
-Patch0:         %{name}-xml-mimetype.patch
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
@@ -131,10 +129,9 @@ fun, more predictable, and more productive.
 
 %prep
 %setup -q -n pyramid-%{version}
-%patch0 -p1 -b .mimetype
 
 # Force that a certain version of webob is imported and not the older one.
-awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.3.1\", \"PasteDeploy>=1.5.0\", \"WebTest>=1.3.1\", \"zope.interface>=4.0.2\"]; import pkg_resources"}1' setup.py > setup.py.tmp
+awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.2.1\", \"PasteDeploy>=1.5.0\", \"WebTest==1.3.4\", \"zope.interface>=4.0.2\"]; import pkg_resources"}1' setup.py > setup.py.tmp
 mv setup.py.tmp setup.py
 
 # Remove bundled egg info
@@ -161,6 +158,7 @@ pushd %{py3dir}
 cp -r pyramid/scaffolds/alchemy %{buildroot}/%{python3_sitelib}/pyramid/scaffolds/.
 cp -r pyramid/scaffolds/starter %{buildroot}/%{python3_sitelib}/pyramid/scaffolds/.
 cp -r pyramid/scaffolds/zodb %{buildroot}/%{python3_sitelib}/pyramid/scaffolds/.
+mv %{buildroot}/%{_bindir}/bfg2pyramid %{buildroot}/%{_bindir}/python3-bfg2pyramid
 mv %{buildroot}/%{_bindir}/pcreate %{buildroot}/%{_bindir}/python3-pcreate
 mv %{buildroot}/%{_bindir}/pserve %{buildroot}/%{_bindir}/python3-pserve
 mv %{buildroot}/%{_bindir}/prequest %{buildroot}/%{_bindir}/python3-prequest
@@ -168,7 +166,6 @@ mv %{buildroot}/%{_bindir}/proutes %{buildroot}/%{_bindir}/python3-proutes
 mv %{buildroot}/%{_bindir}/pshell %{buildroot}/%{_bindir}/python3-pshell
 mv %{buildroot}/%{_bindir}/ptweens %{buildroot}/%{_bindir}/python3-ptweens
 mv %{buildroot}/%{_bindir}/pviews %{buildroot}/%{_bindir}/python3-pviews
-mv %{buildroot}/%{_bindir}/pdistreport %{buildroot}/%{_bindir}/python3-pdistreport
 popd
 %endif
 
@@ -194,6 +191,10 @@ popd
 %doc README.rst LICENSE.txt
 %{python_sitelib}/%{modname}/
 %{python_sitelib}/%{modname}-%{version}*.egg-info
+%{python_sitelib}/%{modname}/scaffolds/alchemy/
+%{python_sitelib}/%{modname}/scaffolds/starter/
+%{python_sitelib}/%{modname}/scaffolds/zodb/
+%{_bindir}/bfg2pyramid
 %{_bindir}/pcreate
 %{_bindir}/pserve
 %{_bindir}/prequest
@@ -201,13 +202,16 @@ popd
 %{_bindir}/pshell
 %{_bindir}/ptweens
 %{_bindir}/pviews
-%{_bindir}/pdistreport
 
 %if 0%{?with_python3}
 %files -n python3-pyramid
 %doc README.rst LICENSE.txt
 %{python3_sitelib}/%{modname}/
 %{python3_sitelib}/%{modname}-%{version}*.egg-info
+%{python3_sitelib}/%{modname}/scaffolds/alchemy/
+%{python3_sitelib}/%{modname}/scaffolds/starter/
+%{python3_sitelib}/%{modname}/scaffolds/zodb/
+%{_bindir}/python3-bfg2pyramid
 %{_bindir}/python3-pcreate
 %{_bindir}/python3-pserve
 %{_bindir}/python3-prequest
@@ -215,12 +219,11 @@ popd
 %{_bindir}/python3-pshell
 %{_bindir}/python3-ptweens
 %{_bindir}/python3-pviews
-%{_bindir}/python3-pdistreport
 %endif
 
 %changelog
-* Wed Aug 27 2014 Luke Macken <lmacken at redhat.com> - 1.5.1-1
-- Update to 1.5.1
+* Fri Nov 07 2014 Ralph Bean <rbean at redhat.com> - 1.4.6-1
+- Upstream 1.4.6 for epel7.
 
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 9a04e29..2c89832 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a1ab3b773d8e22437828f7df22852c1  pyramid-1.5.1.tar.gz
+7efcad65f5774e1362f270460a542944  pyramid-1.4.6.tar.gz


More information about the scm-commits mailing list