[vigra] Resolves: rhbz#987048 explicit python path in shebang

Caolán McNamara caolanm at fedoraproject.org
Wed Jul 24 14:10:11 UTC 2013


commit abba2a4ed1a810c20dc0b096ff9848b28f7dea81
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jul 24 14:52:25 2013 +0100

    Resolves: rhbz#987048 explicit python path in shebang

 vigra.rhbz987048.shebang.patch |    8 ++++++++
 vigra.spec                     |    7 ++++++-
 2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/vigra.rhbz987048.shebang.patch b/vigra.rhbz987048.shebang.patch
new file mode 100644
index 0000000..6efdc3b
--- /dev/null
+++ b/vigra.rhbz987048.shebang.patch
@@ -0,0 +1,8 @@
+--- vigra-1.9.0/config/vigra-config.in	2013-07-24 14:48:19.473868084 +0100
++++ vigra-1.9.0/config/vigra-config.in	2013-07-24 14:48:55.747333616 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ 
+ from optparse import OptionParser
+ import sys
diff --git a/vigra.spec b/vigra.spec
index cdb35dc..faf57ef 100644
--- a/vigra.spec
+++ b/vigra.spec
@@ -2,7 +2,7 @@
 Summary:        Generic Programming for Computer Vision
 Name:           vigra
 Version:        1.9.0
-Release:        6%{?dist}
+Release:        8%{?dist}
 License:        MIT
 Group:          Development/Libraries
 Source:         http://hci.iwr.uni-heidelberg.de/%{name}/%{name}-%{version}-src.tar.gz
@@ -13,6 +13,7 @@ BuildRequires:  cmake boost-devel doxygen
 %if ! 0%{?rhel}
 BuildRequires:  hdf5-devel python-sphinx numpy-f2py boost-python OpenEXR-devel
 %endif
+Patch0: vigra.rhbz987048.shebang.patch
 
 %description
 VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision
@@ -47,6 +48,7 @@ The vigra-python package provides python bindings for vigra
 
 %prep
 %setup -q
+%patch0 -p1 -b .rhbz987048.shebang.patch
 
 %build
 %if ! 0%{?rhel}
@@ -94,6 +96,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Wed Jul 24 2013 Caolán McNamara <caolanm at redhat.com> - 1.9.0-8
+- Resolves: rhbz#987048 explicit python path in shebang
+
 * Tue Jun 04 2013 Caolán McNamara <caolanm at redhat.com> - 1.9.0-7
 - Resolves: rhbz#970561 no hdf5-devel in RHEL-7
 


More information about the scm-commits mailing list