Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
rubygem-activesupport-42
rubygem-activesupport-42.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-activesupport-42.spec of Package rubygem-activesupport-42
%global gem_name activesupport Summary: Support and utility classes used by the Rails framework Name: rubygem-%{gem_name}-42 Epoch: 1 Version: 4.2.6 Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org Source0: http://rubygems.org/downloads/activesupport-%{version}.gem # Also the activesupport gem doesn't ship with the test suite like the other # Rails rpms, you may check it out like so # git clone http://github.com/rails/rails.git # cd rails/activesupport/ # git checkout v4.2.6 # tar czvf activesupport-4.2.6-tests.tgz test/ Source2: activesupport-%{version}-tests.tgz # Removes code which breaks the test suite due to a # dependency on a file in the greater rails proj Patch1: activesupport-tests-fix.patch # Allow the test suite to be run out of Rails git repo layout # See https://github.com/rails/rails/pull/19625 Patch2: activesupport-4.2.1-run-out-of-rails-git.patch # ruby package has just soft dependency on rubygem(bigdecimal), while # ActiveSupport always requires it. Requires: rubygem(bigdecimal) # Let's keep Requires and BuildRequires sorted alphabeticaly BuildRequires: rubygems-devel BuildRequires: rubygem(bigdecimal) BuildRequires: rubygem(builder) BuildRequires: rubygem(dalli) BuildRequires: rubygem(i18n) >= 0.6.9 BuildRequires: rubygem(i18n) < 1.0 BuildRequires: rubygem(minitest) >= 5.0.0 BuildRequires: rubygem(mocha) BuildRequires: rubygem(rack) BuildRequires: rubygem(thread_safe) BuildRequires: rubygem(tzinfo) >= 1.1 BuildRequires: rubygem(tzinfo) < 2.0 BuildArch: noarch %description Utility library which carries commonly used classes and goodies from the Rails framework %prep %setup -q -c -T %gem_install -n %{SOURCE0} # move the tests into place tar xzvf %{SOURCE2} -C .%{gem_instdir} pushd .%{gem_instdir} %patch1 -p0 %patch2 -p2 popd %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} %check pushd %{buildroot}%{gem_instdir} # 1 failure, 5 errors # Rails tests still require Minitest 5.3.3 ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}" | grep '1 failures, 5 errors' popd %files %dir %{gem_instdir} %doc %{gem_instdir}/CHANGELOG.md %{gem_libdir} %doc %{gem_instdir}/MIT-LICENSE %doc %{gem_instdir}/README.rdoc %doc %{gem_docdir} %{gem_cache} %{gem_spec} %{gem_instdir}/test
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor