rpms/libextractor/F-9 libextractor.spec,1.7,1.8

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Sat Jun 21 18:33:14 UTC 2008


Author: ensc

Update of /cvs/extras/rpms/libextractor/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6604

Modified Files:
	libextractor.spec 
Log Message:
- updated to 0.5.20b
- build with -Wl,-as-needed
- fixed rpath issues



Index: libextractor.spec
===================================================================
RCS file: /cvs/extras/rpms/libextractor/F-9/libextractor.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- libextractor.spec	13 Feb 2008 12:06:52 -0000	1.7
+++ libextractor.spec	21 Jun 2008 18:32:16 -0000	1.8
@@ -5,7 +5,7 @@
 %{!?release_func:%global release_func() %1%{?dist}}
 
 Name:		libextractor
-Version:	0.5.19a
+Version:	0.5.20b
 Release:	%release_func 1
 Summary:	Simple library for keyword extraction
 
@@ -132,9 +132,16 @@
 %build
 %{!?with_mpeg:export ac_cv_lib_mpeg2_mpeg2_init=no}
 %configure --disable-static	\
+	--disable-rpath		\
 	--enable-xpdf		\
 	--with-qt=/usr
 
+# build with --as-needed and disable rpath
+sed -i \
+	-e 's! -shared ! -Wl,--as-needed\0!g' 					\
+	-e '/sys_lib_dlsearch_path_spec=\"\/lib \/usr\/lib /s!\"\/lib \/usr\/lib !/\"/%_lib /usr/%_lib !g'	\
+	libtool
+
 # not SMP safe
 make # %{?_smp_mflags}
 	
@@ -235,6 +242,11 @@
 
 
 %changelog
+* Sat Jun 21 2008 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.5.20b-1
+- updated to 0.5.20b
+- build with -Wl,-as-needed
+- fixed rpath issues
+
 * Wed Feb 13 2008 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.5.19a-1
 - updated to 0.5.19a
 - added flac-plugin subpackage




More information about the fedora-extras-commits mailing list