[xfce4-battery-plugin] Use macros consistently

Christoph Wickert cwickert at fedoraproject.org
Sat Jun 30 22:51:38 UTC 2012


commit 3b508b91dee2a5642d31a335b63c691c5fa66cdc
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Jul 1 00:51:28 2012 +0200

    Use macros consistently

 xfce4-battery-plugin.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xfce4-battery-plugin.spec b/xfce4-battery-plugin.spec
index aaca95a..ace70ea 100644
--- a/xfce4-battery-plugin.spec
+++ b/xfce4-battery-plugin.spec
@@ -43,7 +43,7 @@ rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} INSTALL='install -p'
 
 # remove la file
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
 # make sure debuginfo is generated properly
 chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so


More information about the scm-commits mailing list