Projects
Eulaceura:Factory
rubygem-rspec-rails
_service:obs_scm:rubygem-rspec-rails.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-rspec-rails.spec of Package rubygem-rspec-rails
%global gem_name rspec-rails %{?_with_bootstrap: %global bootstrap 1} %global bootstrap 1 Name: rubygem-%{gem_name} Version: 6.0.3 Release: 1 Summary: RSpec for Rails License: MIT URL: https://github.com/rspec/rspec-rails Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: https://github.com/rspec/%{gem_name}/archive/v%{version}.tar.gz BuildRequires: ruby(release) rubygems-devel ruby %if ! 0%{?bootstrap} BuildRequires: rubygem(actionmailer) rubygem(activerecord) rubygem(ammeter) rubygem(bundler) BuildRequires: rubygem(railties) rubygem(rspec) rubygem(sqlite3) %endif BuildArch: noarch %description rspec-rails is a testing framework for Rails 3+. %package help Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch Provides: %{name}-doc = %{version}-%{release} Obsoletes: %{name}-doc < %{version}-%{release} %description help Documentation for %{name}. %prep %setup -q -c -T ln -s {gem_name}-{version}/spec spec %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %if ! 0%{?bootstrap} %check pushd .%{gem_instdir} tar xzvf %{SOURCE1} echo "gem 'rspec', :require => false" > Gemfile sed -i '/uninitialized constant RSpec::Support/ s/::Support .*\\)//' spec/sanity_check_spec.rb sed -i 's/`git ls-files -z`/""/' spec/rspec/rails_spec.rb rspec -rspec_helper -rbundler spec popd %endif %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.md %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files help %doc %{gem_docdir} %doc %{gem_instdir}/Capybara.md %doc %{gem_instdir}/Changelog.md %doc %{gem_instdir}/README.md %changelog * Wed Nov 15 2023 wangkai <13474090681@163.com> - 6.0.3-1 - Update to 6.0.3 * Thu Jul 28 2022 hkgy <kaguyahatu@outlook.com> - 5.1.2-1 - Upgrade to version 5.1.2 * Wed Jun 29 2022 liyanan <liyanan32@h-partners.com> - 5.1.1-1 - Upgrade to version 5.1.1 * Wed Aug 19 2020 xiezheng <xiezheng4@huawei.com> - 3.8.1-1 - package init
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
.
浙ICP备2022010568号-2