diff --git a/3.33.0.tar.gz b/3.33.0.tar.gz new file mode 100644 index 0000000..02faddf Binary files /dev/null and b/3.33.0.tar.gz differ diff --git a/3.8.1.tar.gz b/3.8.1.tar.gz deleted file mode 100644 index 6687dcb..0000000 Binary files a/3.8.1.tar.gz and /dev/null differ diff --git a/capybara-3.33.0.gem b/capybara-3.33.0.gem new file mode 100644 index 0000000..a708ba8 Binary files /dev/null and b/capybara-3.33.0.gem differ diff --git a/capybara-3.8.1.gem b/capybara-3.8.1.gem deleted file mode 100644 index 07d32e9..0000000 Binary files a/capybara-3.8.1.gem and /dev/null differ diff --git a/rubygem-capybara.spec b/rubygem-capybara.spec index cadc717..39a377e 100644 --- a/rubygem-capybara.spec +++ b/rubygem-capybara.spec @@ -1,16 +1,17 @@ %global gem_name capybara Name: rubygem-%{gem_name} -Version: 3.8.1 +Version: 3.33.0 Release: 1 Summary: Capybara aims to simplify the process of integration testing Rack applications License: MIT URL: https://github.com/teamcapybara/capybara Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -Source1: https://github.com/team%{gem_name}/%{gem_name}/archive/%{version}.tar.gz +Source1: https://github.com/teamcapybara/capybara/archive/refs/tags/%{version}.tar.gz BuildRequires: ruby(release) rubygems-devel ruby rubygem(selenium-webdriver) rubygem(sinatra) BuildRequires: rubygem(rspec) rubygem(launchy) rubygem(minitest) rubygem(puma) BuildRequires: rubygem(nokogiri) rubygem(xpath) rubygem(rack-test) rubygem(mini_mime) BuildRequires: rubygem(cucumber) +BuildRequires: rubygem(regexp_parser) BuildArch: noarch %description Capybara is an integration testing tool for rack based web applications. It @@ -38,6 +39,8 @@ cp -a .%{gem_dir}/* \ %check pushd .%{gem_instdir} ln -s %{_builddir}/%{gem_name}-%{version}/features features +sed -i '/^require..selenium_statistics.$/ s/^/#/' spec/spec_helper.rb +sed -i '/SeleniumStatistics/ s/^/#/g' ./spec/spec_helper.rb sed -i '/end.to raise_error(EOFError)/ s/EOFError/Net::ReadTimeout/' \ spec/server_spec.rb rspec spec @@ -51,6 +54,7 @@ popd %license %{gem_instdir}/License.txt %{gem_libdir} %exclude %{gem_cache} +%exclude %{gem_instdir}/.* %{gem_spec} %files doc @@ -60,5 +64,9 @@ popd %{gem_instdir}/spec %changelog +* Thu Dec 02 2021 houyingchao - 3.33.0-1 +- Upgrade to 3.33.0 version +- fix the compilation failed of rubygem-capybara + * Wed Aug 19 2020 fanjiachen - 3.8.1-1 - package init