[packages/grass] - use __mv macro
qboosh
qboosh at pld-linux.org
Sun Apr 3 10:48:49 CEST 2016
commit 329538b434cd865c9871eb2cf15f68d1f3057e79
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 3 10:48:58 2016 +0200
- use __mv macro
grass.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/grass.spec b/grass.spec
index 8fb874a..94ff141 100644
--- a/grass.spec
+++ b/grass.spec
@@ -217,17 +217,17 @@ rm -rf $RPM_BUILD_ROOT
PREFIX=$RPM_BUILD_ROOT%{_libdir}
install -d $RPM_BUILD_ROOT{%{_datadir},%{_includedir}/grass64}
-mv $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/include/* $RPM_BUILD_ROOT%{_includedir}/grass64
-mv $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/lib/* $RPM_BUILD_ROOT%{_libdir}
-mv $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/locale $RPM_BUILD_ROOT%{_datadir}
-mv $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/man $RPM_BUILD_ROOT%{_datadir}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/include/* $RPM_BUILD_ROOT%{_includedir}/grass64
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/lib/* $RPM_BUILD_ROOT%{_libdir}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/locale $RPM_BUILD_ROOT%{_datadir}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/man $RPM_BUILD_ROOT%{_datadir}
sed -i -e 's,^GISBASE=.*,GISBASE=%{_libdir}/grass-%{gver},' $RPM_BUILD_ROOT%{_bindir}/grass64
%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/grass-%{gver}/{bwidget/{*.txt,README.grass},docs}
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_br,pt_BR}
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{zh,zh_CN}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{pt_br,pt_BR}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{zh,zh_CN}
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/AUTHORS
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/CHANGES
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/grass.git/commitdiff/329538b434cd865c9871eb2cf15f68d1f3057e79
More information about the pld-cvs-commit
mailing list