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
This commit is contained in:
LiuhuaMelody Wang 2015-01-09 02:25:27 +00:00 committed by Git OBS Bridge
parent 97971092ae
commit ce9cbdb4eb
3 changed files with 26 additions and 2 deletions

View File

@ -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")

View File

@ -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

View File

@ -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 \