From 82275f1b40772235a48b455daf968af83fd0364d8c2a04f8894c55677448da12 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 15 Jun 2021 15:20:04 +0000 Subject: [PATCH] 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 --- thin-provisioning-tools.changes | 5 +++++ thin-provisioning-tools.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/thin-provisioning-tools.changes b/thin-provisioning-tools.changes index cd428a6..ca0090d 100644 --- a/thin-provisioning-tools.changes +++ b/thin-provisioning-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 9 13:29:05 UTC 2021 - Wolfgang Frisch + +- Link as position-independent executable (bsc#1184124). + ------------------------------------------------------------------- Thu Aug 20 08:19:34 UTC 2020 - Martin Pluskal diff --git a/thin-provisioning-tools.spec b/thin-provisioning-tools.spec index 24c1c7c..6be89da 100644 --- a/thin-provisioning-tools.spec +++ b/thin-provisioning-tools.spec @@ -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} \