rpms/frescobaldi/devel frescobaldi-py27.patch, NONE, 1.1 frescobaldi.spec, 1.13, 1.14

Orcan Ogetbil oget at fedoraproject.org
Wed Jul 28 00:24:35 UTC 2010


Author: oget

Update of /cvs/pkgs/rpms/frescobaldi/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3092

Modified Files:
	frescobaldi.spec 
Added Files:
	frescobaldi-py27.patch 
Log Message:
* Tue Jul 27 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.2-3
- Enable build for python-2.7


frescobaldi-py27.patch:
 checkmodules.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE frescobaldi-py27.patch ---
diff -rupN frescobaldi-1.0.2.old/checkmodules.py frescobaldi-1.0.2/checkmodules.py
--- frescobaldi-1.0.2.old/checkmodules.py	2009-12-13 02:36:46.000000000 -0500
+++ frescobaldi-1.0.2/checkmodules.py	2010-07-27 19:55:08.000000000 -0400
@@ -31,8 +31,8 @@ errors = []
 mkver = lambda major, minor, release: major * 65536 + minor * 256 + release
     
 # versions
-if sys.version_info[:2] not in ((2,4), (2,5), (2,6)):
-    errors.append("Python version %s.%s.%s found, but need 2.4, 2.5 or 2.6." %
+if sys.version_info[:2] not in ((2,4), (2,5), (2,6), (2,7)):
+    errors.append("Python version %s.%s.%s found, but need 2.4, 2.5, 2.6  or 2.7." %
         sys.version_info[:3])
         
 if sip.SIP_VERSION < mkver(4, 7, 7):


Index: frescobaldi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/frescobaldi/devel/frescobaldi.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- frescobaldi.spec	27 Jul 2010 20:49:38 -0000	1.13
+++ frescobaldi.spec	28 Jul 2010 00:24:35 -0000	1.14
@@ -1,6 +1,6 @@
 Name:           frescobaldi
 Version:        1.0.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Edit LilyPond sheet music with ease!
 Group:          Applications/Editors
 # python/hyphenator.py is LGPLv2+
@@ -9,6 +9,8 @@ Group:          Applications/Editors
 License:        GPLv2+ and LGPLv2+ and Public Domain
 URL:            http://www.frescobaldi.org/
 Source0:        http://lilykde.googlecode.com/files/%{name}-%{version}.tar.gz
+# Enable build for python-2.7
+Patch0:         frescobaldi-py27.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  cmake
@@ -54,6 +56,7 @@ yet lightweight and easy to use. It feat
 
 %prep
 %setup -q
+%patch0 -p1 -b .py27
 
 %build
 %{cmake_kde4} -DKDE4_BIN_INSTALL_DIR=%{_bindir}
@@ -119,6 +122,9 @@ gtk-update-icon-cache %{_datadir}/icons/
 %{_datadir}/kde4/apps/%{name}/
 
 %changelog
+* Tue Jul 27 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 1.0.2-3
+- Enable build for python-2.7
+
 * Tue Jul 27 2010 David Malcolm <dmalcolm at redhat.com> - 1.0.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 



More information about the scm-commits mailing list