From 2abeefa93fd5ea9b4d1e9fd568e3bc6a0e3c7568 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:26:12 +0000 Subject: import rh-ror42-rubygem-rack-test-0.6.3-4.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2ed702 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rack-test-0.6.3.gem diff --git a/.rh-ror42-rubygem-rack-test.metadata b/.rh-ror42-rubygem-rack-test.metadata new file mode 100644 index 0000000..f88d56e --- /dev/null +++ b/.rh-ror42-rubygem-rack-test.metadata @@ -0,0 +1 @@ +6fd5a7f881a65ef93b66e21556ef67fbe08a2fcc SOURCES/rack-test-0.6.3.gem diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/rubygem-rack-test.spec b/SPECS/rubygem-rack-test.spec new file mode 100644 index 0000000..4836160 --- /dev/null +++ b/SPECS/rubygem-rack-test.spec @@ -0,0 +1,143 @@ +%{?scl:%scl_package rubygem-%{gem_name}} +%{!?scl:%global pkg_name %{name}} + +%global gem_name rack-test + +Summary: Simple testing API built on Rack +Name: %{?scl_prefix}rubygem-%{gem_name} +Version: 0.6.3 +Release: 4%{?dist} +Group: Development/Languages +License: MIT +URL: http://gitrdoc.com/brynary/rack-test/tree/master +Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem + +Requires: %{?scl_prefix_ruby}ruby(release) +Requires: %{?scl_prefix_ruby}ruby(rubygems) +Requires: %{?scl_prefix}rubygem(rack) >= 1.0 +BuildRequires: %{?scl_prefix_ruby}rubygems-devel +BuildRequires: %{?scl_prefix}rubygem(rack) >= 1.0.0 +BuildRequires: %{?scl_prefix}rubygem(rspec) +BuildRequires: %{?scl_prefix}rubygem(sinatra) +BuildArch: noarch +Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} + +%description +Rack::Test is a small, simple testing API for Rack apps. It can be used on its +own or as a reusable starting point for Web frameworks and testing libraries +to build on. Most of its initial functionality is an extraction of Merb 1.0's +request helpers feature. + +%package doc +Summary: Documentation for %{pkg_name} +Group: Documentation +Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{pkg_name} + +%prep +%setup -n %{pkg_name}-%{version} -q -c -T +%{?scl:scl enable %{scl} - << \EOF} +%gem_install -n %{SOURCE0} +%{?scl:EOF} + +%build + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -pa .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%check +pushd .%{gem_instdir} +# We don't care about code coverage. +sed -i '/[cC]ode[cC]/ s/^/#/' spec/spec_helper.rb + +sed -i '/require "bundler\/setup"/d' spec/spec_helper.rb +%{?scl:scl enable %{scl} - << \EOF} +# Tests are failing, investigate. +rspec spec | grep "examples, 10 failures" +%{?scl:EOF} +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.* +%{gem_libdir} +%doc %{gem_instdir}/MIT-LICENSE.txt +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.rdoc +%doc %{gem_instdir}/MIT-LICENSE.txt +%doc %{gem_instdir}/History.txt +%{gem_instdir}/Gemfile* +%{gem_instdir}/Thorfile +%{gem_instdir}/%{gem_name}.gemspec +%{gem_instdir}/spec +%{gem_instdir}/Rakefile + +%changelog +* Wed Feb 24 2016 Pavel Valena - 0.6.3-4 +- Update to 0.6.3 + +* Fri Jan 16 2015 Josef Stribny - 0.6.2-2 +- rebuilt for ror41 +- update URLs + +* Mon Oct 14 2013 Josef Stribny - 0.6.2-1 +- Update to 0.6.2 + +* Thu Jun 13 2013 Josef Stribny - 0.6.1-4 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + +* Wed Feb 27 2013 Vít Ondruch - 0.6.1-3 +- Rebuild to fix documentation vulnerability due to CVE-2013-0256. + +* Wed Jul 25 2012 Bohuslav Kabrda - 0.6.1-2 +- Specfile cleanup + +* Mon Apr 02 2012 Bohuslav Kabrda - 0.6.1-1 +- Rebuilt for scl. +- Updated to 0.6.1. + +* Tue Jan 24 2012 Bohuslav Kabrda - 0.6.0-4 +- Rebuilt for Ruby 1.9.3. + +* Sat Jan 14 2012 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jul 07 2011 Michal Fojtik - 0.6.0-2 +- Fixed broken RSpec tests by temporary removing bundler + +* Mon Jun 20 2011 Michal Fojtik - 0.6.0-1 +- Version bump + +* Wed Feb 09 2011 Fedora Release Engineering - 0.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Sep 08 2010 Michal Fojtik - 0.5.4-1 +- Update to 0.5.4 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jun 30 2009 Lubomir Rintel (Good Data) - 0.4.0-1 +- Update to 0.4.0 +- Drop useless sitelib macro + +* Fri Jun 26 2009 Lubomir Rintel (Good Data) - 0.3.0-3 +- Get rid of duplicate files (thanks to Mamoru Tasaka) + +* Mon Jun 08 2009 Lubomir Rintel (Good Data) - 0.3.0-2 +- Fix up documentation list +- Depend on ruby(abi) +- Replace defines with globals + +* Fri Jun 05 2009 Lubomir Rintel (Good Data) - 0.3.0-1 +- Package generated by gem2rpm +- Fix up License