rpms/python-imaging/devel python-imaging-shebang.patch, NONE, 1.1 python-imaging.spec, 1.29, 1.30
Joel Andres Granados Moreno
jgranado at fedoraproject.org
Tue Sep 8 14:38:34 UTC 2009
Author: jgranado
Update of /cvs/pkgs/rpms/python-imaging/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2330
Modified Files:
python-imaging.spec
Added Files:
python-imaging-shebang.patch
Log Message:
Fix the shebang issue. See https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython
python-imaging-shebang.patch:
Sane/demo_numarray.py | 2 +-
Sane/demo_pil.py | 2 +-
Scripts/pildriver.py | 2 +-
setup.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE python-imaging-shebang.patch ---
diff -ru Imaging-1.1.6/Sane/demo_numarray.py Imaging-1.1.6-shebang/Sane/demo_numarray.py
--- Imaging-1.1.6/Sane/demo_numarray.py 2006-12-03 12:37:18.000000000 +0100
+++ Imaging-1.1.6-shebang/Sane/demo_numarray.py 2009-09-08 16:15:36.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
#
# Shows how to scan a 16 bit grayscale image into a numarray object
diff -ru Imaging-1.1.6/Sane/demo_pil.py Imaging-1.1.6-shebang/Sane/demo_pil.py
--- Imaging-1.1.6/Sane/demo_pil.py 2006-12-03 12:37:18.000000000 +0100
+++ Imaging-1.1.6-shebang/Sane/demo_pil.py 2009-09-08 16:15:48.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
#
# Shows how to scan a color image into a PIL rgb-image
diff -ru Imaging-1.1.6/Scripts/pildriver.py Imaging-1.1.6-shebang/Scripts/pildriver.py
--- Imaging-1.1.6/Scripts/pildriver.py 2006-12-03 12:37:18.000000000 +0100
+++ Imaging-1.1.6-shebang/Scripts/pildriver.py 2009-09-08 16:15:58.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
"""PILdriver, an image-processing calculator using PIL.
An instance of class PILDriver is essentially a software stack machine
diff -ru Imaging-1.1.6/setup.py Imaging-1.1.6-shebang/setup.py
--- Imaging-1.1.6/setup.py 2006-12-03 12:37:29.000000000 +0100
+++ Imaging-1.1.6-shebang/setup.py 2009-09-08 16:16:10.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
#
# Setup script for PIL 1.1.5 and later
# $Id: setup.py 2582 2005-11-11 21:54:00Z fredrik $
Index: python-imaging.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-imaging/devel/python-imaging.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- python-imaging.spec 26 Jul 2009 20:27:47 -0000 1.29
+++ python-imaging.spec 8 Sep 2009 14:38:34 -0000 1.30
@@ -5,7 +5,7 @@
Summary: Python's own image processing library
Name: python-imaging
Version: 1.1.6
-Release: 16%{?dist}
+Release: 17%{?dist}
License: BSD
Group: System Environment/Libraries
@@ -15,6 +15,7 @@ Patch0: %{name}-no-xv.patch
Patch1: %{name}-lib64.patch
Patch2: %{name}-giftrans.patch
Patch3: %{name}-1.1.6-sane-types.patch
+Patch4: %{name}-shebang.patch
URL: http://www.pythonware.com/products/pil/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -75,6 +76,7 @@ This package contains a Tk interface for
%patch1 -p1
%patch2 -p1
%patch3 -p1 -b .sane-types
+%patch4 -p1 -b .shebang
# fix the interpreter path for Scripts/*.py
cd Scripts
@@ -167,6 +169,9 @@ rm -rf $RPM_BUILD_ROOT
%files tk -f files.tk
%changelog
+* Tue Sep 08 2009 Joel Granados <jgranado at redhat.com> - 1.1.6-17
+- Fix the shebang issue. See https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the fedora-extras-commits
mailing list