[udisks2] Drop obsolete hardened workaround

David King amigadave at fedoraproject.org
Fri Mar 6 10:02:49 UTC 2015


commit 0cc582f2e429cb5a61ae263a0e868badfce803f7
Author: David King <amigadave at amigadave.com>
Date:   Fri Mar 6 09:05:31 2015 +0000

    Drop obsolete hardened workaround

 udisks2.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/udisks2.spec b/udisks2.spec
index a61553b..3241b66 100644
--- a/udisks2.spec
+++ b/udisks2.spec
@@ -94,10 +94,6 @@ daemon. This package is for the udisks 2.x series.
 %setup -q -n udisks-%{version}
 
 %build
-# we can't use _hardened_build here, see
-# https://bugzilla.redhat.com/show_bug.cgi?id=892837
-export CFLAGS='-fPIC %optflags'
-export LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro'
 %configure --enable-gtk-doc
 # the following rpath workaround causes build breakage due to wrong library path while performing GIR introspection dump
 # sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -170,6 +166,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_prefix}/lib/udisks2/udisksd
 - Use license macro for COPYING
 - Update man page globs in file section
 - Use pkgconfig for BuildRequires
+- Drop obsolete hardened workaround
 
 * Fri Jan 30 2015 Tomas Bzatek <tbzatek at redhat.com> - 2.1.4-1%{?dist}
 - Update to 2.1.4


More information about the scm-commits mailing list