rpms/m2crypto/devel m2crypto.spec,1.60,1.61

Miloslav Trmac mitr at fedoraproject.org
Tue Dec 8 18:25:30 UTC 2009


Author: mitr

Update of /cvs/pkgs/rpms/m2crypto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9240

Modified Files:
	m2crypto.spec 
Log Message:
* Mon Dec  7 2009 Miloslav Trmač <mitr at redhat.com> - 0.20.2-3
- Don't use '!# /usr/bin/env python'
  Resolves: #521887



Index: m2crypto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/m2crypto/devel/m2crypto.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -p -r1.60 -r1.61
--- m2crypto.spec	15 Oct 2009 19:01:42 -0000	1.60
+++ m2crypto.spec	8 Dec 2009 18:25:29 -0000	1.61
@@ -6,7 +6,7 @@
 Summary: Support for using OpenSSL in python scripts
 Name: m2crypto
 Version: 0.20.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source0: http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
 # https://bugzilla.osafoundation.org/show_bug.cgi?id=2341
 Patch0: m2crypto-0.18-timeouts.patch
@@ -18,7 +18,7 @@ License: MIT
 Group: System Environment/Libraries
 URL: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto
 BuildRequires: openssl-devel, python-devel
-BuildRequires: perl, pkgconfig, swig
+BuildRequires: perl, pkgconfig, swig, which
 Requires: python
 
 %description
@@ -78,6 +78,9 @@ done
 rm demo/Zope/starts.bat
 # Fix up documentation permssions
 find demo tests -type f -perm -111 -print0 | xargs -0 chmod a-x
+python_path=$(which python)
+grep -rl '/usr/bin/env python' demo tests \
+	| xargs sed -i "s,/usr/bin/env python,${python_path},"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,6 +92,10 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/M2Crypto-*.egg-info
 
 %changelog
+* Mon Dec  7 2009 Miloslav Trmač <mitr at redhat.com> - 0.20.2-3
+- Don't use '!# /usr/bin/env python'
+  Resolves: #521887
+
 * Thu Oct 15 2009 Miloslav Trmač <mitr at redhat.com> - 0.20.2-2
 - Add a dist tag.
 




More information about the fedora-extras-commits mailing list