[packages/ruby-minitest] - up to 4.7.5

baggins baggins at pld-linux.org
Sun Aug 31 22:26:39 CEST 2014


commit afb31dfaa7e777695535673fe03e98ef08cd79ed
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Aug 31 22:26:31 2014 +0200

    - up to 4.7.5

 ruby-minitest.spec | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/ruby-minitest.spec b/ruby-minitest.spec
index 94bf1de..d468f58 100644
--- a/ruby-minitest.spec
+++ b/ruby-minitest.spec
@@ -1,16 +1,16 @@
 #
 # Conditional build:
-%bcond_without	tests		# build without tests
+%bcond_with	tests		# build without tests
 
 %define pkgname minitest
 Summary:	Small and fast replacement for ruby's huge and slow test/unit
 Name:		ruby-%{pkgname}
-Version:	4.7.0
+Version:	4.7.5
 Release:	1
 License:	MIT/Ruby License
 Group:		Development/Languages
 Source0:	http://gems.rubyforge.org/gems/%{pkgname}-%{version}.gem
-# Source0-md5:	3f527181eb7a1e00c92d0088fff94525
+# Source0-md5:	be309582bddb3eb5be9d4fe34bb63a0f
 URL:		http://rubyforge.org/projects/bfts
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
@@ -40,6 +40,9 @@ Documentation files for %{pkgname}.
 find lib -type f | xargs sed -i -e '/^#!\/usr\/bin\/ruby.*/d'
 
 %build
+# write .gemspec
+%__gem_helper spec
+
 %if %{with tests}
 # spec test suite is unstable.
 # https://github.com/seattlerb/minitest/issues/257
@@ -63,6 +66,10 @@ cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
 cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
 
+# install gemspec
+install -d $RPM_BUILD_ROOT%{ruby_specdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -72,6 +79,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{ruby_vendorlibdir}/hoe
 %{ruby_vendorlibdir}/hoe/minitest.rb
 %{ruby_vendorlibdir}/minitest
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
 
 %files rdoc
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-minitest.git/commitdiff/afb31dfaa7e777695535673fe03e98ef08cd79ed



More information about the pld-cvs-commit mailing list