[packages/libcfg+] - clean docdir first

arekm arekm at pld-linux.org
Sat Feb 16 22:27:21 CET 2013


commit 4f92a611e37b707b145990f29de716430fc84e97
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 16 22:27:18 2013 +0100

    - clean docdir first

 libcfg+.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/libcfg+.spec b/libcfg+.spec
index 64d8250..dc2b177 100644
--- a/libcfg+.spec
+++ b/libcfg+.spec
@@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# clean docdir
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcfg+.git/commitdiff/4f92a611e37b707b145990f29de716430fc84e97



More information about the pld-cvs-commit mailing list