From 6423700bae8a751c11864222717f05081065609b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 29 Jun 2015 06:22:26 -0400 Subject: deprecate %makeinstall_std advertize upstream %make_install instead --- NEWS | 2 ++ build.macros.in | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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- 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 -- cgit v1.2.1