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 - 2.1.4-1%{?dist} - Update to 2.1.4