From ce9cbdb4ebfc0ee19b3dc0bb51f7f8f27534515903405c42362cdcadb160fd46 Mon Sep 17 00:00:00 2001 From: LiuhuaMelody Wang Date: Fri, 9 Jan 2015 02:25:27 +0000 Subject: [PATCH] Accepting request 280350 from home:dimstar:branches:Base:System - Add lvm2-do-not-strip-pdata_tools.patch: Change build system to not strip pdata_tools during installation. We need the file in tact in order to be able to produce valid debuginfo packages (boo#910327). OBS-URL: https://build.opensuse.org/request/show/280350 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=117 --- lvm2-do-not-strip-pdata_tools.patch | 13 +++++++++++++ lvm2.changes | 8 ++++++++ lvm2.spec | 7 +++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 lvm2-do-not-strip-pdata_tools.patch diff --git a/lvm2-do-not-strip-pdata_tools.patch b/lvm2-do-not-strip-pdata_tools.patch new file mode 100644 index 0000000..5307838 --- /dev/null +++ b/lvm2-do-not-strip-pdata_tools.patch @@ -0,0 +1,13 @@ +Index: LVM2.2.02.114/thin-provisioning-tools-0.4.1/Makefile.in +=================================================================== +--- LVM2.2.02.114.orig/thin-provisioning-tools-0.4.1/Makefile.in ++++ LVM2.2.02.114/thin-provisioning-tools-0.4.1/Makefile.in +@@ -108,7 +108,7 @@ MANPATH:=$(DATADIR)/man + vpath %.cc $(TOP_DIR) + + INSTALL_DIR = $(INSTALL) -m 755 -d +-INSTALL_PROGRAM = $(INSTALL) -m 755 -s ++INSTALL_PROGRAM = $(INSTALL) -m 755 + INSTALL_DATA = $(INSTALL) -p -m 644 + + ifeq ("@TESTING@", "yes") diff --git a/lvm2.changes b/lvm2.changes index 10d603d..85b66e2 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 8 15:21:17 UTC 2015 - dimstar@opensuse.org + +- Add lvm2-do-not-strip-pdata_tools.patch: Change build system to + not strip pdata_tools during installation. We need the file in + tact in order to be able to produce valid debuginfo packages + (boo#910327). + ------------------------------------------------------------------- Mon Dec 22 07:10:10 UTC 2014 - lwang@suse.com diff --git a/lvm2.spec b/lvm2.spec index 6afb5ad..623b78d 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -1,7 +1,7 @@ # # spec file for package lvm2 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -85,6 +85,8 @@ Patch2003: device-mapper-link Patch2004: udev_rules-update.diff #suse, bnc#875233 Patch2005: udev-Check-for-DM_NR_VALID_PATHS.patch +# suse, boo#910327 +Patch2006: lvm2-do-not-strip-pdata_tools.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -145,13 +147,14 @@ Volume Manager. %patch2003 -p1 %patch2004 -p1 %patch2005 -p1 +%patch2006 -p1 %build #set path so that thin_check can be found #export before configure due to bnc#779965 export MODPROBE_CMD=/sbin/modprobe export CFLAGS="$RPM_OPT_FLAGS" -export PATH=$PATH:/sbin:/usr/sbin +export PATH=$PATH:/sbin:/usr/sbin sed -ie "s/%{device_mapper_version}/1.03.01/g" VERSION_DM autoreconf -fvi %configure \