[wavextract] Pillow patch.

Jon Ciesla limb at fedoraproject.org
Tue Jan 15 18:07:52 UTC 2013


commit 9cc187e57a94770e0cd16ebba08c4e0039da3f6b
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Tue Jan 15 12:05:15 2013 -0600

    Pillow patch.

 wavextract-1.0.0-pillow.patch |   11 +++++++++++
 wavextract.spec               |    6 +++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/wavextract-1.0.0-pillow.patch b/wavextract-1.0.0-pillow.patch
new file mode 100644
index 0000000..b45146a
--- /dev/null
+++ b/wavextract-1.0.0-pillow.patch
@@ -0,0 +1,11 @@
+--- wavextract.orig/wavextract	2013-01-14 15:42:14.443037390 -0500
++++ wavextract.orig/wavextract	2013-01-14 15:38:36.029265622 -0500
+@@ -31,7 +31,7 @@ 
+ import os
+ 
+ # Python Imaging Library (PIL) must be installed!
+-import Image
++from PIL import Image
+ 
+ class Error(Exception):
+     """Standard errors (printed without program termination)"""
diff --git a/wavextract.spec b/wavextract.spec
index fecc8a7..3d12c0a 100644
--- a/wavextract.spec
+++ b/wavextract.spec
@@ -1,12 +1,13 @@
 Name:           wavextract
 Version:        1.0.0
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Program for extracting embedded audio data from JPEG images
 Summary(pl):    Program do wyciągania zagnieżdżonych danych audio z plików JPEG
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://developer.berlios.de/projects/wavextract
 Source0:        http://download.berlios.de/wavextract/%name-%version.tar.gz
+Patch0:         wavextract-1.0.0-pillow.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       python python-imaging
@@ -37,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/%{name}
 
 %changelog
+* Tue Jan 15 2013 Jon Ciesla <limburgher at gmail.com> - 1.0.0-9
+- Patch to work with pillow, BZ 895214.
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list