[redhat-rpm-config: 141/215] Enable overriding the default ./configure path of %configure (#489942) - syncs up with rpm upstream

Panu Matilainen pmatilai at fedoraproject.org
Wed Apr 2 10:30:14 UTC 2014


commit f2e3413ddb57dd005d6dadfd8c9fe4e8cba01a66
Author: Panu Matilainen <pmatilai at redhat.com>
Date:   Fri Jan 22 15:34:07 2010 +0200

    Enable overriding the default ./configure path of %configure (#489942)
    - syncs up with rpm upstream setup
    - FFLAGS has a Fedora-specific override forcing us to carry this %configure
      copy, need to fix rpm to permit more fine-grained overrides...

 macros |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/macros b/macros
index 67fc683..6c7d7ef 100644
--- a/macros
+++ b/macros
@@ -27,11 +27,12 @@
 #==============================================================================
 # ---- configure and makeinstall.
 #
+%_configure ./configure
 %configure \
   CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
   CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
   FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
-  ./configure --build=%{_build} --host=%{_host} \\\
+  %{_configure} --build=%{_build} --host=%{_host} \\\
 	--target=%{_target_platform} \\\
 	--program-prefix=%{?_program_prefix} \\\
 	--prefix=%{_prefix} \\\


More information about the scm-commits mailing list