[mate-panel] fix usage of %%{buildroot} or and improve macro

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sat Dec 21 13:21:52 UTC 2013


commit 5d7b48602c95d3bf929ec403a2693cb607fcebbd
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Dec 21 14:21:38 2013 +0100

    fix usage of %%{buildroot} or  and improve macro

 mate-panel.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mate-panel.spec b/mate-panel.spec
index 73f1ae3..411b98f 100644
--- a/mate-panel.spec
+++ b/mate-panel.spec
@@ -100,7 +100,7 @@ desktop-file-install \
         --dir=%{buildroot}%{_datadir}/applications \
 %{buildroot}%{_datadir}/applications/mate-panel.desktop
 
-install -D -m 0644 %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/mate-panel/panel-default-layout.dist
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/mate-panel/panel-default-layout.dist
 
 # remove needless gsettings convert file to avoid slow session start
 rm -f  %{buildroot}%{_datadir}/MateConf/gsettings/mate-panel.convert
@@ -164,6 +164,8 @@ update-desktop-database &> /dev/null || :
 - use requires caja-schemas
 - use isa tag for -libs subpackage
 - use modern 'make install' macro
+- fix usage of %%{buildroot} or $RPM_BUILD_ROOT
+- use better macro for SOURCE1
 
 * Thu Dec 12 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.7.1-0.1.gitbeb21bb
 - update to latest git snapshot


More information about the scm-commits mailing list