[mate-menus] use modern "make install" macro

Wolfgang Ulbrich raveit65 at fedoraproject.org
Tue Jan 21 17:52:26 UTC 2014


commit d7a85ca4de7192b31b2fb5d80b3bdd3d9bf48919
Author: raveit65 <chat-to-me at raveit.de>
Date:   Tue Jan 21 18:52:42 2014 +0100

    use modern "make install" macro

 mate-menus.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mate-menus.spec b/mate-menus.spec
index 4eefd19..df6986c 100644
--- a/mate-menus.spec
+++ b/mate-menus.spec
@@ -63,17 +63,20 @@ 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 {} ';'
 chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/matemenu.so
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome --all-name
 
 %post libs -p /sbin/ldconfig
+
 %postun libs -p /sbin/ldconfig
 
+
 %files -f %{name}.lang
 %doc AUTHORS COPYING README
 %config %{_sysconfdir}/xdg/menus/mate-applications.menu
@@ -101,6 +104,8 @@ chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/matemenu.so
 * Mon Jan 20 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> 1.7.1-1
 - update to 1.7.1 release
 - add missing changelog entry from previous build
+- add --with-gnome --all-name for find language
+- use modern 'make install' macro
 
 * Fri Dec 06 2013 Dan Mashal <dan.mashal at fedoraproject.org> - 1.7.0-1
 - update to 1.7.0 release


More information about the scm-commits mailing list