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