[packages/mongodb] not everything from includedir is duplicated

jajcus jajcus at pld-linux.org
Tue Oct 9 13:40:37 CEST 2012


commit 46ee035d2cf96b64d3055755cb56a5313af7e5d6
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Oct 9 13:35:37 2012 +0200

    not everything from includedir is duplicated

 mongodb.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mongodb.spec b/mongodb.spec
index 1ad540b..ce517ee 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -180,7 +180,7 @@ touch $RPM_BUILD_ROOT%{_var}/log/mongo/mongod.log
 
 # for some reason these are installed twice, remove unwanted copies
 for f in $RPM_BUILD_ROOT%{_includedir}/mongo/* ; do
-	rm -r "$RPM_BUILD_ROOT%{_includedir}/$(basename $f)"
+	rm -r "$RPM_BUILD_ROOT%{_includedir}/$(basename $f)" || :
 done
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mongodb.git/commitdiff/46ee035d2cf96b64d3055755cb56a5313af7e5d6



More information about the pld-cvs-commit mailing list