[packages/ruby-simplecov] Up to 0.22.0

arekm arekm at pld-linux.org
Sat Mar 28 00:30:53 CET 2026


commit d30937ffdfd93dbeaedb76f18c89afef3b6823d2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 28 00:30:41 2026 +0100

    Up to 0.22.0

 ruby-simplecov.spec | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/ruby-simplecov.spec b/ruby-simplecov.spec
index f94c514..9480046 100644
--- a/ruby-simplecov.spec
+++ b/ruby-simplecov.spec
@@ -6,11 +6,11 @@
 Summary:	Code coverage for Ruby 1.9+
 Summary(pl.UTF-8):	Pokrycie kodu dla języka Ruby 1.9+
 Name:		ruby-%{pkgname}
-Version:	0.14.1
+Version:	0.22.0
 Release:	1
 License:	MIT
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	dc307ae2de2bd70c9c64ca3fd5ae61a5
+# Source0-md5:	78469a20f4cacca73db3e6b8e6dd496d
 Group:		Development/Languages
 URL:		https://rubygems.org/gems/simplecov
 BuildRequires:	rpm-rubyprov
@@ -19,9 +19,8 @@ BuildRequires:	ruby >= 1:1.8.7
 BuildRequires:	ruby-rdoc
 Requires:	ruby >= 1:1.8.7
 Requires:	ruby-docile >= 1.1.0
-Requires:	ruby-json >= 1.8
-Requires:	ruby-json < 3
-Requires:	ruby-simplecov-html >= 0.10.0
+Requires:	ruby-simplecov-html >= 0.11
+Requires:	ruby-simplecov_json_formatter >= 0.1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,15 +63,11 @@ Dokumentacja w formacie ri dla modułu języka Ruby %{pkgname}.
 # write .gemspec
 %__gem_helper spec
 
-# make gemspec self-contained
-ruby -r rubygems -e 'spec = eval(File.read("%{pkgname}.gemspec"))
-	File.open("%{pkgname}-%{version}.gemspec", "w") do |file|
-	file.puts spec.to_ruby_for_cache
-end'
-
 rdoc --ri --op ri lib
 rdoc --op rdoc lib
-%{__rm} -r ri/created.rid ri/{Coverage,Rails}
+%{__rm} ri/cache.ri
+%{__rm} ri/created.rid
+%{__rm} -r ri/{Process,Minitest}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -92,9 +87,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG.md MIT-LICENSE README.md
+%doc CHANGELOG.md LICENSE README.md
 %{ruby_vendorlibdir}/%{pkgname}.rb
 %{ruby_vendorlibdir}/%{pkgname}
+%{ruby_vendorlibdir}/minitest/simplecov_plugin.rb
 %{ruby_specdir}/%{pkgname}-%{version}.gemspec
 
 %if %{with doc}
@@ -105,5 +101,4 @@ rm -rf $RPM_BUILD_ROOT
 %files ri
 %defattr(644,root,root,755)
 %{ruby_ridir}/SimpleCov
-%{ruby_ridir}/lib/simplecov
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-simplecov.git/commitdiff/d30937ffdfd93dbeaedb76f18c89afef3b6823d2



More information about the pld-cvs-commit mailing list