Projects
Eulaceura:Factory
rubygem-fakefs
_service:obs_scm:rubygem-fakefs.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-fakefs.spec of Package rubygem-fakefs
%global gem_name fakefs Name: rubygem-%{gem_name} Version: 2.5.0 Release: 1 Summary: A fake filesystem. Use it in your tests License: MIT URL: https://github.com/fakefs/fakefs Source0: https://rubygems.org/gems/fakefs-%{version}.gem # git clone https://github.com/fakefs/fakefs.git && cd fakefs/ # git archive -v -o fakefs-2.5.0-tests.tar.gz v2.5.0 spec/ test/ Source1: fakefs-%{version}-tests.tar.gz BuildRequires: ruby(release) rubygems-devel ruby rubygem(rspec) rubygem(minitest) BuildRequires: rubygem(pry) ruby(irb) # https://github.com/fakefs/fakefs/pull/488 Requires: ruby(irb) BuildArch: noarch %description A fake filesystem. Use it in your tests. %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 gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} ln -s %{_builddir}/{spec,test} . rspec spec sed -i '/bundler/ s/^/#/' test/test_helper.rb sed -i '/maxitest\/autorun/ s/^/#/' test/test_helper.rb LC_ALL=C.UTF-8 ruby -Ilib -rminitest/autorun -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Tue Nov 14 2023 yaoxin <yao_xin001@hoperun.com> - 2.5.0-1 - Upgrade to 2.5.0 * Tue Aug 01 2023 chenchen <chen_aka_jan@163.com> - 1.2.2-2 - fix build error for ruby upgrade to 3.2.2 * Thu Feb 10 2022 zhangtao <zhangtao221@huawei.com> - 1.2.2-1 - package update to 1.2.2 * Thu Jul 30 2020 maminjie <maminjie1@huawei.com> - 0.13.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