[packages/mtools] - fix files cleaning

qboosh qboosh at pld-linux.org
Tue Nov 6 21:57:43 CET 2018


commit 74a7c12259fc2068dd63753fe5766b51cf865359
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 6 22:01:40 2018 +0100

    - fix files cleaning

 mtools.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mtools.spec b/mtools.spec
index 9d03748..906cbae 100644
--- a/mtools.spec
+++ b/mtools.spec
@@ -118,7 +118,7 @@ install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
 
 tar -xjf %{SOURCE2} -C $RPM_BUILD_ROOT%{_mandir}
-rm -f $RPM_BUILD_ROOT%{_mandir}/README.mtools-non-english-man-pages.gz
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.mtools-non-english-man-pages
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mtools.git/commitdiff/74a7c12259fc2068dd63753fe5766b51cf865359



More information about the pld-cvs-commit mailing list