diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | build.macros.in | 9 |
2 files changed, 4 insertions, 6 deletions
@@ -1,3 +1,4 @@ +- build.macros: replace configure2_5x with configure macro - build.macros: drop legacy libtoolize calls from configure macros - build.macros: drop legacy --x-includes= and --x-libraries= from configure macros - build.macros: drop deprecated and unused macros diff --git a/build.macros.in b/build.macros.in index 5d532dd..3256813 100644 --- a/build.macros.in +++ b/build.macros.in @@ -223,7 +223,7 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o %{__fix_dlsearch_path_in_libtool_for_multilib} $CONFIGURE_TOP %{_lib} # This is an improved version of %configure (from PLD team). -%main_configure \ +%configure \ %before_configure ; \ $CONFIGURE_TOP/configure --build=%{_build} \\\ %{?_program_prefix:--program-prefix=%{_program_prefix}} \\\ @@ -241,12 +241,9 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o --mandir=%{_mandir} \\\ --infodir=%{_infodir} -# Implement configure shims -%configure \ - %main_configure - %configure2_5x \ - %main_configure + %{warn:%%configure2_5x is deprecated, use %%configure instead} \ + %configure # Maximum number of CPU's to use when building, 0 for unlimited. %_smp_ncpus_max 0 |