- Change configure macro to use _configure to allow override (bug #489942)
This commit is contained in:
parent
bf522f7483
commit
d185d4c6cf
16
redhat-rpm-config-9.0.3-configure.patch
Normal file
16
redhat-rpm-config-9.0.3-configure.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- redhat-rpm-config-9.0.3/macros.configure 2008-05-06 17:08:20.000000000 -0600
|
||||||
|
+++ redhat-rpm-config-9.0.3/macros 2009-11-23 16:08:26.823551835 -0700
|
||||||
|
@@ -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} \\\
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 9.0.3
|
Version: 9.0.3
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
@ -16,6 +16,7 @@ Patch6: redhat-rpm-config-9.0.3-xz-payload.patch
|
|||||||
Patch7: redhat-rpm-config-9.0.3-jars-with-spaces.patch
|
Patch7: redhat-rpm-config-9.0.3-jars-with-spaces.patch
|
||||||
Patch8: redhat-rpm-config-9.0.3-brpssa-speedup.patch
|
Patch8: redhat-rpm-config-9.0.3-brpssa-speedup.patch
|
||||||
Patch9: redhat-rpm-config-9.0.3-filtering-macros.patch
|
Patch9: redhat-rpm-config-9.0.3-filtering-macros.patch
|
||||||
|
Patch10: redhat-rpm-config-9.0.3-configure.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: mktemp
|
Requires: mktemp
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
@ -35,6 +36,7 @@ Red Hat specific rpm configuration files.
|
|||||||
%patch7 -p5
|
%patch7 -p5
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -50,6 +52,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_prefix}/lib/rpm/redhat
|
%{_prefix}/lib/rpm/redhat
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 23 2009 Orion Poplawski <orion@cora.nwra.com> - 9.0.3-19
|
||||||
|
- Change configure macro to use _configure to allow override (bug #489942)
|
||||||
|
|
||||||
* Mon Sep 28 2009 Bill Nottingham <notting@redhat.com>
|
* Mon Sep 28 2009 Bill Nottingham <notting@redhat.com>
|
||||||
- Drop xz compression level to 2
|
- Drop xz compression level to 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user