Projects
home:vanmeeuwen:lesb
rubygem-minitest
rubygem-minitest.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-minitest.spec of Package rubygem-minitest
# Generated from minitest-1.4.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name minitest %{!?gem_dir: %global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)} %{!?gem_cache: %global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem} %{!?gem_docdir: %global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}} %{!?gem_extdir_mri: %global gem_extdir_mri %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")} %{!?gem_instdir: %global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}} %{!?gem_libdir: %global gem_libdir %{gem_instdir}/lib} %{!?gem_spec: %global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec} Summary: Small and fast replacement for ruby's huge and slow test/unit Name: rubygem-%{gem_name} Version: 4.7.0 Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://rubyforge.org/projects/bfts Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem Requires: ruby(rubygems) BuildRequires: rubygems-devel BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description minitest/unit is a small and fast replacement for ruby's huge and slow test/unit. This is meant to be clean and easy to use both as a regular test writer and for language implementors that need a minimal set of methods to bootstrap a working unit test suite. miniunit/spec is a functionally complete spec engine. miniunit/mock, by Steven Baker, is a beautifully tiny mock object framework. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} %description doc This package contains documentation for %{name}. %prep %setup -q -c -T mkdir -p .%{gem_dir} CONFIGURE_ARGS="--with-cflags='%{optflags}' $CONFIGURE_ARGS" \ gem install \ -V \ --local \ --install-dir .%{gem_dir} \ --bindir .%{_bindir} \ --force \ --rdoc \ --no-ri \ --backtrace \ %{SOURCE0} find . -name \*gem -exec chmod 0644 {} \; %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ find %{buildroot}%{gem_instdir}/lib -type f | \ xargs -n 1 sed -i -e '/^#!\/usr\/bin\/ruby.*/d' # Ships with extremely tight permissions, bring them inline with other gems find %{buildroot}%{gem_instdir} -type f | \ xargs chmod 0644 rm -f %{buildroot}%{gem_instdir}/{.autotest,.gemtest} %clean rm -rf %{buildroot} %check pushd .%{gem_instdir} # 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,-) %doc %{gem_instdir}/History.txt %doc %{gem_instdir}/Manifest.txt %doc %{gem_instdir}/README.txt %dir %{gem_instdir} %{gem_libdir} %{gem_cache} %{gem_spec} %files doc %defattr(-,root,root,-) %{gem_instdir}/Rakefile %{gem_instdir}/test %{gem_instdir}/design_rationale.rb %{gem_docdir} %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. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue May 4 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.6.0-1 - Update to 1.6.0 (#586505) - Patch0 removed * Sat Nov 21 2009 Matthew Kent <mkent@magoazul.com> - 1.4.2-3 - Drop Requires on hoe, only used by Rakefile (#538303). - Move Rakefile to -doc (#538303). * Sat Nov 21 2009 Matthew Kent <mkent@magoazul.com> - 1.4.2-2 - Better Source (#538303). - More standard permissions on files. * Tue Nov 17 2009 Matthew Kent <mkent@magoazul.com> - 1.4.2-1 - Initial package
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
.