[mate-menus/f20] use modern 'make install' macro

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sat Jul 26 12:47:57 UTC 2014


commit 68647fd0edc190407d09a4b747bdc674089d0d7a
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Jul 26 14:47:46 2014 +0200

    use modern 'make install' macro

 mate-menus.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mate-menus.spec b/mate-menus.spec
index bc80a1e..79f42d3 100644
--- a/mate-menus.spec
+++ b/mate-menus.spec
@@ -68,10 +68,13 @@ make %{?_smp_mflags} V=1
 
 
 %install
-make install DESTDIR=%{buildroot}
+%{make_install}
+
 install -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/menus
+
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 find %{buildroot} -name '*.a' -exec rm -f {} ';'
+
 %find_lang %{name}
 
 %post libs -p /sbin/ldconfig
@@ -103,6 +106,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
 %changelog
 * Sat Jul 26 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.8.0-3
 - update to 1.8.0 release
+- use modern 'make install' macro
 
 * Sun Jun 22 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.0-7
 - final fix for games-menu


More information about the scm-commits mailing list