Update the %configure command for compatibility with fc20 Koji.

This commit is contained in:
Jan Kratochvil 2013-07-25 14:52:53 +02:00
parent 20454159c6
commit f59c256744

View File

@ -1,7 +1,7 @@
Name: elfutils Name: elfutils
Summary: A collection of utilities and DSOs to handle compiled objects Summary: A collection of utilities and DSOs to handle compiled objects
Version: 0.156 Version: 0.156
%global baserelease 1 %global baserelease 2
URL: https://fedorahosted.org/elfutils/ URL: https://fedorahosted.org/elfutils/
%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/ %global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
License: GPLv3+ and (GPLv2+ or LGPLv3+) License: GPLv3+ and (GPLv2+ or LGPLv3+)
@ -226,10 +226,9 @@ COMPAT_CONFIG_FLAGS="--disable-werror"
COMPAT_CONFIG_FLAGS="" COMPAT_CONFIG_FLAGS=""
%endif %endif
%configure --enable-dwz $COMPAT_CONFIG_FLAGS CFLAGS="$RPM_OPT_FLAGS -fexceptions" || { trap 'cat config.log' EXIT
cat config.log %configure --enable-dwz $COMPAT_CONFIG_FLAGS CFLAGS="$RPM_OPT_FLAGS -fexceptions"
exit 2 trap '' EXIT
}
make -s %{?_smp_mflags} make -s %{?_smp_mflags}
%install %install
@ -324,6 +323,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.a %{_libdir}/libelf.a
%changelog %changelog
* Thu Jul 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> 0.156-2
- Update the %%configure command for compatibility with fc20 Koji.
* Thu Jul 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> 0.156-1 * Thu Jul 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> 0.156-1
- Update to 0.156. - Update to 0.156.
- #890447 - Add __bss_start and __TMC_END__ to elflint. - #890447 - Add __bss_start and __TMC_END__ to elflint.