Created
November 27, 2020 05:22
-
-
Save pvalena/08accb5cd1b51921410559d24fd21e42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- rubygem-capybara/.generated.spec 2020-11-27 06:16:17.884125535 +0100 | |
+++ rubygem-capybara/rubygem-capybara.spec 2020-11-27 06:07:10.204761909 +0100 | |
@@ -1,39 +1,31 @@ | |
-# Generated from capybara-3.34.0.gem by gem2rpm -*- rpm-spec -*- | |
%global gem_name capybara | |
Name: rubygem-%{gem_name} | |
Version: 3.34.0 | |
Release: 1%{?dist} | |
-Summary: Capybara aims to simplify the process of integration testing Rack applications, such as Rails, Sinatra or Merb | |
+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.34.0-tests.txz 3.34.0 features/ | |
+Source1: %{gem_name}-%{version}-tests.txz | |
+ | |
BuildRequires: ruby(release) | |
BuildRequires: rubygems-devel | |
-BuildRequires: ruby >= 2.5.0 | |
-# BuildRequires: rubygem(byebug) | |
-# BuildRequires: rubygem(coveralls) | |
-# BuildRequires: rubygem(cucumber) >= 2.3.0 | |
-# BuildRequires: rubygem(erubi) | |
-# BuildRequires: rubygem(irb) | |
-# BuildRequires: rubygem(launchy) >= 2.0.4 | |
-# BuildRequires: rubygem(minitest) | |
-# BuildRequires: rubygem(puma) | |
-# BuildRequires: rubygem(rspec) >= 3.5.0 | |
-# BuildRequires: rubygem(rspec-instafail) | |
-# BuildRequires: rubygem(rubocop) >= 1.1.0 | |
-# BuildRequires: rubygem(rubocop) < 1.2 | |
-# BuildRequires: rubygem(rubocop-performance) | |
-# BuildRequires: rubygem(rubocop-rspec) >= 2.0.0.pre | |
-# BuildRequires: rubygem(rubocop-rspec) < 2.1 | |
-# BuildRequires: rubygem(sauce_whisk) | |
-# BuildRequires: rubygem(selenium_statistics) | |
-# BuildRequires: rubygem(selenium-webdriver) >= 3.5 | |
-# BuildRequires: rubygem(selenium-webdriver) < 4 | |
-# BuildRequires: rubygem(sinatra) >= 1.4.0 | |
-# BuildRequires: rubygem(uglifier) | |
-# BuildRequires: rubygem(webdrivers) >= 3.6.0 | |
-# BuildRequires: rubygem(yard) >= 0.9.0 | |
+BuildRequires: ruby | |
+BuildRequires: rubygem(selenium-webdriver) | |
+BuildRequires: rubygem(sinatra) | |
+BuildRequires: rubygem(rspec) | |
+BuildRequires: rubygem(launchy) | |
+BuildRequires: rubygem(minitest) | |
+BuildRequires: rubygem(puma) | |
+BuildRequires: rubygem(nokogiri) | |
+BuildRequires: rubygem(xpath) | |
+BuildRequires: rubygem(rack-test) | |
+BuildRequires: rubygem(mini_mime) | |
+BuildRequires: rubygem(cucumber) | |
+BuildRequires: rubygem(regexp_parser) | |
BuildArch: noarch | |
%description | |
@@ -50,7 +42,7 @@ | |
Documentation for %{name}. | |
%prep | |
-%setup -q -n %{gem_name}-%{version} | |
+%setup -q -n %{gem_name}-%{version} -b 1 | |
%build | |
# Create the gem as gem install only works on a gem file | |
@@ -65,21 +57,34 @@ | |
cp -a .%{gem_dir}/* \ | |
%{buildroot}%{gem_dir}/ | |
- | |
- | |
%check | |
pushd .%{gem_instdir} | |
-# cucumber | |
-# ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' | |
-# rspec spec | |
+# Move the tests into place | |
+ln -s %{_builddir}/features features | |
+ | |
+# Do not collect statistics | |
+sed -i '/^require..selenium_statistics.$/ s/^/#/' spec/spec_helper.rb | |
+sed -i '/SeleniumStatistics/ s/^/#/g' ./spec/spec_helper.rb | |
+ | |
+# it "should support SSL": Puma Timeouts, instead of EOFing on http connection | |
+sed -i '/end.to raise_error(EOFError)/ s/EOFError/Net::ReadTimeout/' \ | |
+ spec/server_spec.rb | |
+ | |
+rspec spec | |
+ | |
+# bundler is not really needed | |
+sed -i "/^require 'bundler/ s/^/#/g" \ | |
+ features/support/env.rb | |
+ | |
+cucumber | |
popd | |
%files | |
%dir %{gem_instdir} | |
-%exclude %{gem_instdir}/.yardopts | |
%license %{gem_instdir}/License.txt | |
%{gem_libdir} | |
%exclude %{gem_cache} | |
+%exclude %{gem_instdir}/.* | |
%{gem_spec} | |
%files doc | |
@@ -89,5 +94,90 @@ | |
%{gem_instdir}/spec | |
%changelog | |
-* Fri Nov 27 2020 Pavel Valena <pvalena@redhat.com> - 3.34.0-1 | |
+* Fri Nov 27 05:22:25 CET 2020 Pavel Valena <pvalena@redhat.com> - 3.34.0-1 | |
+- Update to capybara 3.34.0. | |
+ Resolves: rhbz#1902089 | |
+ | |
+* Tue Aug 11 03:02:23 GMT 2020 Pavel Valena <pvalena@redhat.com> - 3.33.0-1 | |
+- Update to capybara 3.33.0. | |
+ Resolves: rhbz#1668957 | |
+ | |
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-5 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild | |
+ | |
+* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-4 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | |
+ | |
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-3 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild | |
+ | |
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-2 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild | |
+ | |
+* Tue Sep 25 2018 Vít Ondruch <vondruch@redhat.com> - 3.8.1-1 | |
+- Update to Capybara 3.8.1. | |
+ | |
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild | |
+ | |
+* Tue May 29 2018 Pavel Valena <pvalena@redhat.com> - 3.1.1-1 | |
+- Update to capybara 3.1.1. | |
+ | |
+* Mon May 14 2018 Pavel Valena <pvalena@redhat.com> - 3.1.0-1 | |
+- Update to Capybara 3.1.0. | |
+ | |
+* Fri Mar 02 2018 Vít Ondruch <vondruch@redhat.com> - 2.14.3-4 | |
+- Fix compatibility with recent rack-test. | |
+ | |
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.3-3 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | |
+ | |
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.3-2 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild | |
+ | |
+* Mon Jun 19 2017 Vít Ondruch <vondruch@redhat.com> - 2.14.3-1 | |
+- Remove deprecated Group tags. | |
+ | |
+* Mon Jun 19 2017 Pavel Valena <pvalena@redhat.com> - 2.14.3-1 | |
+- Update to Capybara 2.14.3 | |
+- Refresh spec file: remove unnecessary Provides, Requires, use current macros | |
+ | |
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-4 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild | |
+ | |
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-3 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild | |
+ | |
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild | |
+ | |
+* Tue Jul 22 2014 Josef Stribny <jstribny@redhat.com> - 2.4.1-1 | |
+- Update to capybara 2.4.1 | |
+ | |
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-6 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild | |
+ | |
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-5 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild | |
+ | |
+* Mon Mar 18 2013 Mo Morsi <mmorsi@redhat.com> - 1.1.2-4 | |
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 | |
+ | |
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild | |
+ | |
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild | |
+ | |
+* Mon Feb 13 2012 Mo Morsi <mmorsi@redhat.com> - 1.1.2-1 | |
+- update to latest upstream release | |
+- updated to ruby 1.9 | |
+ | |
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild | |
+ | |
+* Thu Aug 04 2011 Chris Lalancette <clalance@redhat.com> - 1.0.0-2 | |
+- Fix the license field to meet the actual license | |
+ | |
+* Wed Aug 03 2011 Chris Lalancette <clalance@redhat.com> - 1.0.0-1 | |
- Initial package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment