Dominique Leuenberger 2021-06-18 08:13:25 +00:00 committed by Git OBS Bridge
commit e884b4164c
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> 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 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -35,7 +35,7 @@ BuildRequires: libtool
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: suse-module-tools BuildRequires: suse-module-tools
Requires(post): coreutils Requires(post): coreutils
Requires(postun): coreutils Requires(postun):coreutils
Conflicts: device-mapper < 1.02.115 Conflicts: device-mapper < 1.02.115
%description %description
@ -45,6 +45,8 @@ A suite of tools for thin provisioning on Linux.
%autosetup %autosetup
%build %build
export CXXFLAGS="${CXXFLAGS} -fPIC"
export LDFLAGS="-pie"
autoreconf -fiv autoreconf -fiv
%configure \ %configure \
--bindir=%{_sbindir} \ --bindir=%{_sbindir} \