From ef1969bb6ac4472fdf8035f5fd44822b512b20ef Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Jan 02 2013 10:01:47 +0000 Subject: Make sure we respect RPM_OPT_FLAGS and simplify configure (#889554) --- diff --git a/exempi.spec b/exempi.spec index 6933560..d959bf4 100644 --- a/exempi.spec +++ b/exempi.spec @@ -1,7 +1,7 @@ Summary: Library for easy parsing of XMP metadata Name: exempi Version: 2.2.0 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: System Environment/Libraries URL: http://libopenraw.freedesktop.org/wiki/Exempi @@ -30,14 +30,14 @@ developing with exempi. %build # BanEntityUsage needed for #888765 -%configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}" \ - CFLAGS="-DBanAllEntityUsage=1" CXXFLAGS="-DBanAllEntityUsage=1" +%configure LDFLAGS="-L%{_libdir}" \ + CPPFLAGS="-I%{_includedir} -fno-strict-aliasing -DBanAllEntityUsage=1" # Disable rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %check make check @@ -63,6 +63,9 @@ rm -rf %{buildroot}%{_libdir}/*.a %{_libdir}/pkgconfig/*.pc %changelog +* Wed Jan 02 2013 Stanislav Ochotnicky - 2.2.0-5 +- Make sure we respect RPM_OPT_FLAGS and simplify configure (#889554) + * Wed Dec 19 2012 Stanislav Ochotnicky - 2.2.0-4 - Add BanAllEntityUsage into macro definitions (#888765)