[packages/ruby] remove html docs that nobody nothered to package

glen glen at pld-linux.org
Thu Mar 21 15:38:26 CET 2013


commit 698147c7c6f12be46d2f1aef530268613b4d3741
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 21 16:38:11 2013 +0200

    remove html docs that nobody nothered to package

 ruby.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/ruby.spec b/ruby.spec
index 6793051..187245d 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -291,6 +291,8 @@ cp -Rf sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1
 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}/html
+
 %if %{without batteries}
 # packaged separately
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/%{ruby_ver}/{rubygems,rake,json,tasks}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/698147c7c6f12be46d2f1aef530268613b4d3741



More information about the pld-cvs-commit mailing list