diff --git a/TurboGears2-flexible-webob-version.patch b/TurboGears2-flexible-webob-version.patch new file mode 100644 index 0000000..219d1d3 --- /dev/null +++ b/TurboGears2-flexible-webob-version.patch @@ -0,0 +1,17 @@ +diff --git a/setup.py b/setup.py +index 923331a..be1f161 100644 +--- a/setup.py ++++ b/setup.py +@@ -49,7 +49,8 @@ setup( + include_package_data=True, + zip_safe=False, + install_requires=[ +- 'WebOb == 1.0.8', ++ 'WebOb <= 1.1.1', ++ 'WebOb >= 1.0.7', + 'Pylons >= 0.9.7', + 'WebFlash >= 0.1a8', + 'WebError >= 0.10.1', +-- +1.7.10 + diff --git a/TurboGears2.spec b/TurboGears2.spec index eae8ba0..0abf04d 100644 --- a/TurboGears2.spec +++ b/TurboGears2.spec @@ -3,7 +3,7 @@ Name: TurboGears2 Version: 2.1.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Next generation front-to-back web development megaframework built on Pylons Group: Development/Languages @@ -13,6 +13,7 @@ Source0: http://www.turbogears.org/2.1/downloads/%{version}/%{name}-%{ver Source1: test-templates.tar.bz2 Patch0: %{name}-kajiki.patch Patch1: %{name}-no-chameleon.patch +Patch2: %{name}-flexible-webob-version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -45,6 +46,7 @@ Requires: python-pylons >= 0.9.7 Requires: python-webflash >= 0.1-0.a8 Requires: python-weberror >= 0.10.1 Requires: python-webob >= 1.0.7 +Requires: python-webob <= 1.1.1 Requires: python-genshi >= 0.5.1 Requires: python-zope-sqlalchemy >= 0.4 Requires: python-toscawidgets >= 0.9.4 @@ -75,6 +77,7 @@ database development and everything in between: %setup -q %patch0 -p1 -b .kajiki %patch1 -p1 -b .chameleon +%patch2 -p1 -b .webob %build @@ -106,6 +109,9 @@ rm -rf %{buildroot} %changelog +* Fri Apr 13 2012 Ralph Bean - 2.1.4-3 +- Patch webob version requirement to allow python-webob-1.1.1 + * Thu Jan 12 2012 Fedora Release Engineering - 2.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild