packages: scim/scim.spec - kill evil src/ltdl.h file - BR: libltdl-devel

sparky sparky at pld-linux.org
Sat Jan 22 18:10:16 CET 2011


Author: sparky                       Date: Sat Jan 22 17:10:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- kill evil src/ltdl.h file
- BR: libltdl-devel

---- Files affected:
packages/scim:
   scim.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/scim/scim.spec
diff -u packages/scim/scim.spec:1.7 packages/scim/scim.spec:1.8
--- packages/scim/scim.spec:1.7	Sat Jan 22 16:20:23 2011
+++ packages/scim/scim.spec	Sat Jan 22 18:10:10 2011
@@ -6,16 +6,17 @@
 Release:	1
 License:	LGPL v2+
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/scim/%{name}-%{version}.tar.gz
+Source0:	http://downloads.sourceforge.net/scim/%{name}-%{version}.tar.gz
 # Source0-md5:	975ba34b01304ea8166ac8ea27aa9e88
-Patch0:		scim-1.4.7-syslibltdl.patch
-Patch1:		scim-1.4.8-fix-dlopen.patch
+Patch0:		%{name}-1.4.7-syslibltdl.patch
+Patch1:		%{name}-1.4.8-fix-dlopen.patch
 URL:		http://www.scim-im.org/
 BuildRequires:	autoconf >= 2.59-9
 BuildRequires:	automake
 BuildRequires:	gettext-devel
 BuildRequires:	gtk+2-devel >= 2:2.4.0
 BuildRequires:	intltool >= 0.33
+BuildRequires:	libltdl-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	pango-devel >= 1.1.0
@@ -64,6 +65,10 @@
 %patch0 -p1
 %patch1 -p1
 
+# evil empty file, source fails to find real ltdl.h because of this
+! test -s src/ltdl.h
+%{__rm} src/ltdl.h
+
 for f in m4/intltool.m4 $(grep -l gettext- m4/*.m4 | xargs); do
 	:> $f
 done
@@ -157,6 +162,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2011/01/22 17:10:10  sparky
+- kill evil src/ltdl.h file
+- BR: libltdl-devel
+
 Revision 1.7  2011/01/22 15:20:23  arekm
 - up to 1.4.9; patches from fc; doesn't build unfortunately
 
================================================================

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



More information about the pld-cvs-commit mailing list