[packages/ruby-rspec-support] - longer description, completed doc packaging

qboosh qboosh at pld-linux.org
Wed Jun 13 17:42:10 CEST 2018


commit 1b3fc4079f81e4d1264579a2b464671ba0498b01
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 13 17:43:20 2018 +0200

    - longer description, completed doc packaging

 ruby-rspec-support.spec | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/ruby-rspec-support.spec b/ruby-rspec-support.spec
index 9e95d2c..1299fed 100644
--- a/ruby-rspec-support.spec
+++ b/ruby-rspec-support.spec
@@ -3,7 +3,8 @@
 %bcond_without	doc		# don't build ri/rdoc
 
 %define pkgname rspec-support
-Summary:	Support utilities for RSpec gems
+Summary:	Support utilities for RSpec modules
+Summary(pl.UTF-8):	Narzędzia wspierające dla modułów RSpec
 Name:		ruby-%{pkgname}
 Version:	3.7.1
 Release:	1
@@ -19,7 +20,12 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Support utilities for RSpec gems.
+RSpec::Support provides common functionality to RSpec::Core,
+RSpec::Expectations and RSpec::Mocks.
+
+%description -l pl.UTF-8
+RSpec::Support udostępnia funkcjonalność wspólną dla RSpec::Core,
+RSpec::Expectation i RSpec::Mocks.
 
 %package rdoc
 Summary:	HTML documentation for Ruby %{pkgname} module
@@ -61,11 +67,14 @@ end'
 
 #'
 
+%if %{with doc}
 rdoc --ri --op ri lib
 rdoc --op rdoc lib
-# rm -r ri/NOT_THIS_MODULE_RELATED_DIRS
-rm ri/created.rid
-rm ri/cache.ri
+%{__rm} ri/File/cdesc-File.ri
+%{__rm} ri/Object/cdesc-Object.ri
+%{__rm} ri/created.rid
+%{__rm} ri/cache.ri
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -98,6 +107,12 @@ rm -rf $RPM_BUILD_ROOT
 %files ri
 %defattr(644,root,root,755)
 %dir %{ruby_ridir}/RSpec
+%{ruby_ridir}/Object/command_from-i.ri
+%{ruby_ridir}/Object/expected_encoding%3f-i.ri
+%{ruby_ridir}/Object/have_successful_no_warnings_output-i.ri
+%{ruby_ridir}/Object/load_all_files-i.ri
+%{ruby_ridir}/RSpec/CallerFilter
 %{ruby_ridir}/RSpec/Support
+%{ruby_ridir}/RSpec/cdesc-RSpec.ri
 %{ruby_ridir}/RSpecHelpers
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rspec-support.git/commitdiff/1b3fc4079f81e4d1264579a2b464671ba0498b01



More information about the pld-cvs-commit mailing list