Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.10
rubygem-delayed_job_active_record
rubygem-delayed_job_active_record.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-delayed_job_active_record.spec of Package rubygem-delayed_job_active_record
# Generated from delayed_job_active_record-0.3.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name delayed_job_active_record Name: rubygem-%{gem_name} Version: 4.1.6 Release: 1%{?dist} Summary: ActiveRecord back-end for DelayedJob License: MIT URL: http://github.com/collectiveidea/delayed_job_active_record Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/collectiveidea/delayed_job_active_record.git && cd delayed_job_active_record # git archive -v -o delayed_job_active_record-4.1.6-tests.tar.gz v4.1.6 spec/ Source1: delayed_job_active_record-%{version}-tests.tar.gz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(rspec) BuildRequires: rubygem(activerecord) >= 3.0 # The test suite needs sample_jobs from delayed_job # https://github.com/collectiveidea/delayed_job_active_record/issues/18 BuildRequires: rubygem-delayed_job-doc >= 3.0 BuildRequires: rubygem(sqlite3) BuildArch: noarch %description ActiveRecord back-end for Delayed::Job, originally authored by Tobias Luetke. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Move test into the place. ln -s %{_builddir}/spec spec # We do not care about test coverage. sed -i "3,19 s/^/#/" spec/helper.rb rspec spec popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE.md %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/README.md %{gem_instdir}/delayed_job_active_record.gemspec
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