packages: lash/lash.spec, lash/lash-swig2.patch (NEW) - added swig2 patch (...

qboosh qboosh at pld-linux.org
Wed Dec 29 18:48:20 CET 2010


Author: qboosh                       Date: Wed Dec 29 17:48:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added swig2 patch (support swig 2.0.x)

---- Files affected:
packages/lash:
   lash.spec (1.6 -> 1.7) , lash-swig2.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lash/lash.spec
diff -u packages/lash/lash.spec:1.6 packages/lash/lash.spec:1.7
--- packages/lash/lash.spec:1.6	Fri Jul  9 13:17:52 2010
+++ packages/lash/lash.spec	Wed Dec 29 18:48:15 2010
@@ -10,6 +10,7 @@
 # Source0-md5:	8eeb7e91f9127d7d9fc6ec076cbe14ed
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-glibc2.8.patch
+Patch2:		%{name}-swig2.patch
 URL:		http://lash.nongnu.org/
 BuildRequires:	/usr/bin/texi2html
 BuildRequires:	alsa-lib-devel >= 0.9
@@ -104,6 +105,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -125,7 +127,7 @@
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/_lash.{la,a}
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_lash.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -174,6 +176,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/12/29 17:48:15  qboosh
+- added swig2 patch (support swig 2.0.x)
+
 Revision 1.6  2010/07/09 11:17:52  arekm
 - release 3
 

================================================================
Index: packages/lash/lash-swig2.patch
diff -u /dev/null packages/lash/lash-swig2.patch:1.1
--- /dev/null	Wed Dec 29 18:48:20 2010
+++ packages/lash/lash-swig2.patch	Wed Dec 29 18:48:15 2010
@@ -0,0 +1,13 @@
+--- lash-0.5.4/configure.ac.orig	2007-11-14 22:58:51.000000000 +0100
++++ lash-0.5.4/configure.ac	2010-12-29 18:35:57.814121097 +0100
+@@ -165,7 +165,10 @@
+     AM_CHECK_PYTHON_HEADERS(, python_found=no)
+ 
+     if test x$python_found == xyes; then
++      AC_PROG_SWIG(2.0.0)
++      if test -z "$SWIG_LIB" ; then
+       AC_PROG_SWIG(1.3.31)
++      fi
+       if test "$SWIG_LIB" ; then
+         build_pylash=yes
+       fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lash/lash.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list