rpms/alchemist/devel alchemist-1.0.37-py26.patch, NONE, 1.1 alchemist.spec, 1.29, 1.30

Ignacio Vazquez-Abrams ivazquez at fedoraproject.org
Sun Dec 7 08:59:45 UTC 2008


Author: ivazquez

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

Modified Files:
	alchemist.spec 
Added Files:
	alchemist-1.0.37-py26.patch 
Log Message:
Seriously?!

...

Words fail me.


alchemist-1.0.37-py26.patch:

--- NEW FILE alchemist-1.0.37-py26.patch ---
diff -up alchemist-1.0.37/src/Makefile.am.py26 alchemist-1.0.37/src/Makefile.am
--- alchemist-1.0.37/src/Makefile.am.py26	2008-12-07 03:43:53.000000000 -0500
+++ alchemist-1.0.37/src/Makefile.am	2008-12-07 03:45:01.000000000 -0500
@@ -1,9 +1,9 @@
 AUTOMAKE_OPTIONS = 1.4 foreign
 
-INCLUDES=$(GLIB_CFLAGS) -I/usr/include/python2.5 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS)
+INCLUDES=$(GLIB_CFLAGS) -I/usr/include/python2.6 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS)
 LIBS=$(GLIB_LIBS) -lz
 
-pythondatadir=$(DESTDIR)$(libdir)/python2.5/site-packages
+pythondatadir=$(DESTDIR)$(libdir)/python2.6/site-packages
 pythondata_SCRIPTS=	Alchemist.py \
 			FileBlackBox.py \
 			CacheBlackBox.py \
diff -up alchemist-1.0.37/src/Makefile.in.py26 alchemist-1.0.37/src/Makefile.in
--- alchemist-1.0.37/src/Makefile.in.py26	2008-12-07 03:43:54.000000000 -0500
+++ alchemist-1.0.37/src/Makefile.in	2008-12-07 03:44:52.000000000 -0500
@@ -227,8 +227,8 @@ target_alias = @target_alias@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = 1.4 foreign
-INCLUDES = $(GLIB_CFLAGS) -I/usr/include/python2.5 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS)
-pythondatadir = $(DESTDIR)$(libdir)/python2.5/site-packages
+INCLUDES = $(GLIB_CFLAGS) -I/usr/include/python2.6 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS)
+pythondatadir = $(DESTDIR)$(libdir)/python2.6/site-packages
 pythondata_SCRIPTS = Alchemist.py \
 			FileBlackBox.py \
 			CacheBlackBox.py \


Index: alchemist.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alchemist/devel/alchemist.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- alchemist.spec	29 Nov 2008 16:36:35 -0000	1.29
+++ alchemist.spec	7 Dec 2008 08:59:12 -0000	1.30
@@ -3,12 +3,13 @@
 Summary: A multi-sourced configuration back-end
 Name: alchemist
 Version: 1.0.37
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 # No URL as this project never had an upstream other than Red Hat.
 # Do not use alchemist in new projects.
 Source0: %{name}-%{version}.tar.gz
+Patch0: alchemist-1.0.37-py26.patch
 Requires(post,postun): /sbin/ldconfig
 Requires: libxml2 >= 2.3.8, libxslt >= 0.9.0
 Requires: python-abi = %{pyver}
@@ -37,6 +38,7 @@
 
 %prep
 %setup -q
+%patch0 -p 1 -b .py26
 
 %build
 export CFLAGS="-Wall -DNDEBUG -fPIC $RPM_OPT_FLAGS"
@@ -79,6 +81,9 @@
 %{_libdir}/alchemist/blackbox/*.so
 
 %changelog
+* Sun Dec  7 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 1.0.37-6
+- Fix for Python 2.6
+
 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 1.0.37-5
 - Rebuild for Python 2.6
 




More information about the fedora-extras-commits mailing list