rpms/python-formencode/devel python-formencode-pyshebang.patch, NONE, 1.1 python-formencode.spec, 1.17, 1.18

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Fri Feb 29 18:37:47 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/python-formencode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11493

Modified Files:
	python-formencode.spec 
Added Files:
	python-formencode-pyshebang.patch 
Log Message:
Add a patch to not explicitly use python2.4

python-formencode-pyshebang.patch:

--- NEW FILE python-formencode-pyshebang.patch ---
--- formencode/i18n/msgfmt.py.orig	2008-02-29 13:30:55.000000000 -0500
+++ formencode/i18n/msgfmt.py	2008-02-29 13:31:42.000000000 -0500
@@ -1,4 +1,4 @@
-#! /usr/bin/python2.4
+#!/usr/bin/python
 # -*- coding: iso-8859-1 -*-
 # Written by Martin v. Löwis <loewis at informatik.hu-berlin.de>
 


Index: python-formencode.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-formencode/devel/python-formencode.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- python-formencode.spec	29 Feb 2008 05:01:58 -0000	1.17
+++ python-formencode.spec	29 Feb 2008 18:37:10 -0000	1.18
@@ -10,19 +10,14 @@
 License:        PSF
 URL:            http://formencode.org/
 Source0:        http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
-Patch:          %{name}-0.7-badurl.patch
+Patch0:         %{name}-0.7-badurl.patch
+Patch1:         %{name}-pyshebang.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch:      noarch
 
 Requires: python-setuptools
-BuildRequires: python-devel
-%if 0%{?fedora} >= 8
-BuildRequires: python-setuptools-devel
-%else
-BuildRequires: python-setuptools
-%endif
-
+BuildRequires: python-devel python-setuptools-devel
 
 
 %description
@@ -32,7 +27,8 @@
 
 %prep
 %setup -q -n FormEncode-%{version}
-%patch -b .badurl
+%patch0 -b .badurl
+%patch1 -b .pyshebang
 
 %build
 %{__python} setup.py build
@@ -54,6 +50,9 @@
 %{python_sitelib}/FormEncode-%{version}-py%{pyver}.egg-info
 
 %changelog
+* Fri Feb 29 2008 Luke Macken <lmacken at redhat.com> 0.9-2
+- Add a patch to not explicitly use python2.4
+
 * Thu Feb 28 2008 Luke Macken <lmacken at redhat.com> 0.9-1
 - Update to 0.9
 




More information about the fedora-extras-commits mailing list