Compare commits
No commits in common. "992cd8b8db391904f3db8fcb6241f605105c33d5" and "12f05a61221794d81f4f767e7033920e61da4793" have entirely different histories.
992cd8b8db
...
12f05a6122
BIN
3.8.1.tar.gz
Normal file
BIN
3.8.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
capybara-3.8.1.gem
Normal file
BIN
capybara-3.8.1.gem
Normal file
Binary file not shown.
@ -1,19 +1,16 @@
|
||||
%global gem_name capybara
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 3.39.2
|
||||
Version: 3.8.1
|
||||
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
|
||||
# git clone https://github.com/teamcapybara/capybara.git --no-checkout
|
||||
# cd capybara && git archive -v -o capybara-3.39.2-tests.txz 3.39.2 features/
|
||||
Source1: %{gem_name}-%{version}-tests.txz
|
||||
Source1: https://github.com/team%{gem_name}/%{gem_name}/archive/%{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) rubygem(regexp_parser) rubygem(matrix)
|
||||
BuildRequires: rubygem(nokogiri)
|
||||
BuildRequires: rubygem(cucumber)
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Capybara is an integration testing tool for rack based web applications. It
|
||||
@ -40,11 +37,7 @@ cp -a .%{gem_dir}/* \
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
ln -s %{_builddir}/features features
|
||||
|
||||
sed -i '/^require..selenium_statistics.$/ s/^/#/' spec/spec_helper.rb
|
||||
sed -i '/SeleniumStatistics/ s/^/#/g' ./spec/spec_helper.rb
|
||||
|
||||
ln -s %{_builddir}/%{gem_name}-%{version}/features features
|
||||
sed -i '/end.to raise_error(EOFError)/ s/EOFError/Net::ReadTimeout/' \
|
||||
spec/server_spec.rb
|
||||
rspec spec
|
||||
@ -58,7 +51,6 @@ popd
|
||||
%license %{gem_instdir}/License.txt
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%exclude %{gem_instdir}/.*
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
@ -68,21 +60,5 @@ popd
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Thu Nov 16 2023 liyanan <liyanan32@h-partners.com> - 3.39.2-1
|
||||
- Update to 3.39.2
|
||||
|
||||
* Wed Aug 02 2023 Ge Wang <wang__ge@126.com> - 3.38.0-1
|
||||
- update to version 3.38.0
|
||||
|
||||
* Thu Jan 5 2023 liyanan <liyanan32@h-partners.com> - 3.34.0-2
|
||||
- fix build error with ruby 3.1
|
||||
|
||||
* Tue Mar 29 2022 liyanan <liyanan32@huawei.com> - 3.34.0-1
|
||||
- update to 3.34.0
|
||||
|
||||
* Thu Dec 02 2021 houyingchao <houyingchao@huawei.com> - 3.33.0-1
|
||||
- Upgrade to 3.33.0 version
|
||||
- fix the compilation failed of rubygem-capybara
|
||||
|
||||
* Wed Aug 19 2020 fanjiachen <fanjiachen3@huawei.com> - 3.8.1-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user