Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
rubygem-arel-6
rubygem-arel-6.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-arel-6.spec of Package rubygem-arel-6
%global gem_name arel Summary: Arel is a Relational Algebra for Ruby Name: rubygem-%{gem_name}-6 Version: 6.0.3 Release: 3%{?dist} Group: Development/Languages License: MIT URL: http://github.com/rails/%{gem_name} Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/rails/arel.git && cd arel # git checkout v6.0.3 && tar czvf arel-6.0.3-tests.tgz ./test/ Source1: arel-%{version}-tests.tgz # ruby package has just soft dependency on rubygem(bigdecimal), while # Arel always requires it. Requires: rubygem(bigdecimal) BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(minitest) BuildRequires: rubygem(bigdecimal) BuildArch: noarch %description Arel is a Relational Algebra for Ruby. It 1) simplifies the generation complex of SQL queries and it 2) adapts to various RDBMS systems. It is intended to be a framework framework; that is, you can build your own ORM with it, focusing on innovative object and collection modeling as opposed to database compatibility and query generation. %package doc Summary: Documentation for %{name} Group: Documentation Requires:%{name} = %{version}-%{release} %description doc Documentation for %{name} %prep %setup -q -c -T %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} tar xf %{SOURCE1} # Fix tests according to later upstream commit 0d7b888066b1f319e085c008aeb6c5f3ca05fd8a sed -i '591s/manager = Arel::SelectManager.new/manager = Arel::SelectManager.new Table.engine/' test/test_select_manager.rb sed -i '606s/manager = Arel::SelectManager.new/manager = Arel::SelectManager.new Table.engine/' test/test_select_manager.rb ruby -Ilib:test -e 'Dir.glob "./test/test_*.rb", &method(:require)' popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %{gem_libdir} %doc %{gem_instdir}/MIT-LICENSE.txt %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_instdir}/History.txt %doc %{gem_instdir}/README.markdown %doc %{gem_docdir}
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