Drop obsolete hardened workaround
This commit is contained in:
parent
75c5c01d7e
commit
8cb75a717d
|
@ -1,3 +1,5 @@
|
|||
%global _hardened_build 1
|
||||
|
||||
%global glib2_version 2.36
|
||||
%global gobject_introspection_version 1.30.0
|
||||
%global polkit_version 0.102
|
||||
|
@ -94,10 +96,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 +168,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@redhat.com> - 2.1.4-1%{?dist}
|
||||
- Update to 2.1.4
|
||||
|
|
Loading…
Reference in New Issue