[elfutils] Update the %configure command for compatibility with fc20 Koji.

Jan Kratochvil jankratochvil at fedoraproject.org
Thu Jul 25 12:53:05 UTC 2013


commit f59c256744f0e50d5f115657b6fdb5579ace7e5c
Author: Jan Kratochvil <jan.kratochvil at redhat.com>
Date:   Thu Jul 25 14:52:53 2013 +0200

    Update the %configure command for compatibility with fc20 Koji.

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


More information about the scm-commits mailing list