aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--build.macros.in4
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a86da83..9bdecdb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- deprecate %makeinstall_std and advertize upstream %make_install instead
+
Version 2.10 - 28 June 2015, by Thierry Vignaud
- stop emitting perlapi-<version> provides
diff --git a/build.macros.in b/build.macros.in
index 7895c6f..534d7ef 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -205,7 +205,9 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o
%_make_bin make
%make %{_make_bin} -O %_smp_mflags
-%makeinstall_std make DESTDIR=%{?buildroot:%{buildroot}} install
+%makeinstall_std \
+ echo "warning: %%makeinstall_std is deprecated, try %%make_install instead" 1>&2\
+ make DESTDIR=%{?buildroot:%{buildroot}} install
%__fix_libtool_ltmain_from_overlinking @RPMVENDORDIR@/fix-libtool-ltmain-from-overlinking
%__fix_libtool_from_moving_options_after_libs @RPMVENDORDIR@/fix-libtool-from-moving-options-after-libs