]> git.pld-linux.org Git - packages/lvm2.git/commitdiff
- fix path to the 'lvm' binary compiled into some other binaries auto/th/lvm2-2_02_95-11
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 2 Jul 2012 16:45:05 +0000 (16:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release: 11

Changed files:
    lvm2-lvm_path.patch -> 1.1
    lvm2.spec -> 1.208

lvm2-lvm_path.patch [new file with mode: 0644]
lvm2.spec

diff --git a/lvm2-lvm_path.patch b/lvm2-lvm_path.patch
new file mode 100644 (file)
index 0000000..4edf715
--- /dev/null
@@ -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
index d09e37b3b2bedc3e487dc242826ec5216980ee46..04c3d133764674b462cc0eb52c32257a45471128 100644 (file)
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -42,7 +42,7 @@ Summary:      The new version of Logical Volume Manager for Linux
 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
@@ -56,6 +56,7 @@ Patch4:               dl-dlsym.patch
 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
@@ -268,6 +269,7 @@ potrzeby initrd.
 %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.
This page took 0.043115 seconds and 4 git commands to generate.