From 41e86abfd85387bfd187a88e8e49aba0d18c3a7e Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 16 Mar 2016 18:01:52 -0400 Subject: Remove redundant %_make_bin & mark %make as deprecated --- build.macros.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index 612a238..7b0ed1b 100644 --- a/build.macros.in +++ b/build.macros.in @@ -205,8 +205,10 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o if [ -n "$ncpus_max" ] && [ "$ncpus_max" -gt 0 ] && [ "$RPM_BUILD_NCPUS" -gt "$ncpus_max" ]; then RPM_BUILD_NCPUS="$ncpus_max"; fi; \\\ [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS") -%_make_bin make -%make %{_make_bin} -O %_smp_mflags + +%make \ + echo "warning: %%make is deprecated, try %%make_build instead" 1>&2\ + %{__make} -O %_smp_mflags %makeinstall_std \ echo "warning: %%makeinstall_std is deprecated, try %%make_install instead" 1>&2\ -- cgit v1.2.1