Accepting request 898804 from home:wfrisch:branches:Base:System

Link as position-independent executable (bsc#1184124).

OBS-URL: https://build.opensuse.org/request/show/898804
OBS-URL: https://build.opensuse.org/package/show/Base:System/thin-provisioning-tools?expand=0&rev=50
This commit is contained in:
Martin Pluskal 2021-06-15 15:20:04 +00:00 committed by Git OBS Bridge
parent 127925fe45
commit 82275f1b40
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 9 13:29:05 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
- Link as position-independent executable (bsc#1184124).
-------------------------------------------------------------------
Thu Aug 20 08:19:34 UTC 2020 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package thin-provisioning-tools
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -35,7 +35,7 @@ BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: suse-module-tools
Requires(post): coreutils
Requires(postun): coreutils
Requires(postun):coreutils
Conflicts: device-mapper < 1.02.115
%description
@ -45,6 +45,8 @@ A suite of tools for thin provisioning on Linux.
%autosetup
%build
export CXXFLAGS="${CXXFLAGS} -fPIC"
export LDFLAGS="-pie"
autoreconf -fiv
%configure \
--bindir=%{_sbindir} \