[SVN] r2920 - trunk/rpms/libsigc++

svn-commits at rpmforge.net svn-commits at rpmforge.net
Tue Mar 1 01:41:22 CET 2005


Author: thias
Date: 2005-03-01 01:41:22 +0100 (Tue, 01 Mar 2005)
New Revision: 2920

Added:
   trunk/rpms/libsigc++/libsigc++-1.2.5-pc-cflags.patch
Modified:
   trunk/rpms/libsigc++/libsigc++.spec
Log:
Further x86_64 fixes (lib vs. lib64 in the .pc file).


Added: trunk/rpms/libsigc++/libsigc++-1.2.5-pc-cflags.patch
===================================================================
--- trunk/rpms/libsigc++/libsigc++-1.2.5-pc-cflags.patch	2005-03-01 00:40:29 UTC (rev 2919)
+++ trunk/rpms/libsigc++/libsigc++-1.2.5-pc-cflags.patch	2005-03-01 00:41:22 UTC (rev 2920)
@@ -0,0 +1,8 @@
+--- libsigc++-1.2.5/sigc++-1.2.pc.in.~1~	2002-10-09 02:05:34.000000000 -0700
++++ libsigc++-1.2.5/sigc++-1.2.pc.in	2004-03-25 12:27:27.454635054 -0800
+@@ -7,4 +7,4 @@
+ Description: Type-safe signal and callback system for C++
+ Version: @VERSION@
+ Libs: -L${libdir} -lsigc-1.2
+-Cflags: -I${exec_prefix}/lib/sigc++-1.2/include -I${includedir}/sigc++-1.2
++Cflags: -I${libdir}/sigc++-1.2/include -I${includedir}/sigc++-1.2

Modified: trunk/rpms/libsigc++/libsigc++.spec
===================================================================
--- trunk/rpms/libsigc++/libsigc++.spec	2005-03-01 00:40:29 UTC (rev 2919)
+++ trunk/rpms/libsigc++/libsigc++.spec	2005-03-01 00:41:22 UTC (rev 2920)
@@ -13,6 +13,7 @@
 Group: System Environment/Libraries
 URL: http://libsigc.sourceforge.net/
 Source: http://dl.sf.net/libsigc/libsigc++-%{version}.tar.gz
+Patch: libsigc++-1.2.5-pc-cflags.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Obsoletes: libsigc++-examples <= %{version}
 BuildRequires: gcc-c++, m4
@@ -42,6 +43,7 @@
 
 %prep
 %setup
+%patch -p1 -b .pc
 
 
 %build
@@ -90,6 +92,8 @@
 %changelog
 * Tue Mar  1 2005 Matthias Saou <http://freshrpms.net/> 1.2.5-4
 - Force libtoolize/autoconf/automake to build on x86_64.
+- Add libsigc++-1.2.5-pc-cflags.patch patch from Fedora Extras to fix lib vs.
+  lib64 issue from .pc file.
 
 * Fri May 21 2004 Matthias Saou <http://freshrpms.net/> 1.2.5-3
 - Rebuild for Fedora Core 2.




More information about the commits mailing list