Projects
home:vanmeeuwen:lesb
rubygem-minitest
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
rubygem-minitest.spec
Changed
@@ -1,23 +1,21 @@ # Generated from minitest-1.4.2.gem by gem2rpm -*- rpm-spec -*- -%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) -%global gemname minitest -%global geminstdir %{gemdir}/gems/%{gemname}-%{version} +%global gem_name minitest +%global gemname %{gem_name} + +%global gemdir %{gem_dir} +%global geminstdir %{gem_instdir} -%global rubyabi 1.8 Summary: Small and fast replacement for ruby's huge and slow test/unit Name: rubygem-%{gemname} -Version: 1.6.0 -Release: 3%{?dist} +Version: 4.7.0 +Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://rubyforge.org/projects/bfts Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: ruby(rubygems) -Requires: ruby(abi) = %{rubyabi} -BuildRequires: ruby(rubygems) -BuildRequires: ruby(abi) = %{rubyabi} +BuildRequires: rubygems-devel BuildArch: noarch Provides: rubygem(%{gemname}) = %{version} @@ -44,13 +42,9 @@ %setup -q -c -T mkdir -p .%{gemdir} -gem install -V \ - --local \ - --install-dir $(pwd)/%{gemdir} \ - --force --rdoc \ - %{SOURCE0} +%gem_install -n %{SOURCE0} -pushd .%{geminstdir} +find . -name \*gem -exec chmod 0644 {} \; %build @@ -65,12 +59,22 @@ find %{buildroot}%{geminstdir} -type f | \ xargs chmod 0644 +rm -f %{buildroot}%{geminstdir}/{.autotest,.gemtest} + %clean rm -rf %{buildroot} %check pushd .%{geminstdir} -RUBYOPT=Ilib ruby -e "Dir.glob('test/**/test_*').each {|t| require t}" + +# spec test suite is unstable. +# https://github.com/seattlerb/minitest/issues/257 +mv test/minitest/test_minitest_spec.rb{,.ignore} + +for f in test/minitest/test_*.rb +do + ruby -Ilib:.:./test $f +done %files %defattr(-,root,root,-) @@ -86,11 +90,29 @@ %defattr(-,root,root,-) %{geminstdir}/Rakefile %{geminstdir}/test -%{geminstdir}/.autotest %{geminstdir}/design_rationale.rb %{gemdir}/doc/%{gemname}-%{version} %changelog +* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Mar 27 2013 Josef Stribny <jstribny@redhat.com> - 4.7.0-1 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 +- Update to minitest 4.7.0. + +* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Jan 21 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.10.1-1 +- 2.10.1 + +* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Fri Jun 10 2011 Vít Ondruch <vondruch@redhat.com> - 1.6.0-3 - Removed Rake circular dependency.
View file
minitest-4.7.0.gem
Added
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.