SPECS: lvm2.spec - fix liblvm2cmd soname - dropped redundant CFLAGS passing...

qboosh qboosh at pld-linux.org
Sat Nov 29 22:38:02 CET 2008


Author: qboosh                       Date: Sat Nov 29 21:38:02 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix liblvm2cmd soname
- dropped redundant CFLAGS passing
- libs linking needs killing -lreadling

---- Files affected:
SPECS:
   lvm2.spec (1.112 -> 1.113) 

---- Diffs:

================================================================
Index: SPECS/lvm2.spec
diff -u SPECS/lvm2.spec:1.112 SPECS/lvm2.spec:1.113
--- SPECS/lvm2.spec:1.112	Mon Nov 24 13:01:47 2008
+++ SPECS/lvm2.spec	Sat Nov 29 22:37:56 2008
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+# TODO: kill -lreadline from libs (using -as-needed or moving from LIBS to binaries linking)
 #
 # Conditional build:
 %bcond_without	initrd	# don't build initrd version
@@ -143,7 +144,7 @@
 grep LIB_VERSION_LVM tools/Makefile* && exit 1
 
 # if not
-sed -i -e 's#LIB_VERSION#LIB_VERSION_LVM#g' tools/Makefile*
+sed -i -e 's#LIB_VERSION#LIB_VERSION_LVM#g;17aLIB_VERSION = $(LIB_VERSION_LVM)' tools/Makefile.in
 
 %build
 cp -f /usr/share/automake/config.sub autoconf
@@ -172,7 +173,6 @@
 %endif
 
 %configure \
-	CFLAGS="%{rpmcflags}" \
 	--with-usrlibdir=%{_libdir} \
 	%{?debug:--enable-debug} \
 	--with-optimisation="%{rpmcflags}" \
@@ -265,6 +265,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2008/11/29 21:37:56  qboosh
+- fix liblvm2cmd soname
+- dropped redundant CFLAGS passing
+- libs linking needs killing -lreadling
+
 Revision 1.112  2008/11/24 12:01:47  arekm
 - lvm2 up to 2.02.43; device-mapper is now part of lvm2 package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lvm2.spec?r1=1.112&r2=1.113&f=u



More information about the pld-cvs-commit mailing list