[trac/f18] Patch out the Genshi < 0.7 requirement (#957509)
Luke Macken
lmacken at fedoraproject.org
Wed May 1 14:22:07 UTC 2013
commit cf999dcbbc1c2de4e98581e99f9edc97bc9109ff
Author: Luke Macken <lmacken at redhat.com>
Date: Wed May 1 09:33:30 2013 -0400
Patch out the Genshi < 0.7 requirement (#957509)
trac-0.12.3-genshi.patch | 16 ++++++++++++++++
trac.spec | 3 +++
2 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/trac-0.12.3-genshi.patch b/trac-0.12.3-genshi.patch
new file mode 100644
index 0000000..ebe4399
--- /dev/null
+++ b/trac-0.12.3-genshi.patch
@@ -0,0 +1,16 @@
+--- setup.py.orig 2013-04-30 16:59:12.258810142 -0400
++++ setup.py 2013-04-30 16:59:26.347950790 -0400
+@@ -93,11 +93,11 @@
+ zip_safe = True,
+
+ setup_requires = [
+- 'Genshi>=0.6,<0.7dev',
++ 'Genshi>=0.6',
+ ],
+ install_requires = [
+ 'setuptools>=0.6b1',
+- 'Genshi>=0.6,<0.7dev',
++ 'Genshi>=0.6',
+ ],
+ extras_require = {
+ 'Babel': ['Babel>=0.9.5'],
diff --git a/trac.spec b/trac.spec
index c23b68f..ee9016c 100644
--- a/trac.spec
+++ b/trac.spec
@@ -14,6 +14,7 @@ Source3: trac.ini-environment_sample
Source4: %{name}-README.fedora
Source5: trac.wsgi
Patch0: trac-0.12.3-pidfile.patch
+Patch1: trac-0.12.3-genshi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
@@ -38,6 +39,7 @@ development more streamlined and effective.
%setup -q -n Trac-%{version}
%patch0 -p0 -b .pidfile
+%patch1 -p0 -b .genshi
find contrib -type f -exec chmod -x '{}' \;
# don't package windows specific files
@@ -92,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Apr 30 2013 Luke Macken <lmacken at redhat.com> - 0.12.3-5
- Run the test suite
+- Patch out the Genshi < 0.7 requirement (#957509)
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list