aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-06-29 06:22:26 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-06-29 06:22:26 -0400
commit6423700bae8a751c11864222717f05081065609b (patch)
tree33b4241d20f0cd67614542f804670061ec6fb2f7
parent718bfef0680da06fdf8167dcc020ac8e20449696 (diff)
downloadrpm-setup-6423700bae8a751c11864222717f05081065609b.tar
rpm-setup-6423700bae8a751c11864222717f05081065609b.tar.gz
rpm-setup-6423700bae8a751c11864222717f05081065609b.tar.bz2
rpm-setup-6423700bae8a751c11864222717f05081065609b.tar.xz
rpm-setup-6423700bae8a751c11864222717f05081065609b.zip
deprecate %makeinstall_std
advertize upstream %make_install instead
-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