[bodhi/el6] Patch our setuptools requirement from Pillow to PIL on RHEL 5 & 6
Luke Macken
lmacken at fedoraproject.org
Tue Feb 11 22:17:16 UTC 2014
commit 6c9130cc68707b87f88c034019937f5cda79514f
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Feb 11 15:17:44 2014 -0700
Patch our setuptools requirement from Pillow to PIL on RHEL 5 & 6
bodhi.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/bodhi.spec b/bodhi.spec
index 40625f8..fb1e83b 100644
--- a/bodhi.spec
+++ b/bodhi.spec
@@ -3,7 +3,7 @@
Name: bodhi
Version: 0.9.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
License: GPLv2+
@@ -78,6 +78,9 @@ updates for a software distribution.
%prep
%setup -q
+%if 0%{?rhel} && 0%{?rhel} <= 6
+sed -i 's/Pillow/PIL/' setup.py
+%endif
rm -rf bodhi/tests bodhi/tools/test-bodhi.py
@@ -133,6 +136,9 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py
%changelog
+* Tue Feb 11 2014 Luke Macken <lmacken at redhat.com> - 0.9.8-2
+- Patch our setuptools requirement from Pillow to PIL on RHEL 5 & 6
+
* Tue Feb 11 2014 Luke Macken <lmacken at redhat.com> - 0.9.8-1
- Update to 0.9.8
More information about the scm-commits
mailing list