[pony] Apply patch for python=pillow compatibility
Toshio くらとみ
toshio at fedoraproject.org
Tue Feb 5 01:53:03 UTC 2013
commit 6aac984010c53c36216426bf672480a143d59265
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Mon Feb 4 17:52:51 2013 -0800
Apply patch for python=pillow compatibility
pony-pillow.patch | 11 +++++++++++
pony.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/pony-pillow.patch b/pony-pillow.patch
new file mode 100644
index 0000000..d448415
--- /dev/null
+++ b/pony-pillow.patch
@@ -0,0 +1,11 @@
+Index: pony-0.4/cmake-modules/FindPIL.py
+===================================================================
+--- pony-0.4.orig/cmake-modules/FindPIL.py
++++ pony-0.4/cmake-modules/FindPIL.py
+@@ -1,5 +1,5 @@
+ try:
+- import Image
++ from PIL import Image
+ except:
+ exit(1)
+ print "kushal"
diff --git a/pony.spec b/pony.spec
index 830e296..8c881f1 100644
--- a/pony.spec
+++ b/pony.spec
@@ -1,12 +1,13 @@
Name: pony
Version: 0.4
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: An image manager
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.fedorahosted.org/pony
Source0: http://fedorahosted.org/releases/p/o/pony/%{name}-%{version}.tar.bz2
+Patch0: pony-pillow.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -34,6 +35,7 @@ Pony is a simple image manager
%prep
%setup -q
+%patch0 -p1
sed -i -e "s|#!/usr/bin/env python||" gviewUI.py
%build
@@ -97,6 +99,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
%changelog
+* Mon Feb 4 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4-6
+- Apply patch for python=pillow compatibility
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list