Projects
Eulaceura:Mainline
rubygem-webmock
_service:obs_scm:rubygem-webmock.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-webmock.spec of Package rubygem-webmock
%bcond_with bootstrap %global gem_name webmock Name: rubygem-%{gem_name} Version: 3.23.1 Release: 1 Summary: Library for stubbing HTTP requests in Ruby License: MIT URL: http://github.com/bblimke/webmock Source0: https://rubygems.org/gems/webmock-%{version}.gem BuildRequires: ruby(release) rubygems-devel ruby rubygem(addressable) rubygem(crack) BuildRequires: rubygem(curb) rubygem(excon) rubygem(hashdiff) rubygem(httpclient) BuildRequires: rubygem(minitest) rubygem(rack) rubygem(rspec) rubygem(test-unit) BuildRequires: rubygem(typhoeus) BuildArch: noarch %description WebMock allows stubbing HTTP requests and setting expectations on HTTP requests. %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 -n %{gem_name}-%{version} %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %if %{with bootstrap} %check pushd .%{gem_instdir} ruby -e 'Dir.glob "./minitest/**/*.rb", &method(:require)' ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' sed -i '/patron/ s/^/#/' spec/spec_helper.rb rspec spec --exclude-pattern 'spec/{quality_spec.rb,acceptance/{async_http_client,patron,http_rb}/*}' popd %endif %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files help %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %changelog * Fri Jun 07 2024 yaoxin <yao_xin001@hoperun.com> - 3.23.1-1 - Update to 3.23.1 - Added support for async-http version >= 0.65.0 * Tue Nov 14 2023 liyanan <liyanan61@h-partners.com> - 3.18.1-1 - Update to 3.18.1 * Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 3.5.1-2 - fix build fail * Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 3.5.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