diff --git a/3.33.0.tar.gz b/3.33.0.tar.gz deleted file mode 100644 index 02faddf689072cc9fb731e082ce1a6a16276f12e..0000000000000000000000000000000000000000 Binary files a/3.33.0.tar.gz and /dev/null differ diff --git a/capybara-3.33.0.gem b/capybara-3.33.0.gem deleted file mode 100644 index a708ba88e12d09e91b636f92198b0c9075cbaa9e..0000000000000000000000000000000000000000 Binary files a/capybara-3.33.0.gem and /dev/null differ diff --git a/capybara-3.34.0-tests.txz b/capybara-3.34.0-tests.txz new file mode 100644 index 0000000000000000000000000000000000000000..bdb5f8029442f2d2b3c6a3a18eedb7b5dc4d47a6 Binary files /dev/null and b/capybara-3.34.0-tests.txz differ diff --git a/capybara-3.34.0.gem b/capybara-3.34.0.gem new file mode 100644 index 0000000000000000000000000000000000000000..acf1c4d82b1d7598fca6c04aad9602de076f8c28 Binary files /dev/null and b/capybara-3.34.0.gem differ diff --git a/rubygem-capybara.spec b/rubygem-capybara.spec index 39a377efd0e95c909ce07ba54afe32c406f3a111..a36bd5e16750dc1c7cbbdb75531bac84a9192d4f 100644 --- a/rubygem-capybara.spec +++ b/rubygem-capybara.spec @@ -1,17 +1,18 @@ %global gem_name capybara Name: rubygem-%{gem_name} -Version: 3.33.0 +Version: 3.34.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/teamcapybara/capybara/archive/refs/tags/%{version}.tar.gz +# git clone https://github.com/teamcapybara/capybara.git --no-checkout +# cd capybara && git archive -v -o capybara-3.34.0-tests.txz 3.34.0 features/ +Source1: %{gem_name}-%{version}-tests.txz 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) +BuildRequires: rubygem(cucumber) rubygem(regexp_parser) BuildArch: noarch %description Capybara is an integration testing tool for rack based web applications. It @@ -26,6 +27,8 @@ Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 +%gemspec_remove_dep -g regexp_parser ['~>1.5'] +%gemspec_add_dep -g regexp_parser ['>=1.5', '<3.0'] %build gem build ../%{gem_name}-%{version}.gemspec @@ -38,9 +41,11 @@ cp -a .%{gem_dir}/* \ %check pushd .%{gem_instdir} -ln -s %{_builddir}/%{gem_name}-%{version}/features features +ln -s %{_builddir}/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 @@ -64,6 +69,9 @@ popd %{gem_instdir}/spec %changelog +* Tue Mar 29 2022 liyanan - 3.34.0-1 +- update to 3.34.0 + * Thu Dec 02 2021 houyingchao - 3.33.0-1 - Upgrade to 3.33.0 version - fix the compilation failed of rubygem-capybara