packages: lvm2/lvm2.spec, lvm2/lvm2-lvm_path.patch (NEW)=?UTF-8?Q?=20?=- fix path to the ...

jajcus jajcus at pld-linux.org
Mon Jul 2 18:45:11 CEST 2012


Author: jajcus                       Date: Mon Jul  2 16:45:11 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix path to the 'lvm' binary compiled into some other binaries
- Release: 11

---- Files affected:
packages/lvm2:
   lvm2.spec (1.207 -> 1.208) , lvm2-lvm_path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.207 packages/lvm2/lvm2.spec:1.208
--- packages/lvm2/lvm2.spec:1.207	Mon Jul  2 18:37:46 2012
+++ packages/lvm2/lvm2.spec	Mon Jul  2 18:45:05 2012
@@ -43,7 +43,7 @@
 Summary(pl.UTF-8):	Nowa wersja Logical Volume Managera dla Linuksa
 Name:		lvm2
 Version:	2.02.95
-Release:	10
+Release:	11
 License:	GPL v2
 Group:		Applications/System
 Source0:	ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
@@ -57,6 +57,7 @@
 Patch5:		pldize_lvm2_monitor.patch
 Patch6:		%{name}-wrapper.patch
 Patch7:		udev-deprecated.patch
+Patch8:		%{name}-lvm_path.patch
 URL:		http://sources.redhat.com/lvm2/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
@@ -269,6 +270,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 # do not force --export-symbol linker option for e.g. statically linked executables
 # -rdynamic compiler option drives linker in the right way.
@@ -520,6 +522,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.208  2012/07/02 16:45:05  jajcus
+- fix path to the 'lvm' binary compiled into some other binaries
+- Release: 11
+
 Revision 1.207  2012/07/02 16:37:46  jajcus
 - R: %{name} = %{version}-%{release} for clvmd and cmirrord
 

================================================================
Index: packages/lvm2/lvm2-lvm_path.patch
diff -u /dev/null packages/lvm2/lvm2-lvm_path.patch:1.1
--- /dev/null	Mon Jul  2 18:45:11 2012
+++ packages/lvm2/lvm2-lvm_path.patch	Mon Jul  2 18:45:05 2012
@@ -0,0 +1,12 @@
+diff -dur -x '*~' LVM2.2.02.95.orig/configure.in LVM2.2.02.95/configure.in
+--- LVM2.2.02.95.orig/configure.in	2012-07-01 15:33:45.000000000 +0200
++++ LVM2.2.02.95/configure.in	2012-07-02 18:41:07.560481138 +0200
+@@ -1267,7 +1267,7 @@
+ lvm_exec_prefix=$exec_prefix
+ test "$lvm_exec_prefix" = NONE && lvm_exec_prefix=$prefix
+ test "$lvm_exec_prefix" = NONE && lvm_exec_prefix=$ac_default_prefix
+-LVM_PATH="$lvm_exec_prefix/sbin/lvm"
++LVM_PATH="$sbindir/lvm"
+ AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.])
+ 
+ if  test "$CLVMD" != none; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/lvm2/lvm2.spec?r1=1.207&r2=1.208



More information about the pld-cvs-commit mailing list