[python-turbojson/el6] Remove our strict PEAK-Rules requirement

Luke Macken lmacken at fedoraproject.org
Tue Jun 7 20:27:50 UTC 2011


commit 9097f80041fbd841c6611ecc1719cd86a9414aae
Author: Luke Macken <lmacken at redhat.com>
Date:   Tue Jun 7 16:27:39 2011 -0400

    Remove our strict PEAK-Rules requirement

 python-turbojson-peak-rules.patch |   11 +++++++++++
 python-turbojson.spec             |   11 ++++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/python-turbojson-peak-rules.patch b/python-turbojson-peak-rules.patch
new file mode 100644
index 0000000..1f5d111
--- /dev/null
+++ b/python-turbojson-peak-rules.patch
@@ -0,0 +1,11 @@
+--- setup.py.orig	2011-06-07 16:19:51.212049243 -0400
++++ setup.py	2011-06-07 16:19:58.480161204 -0400
+@@ -18,7 +18,7 @@
+         'turbogears'
+     ],
+     install_requires = [
+-        'PEAK-Rules >= 0.5a1.dev-r2600',
++        'PEAK-Rules',
+         'simplejson >= 1.9.1'
+     ],
+     tests_require = [
diff --git a/python-turbojson.spec b/python-turbojson.spec
index eb3c131..42a0ab8 100644
--- a/python-turbojson.spec
+++ b/python-turbojson.spec
@@ -6,23 +6,24 @@
 
 Name:           python-turbojson
 Version:        1.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python template plugin that supports json
 
 Group:          Development/Languages
 License:        MIT
 URL:            http://cheeseshop.python.org/pypi/TurboJson
 Source0:        http://pypi.python.org/packages/source/T/TurboJson/TurboJson-%{version}.tar.gz
+Patch0:         %{name}-peak-rules.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires: python2-devel
 BuildRequires: python-setuptools
-BuildRequires: python-peak-rules >= 0.5a1.dev-0.2600
+BuildRequires: python-peak-rules
 BuildRequires: python-simplejson >= 1.9.1
 BuildRequires: python-nose python-sqlalchemy python-sqlobject
 
-Requires:      python-peak-rules >= 0.5a1.dev-0.2600
+Requires:      python-peak-rules
 Requires:      python-simplejson >= 1.9.1
 
 %description
@@ -33,6 +34,7 @@ that support python.templating.engines.
 
 %prep
 %setup -q -n TurboJson-%{version}
+%patch0
 
 %build
 %{__python} setup.py build
@@ -56,6 +58,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jun 07 2011 Luke Macken <lmacken at redhat.com> - 1.3-3
+- Remove our strict PEAK-Rules requirement
+
 * Sun Dec 26 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.3-2
 - Update spec for minor guidelines changes
 


More information about the scm-commits mailing list