commit 2ee01ec28ae2c8bbeafda7b02dbd53ef882cf33c
Author: Jan RÄ™korajski <[email protected]>
Date:   Wed Jan 22 20:36:25 2014 +0100

    - cleanup docdir before packaging

 resource-agents.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/resource-agents.spec b/resource-agents.spec
index d1eedb7..224130f 100644
--- a/resource-agents.spec
+++ b/resource-agents.spec
@@ -111,6 +111,8 @@ install %{SOURCE2} 
$RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 # Unset execute permissions from things that shouln't have it
 find $RPM_BUILD_ROOT%{_datadir} -name 'ocf-*'  -type f -print0 | xargs -0 
chmod a-x
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/resource-agents.git/commitdiff/2ee01ec28ae2c8bbeafda7b02dbd53ef882cf33c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to