Accepting request 266196 from home:msmeissn:branches:graphics

- build with PIE

OBS-URL: https://build.opensuse.org/request/show/266196
OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=63
This commit is contained in:
OBS User mrdocs 2014-12-23 15:18:37 +00:00 committed by Git OBS Bridge
parent af0fd61018
commit a52271ed81
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 22 19:58:43 UTC 2014 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Wed Aug 21 12:57:57 UTC 2013 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tiff
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -117,8 +117,9 @@ the libtiff library.
%patch11
%build
CFLAGS="$RPM_OPT_FLAGS -fPIE"
%configure --disable-static --with-pic
make %{?_smp_mflags}
make %{?_smp_mflags} LDFLAGS="-pie"
%install
mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}