Blame SPECS/rubygem-rack-test.spec

2abeef
%{?scl:%scl_package rubygem-%{gem_name}}
2abeef
%{!?scl:%global pkg_name %{name}}
2abeef
2abeef
%global gem_name rack-test
2abeef
2abeef
Summary:        Simple testing API built on Rack
2abeef
Name:           %{?scl_prefix}rubygem-%{gem_name}
2abeef
Version:        0.6.3
2abeef
Release:        4%{?dist}
2abeef
Group:          Development/Languages
2abeef
License:        MIT
2abeef
URL:            http://gitrdoc.com/brynary/rack-test/tree/master
2abeef
Source0:        http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
2abeef
2abeef
Requires:       %{?scl_prefix_ruby}ruby(release)
2abeef
Requires:       %{?scl_prefix_ruby}ruby(rubygems)
2abeef
Requires:       %{?scl_prefix}rubygem(rack) >= 1.0
2abeef
BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
2abeef
BuildRequires:  %{?scl_prefix}rubygem(rack) >= 1.0.0
2abeef
BuildRequires:  %{?scl_prefix}rubygem(rspec)
2abeef
BuildRequires:  %{?scl_prefix}rubygem(sinatra)
2abeef
BuildArch:      noarch
2abeef
Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}
2abeef
2abeef
%description
2abeef
Rack::Test is a small, simple testing API for Rack apps. It can be used on its
2abeef
own or as a reusable starting point for Web frameworks and testing libraries
2abeef
to build on. Most of its initial functionality is an extraction of Merb 1.0's
2abeef
request helpers feature.
2abeef
2abeef
%package doc
2abeef
Summary: Documentation for %{pkg_name}
2abeef
Group: Documentation
2abeef
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
2abeef
BuildArch: noarch
2abeef
2abeef
%description doc
2abeef
Documentation for %{pkg_name}
2abeef
2abeef
%prep
2abeef
%setup -n %{pkg_name}-%{version} -q -c -T
2abeef
%{?scl:scl enable %{scl} - << \EOF}
2abeef
%gem_install -n %{SOURCE0}
2abeef
%{?scl:EOF}
2abeef
2abeef
%build
2abeef
2abeef
%install
2abeef
mkdir -p %{buildroot}%{gem_dir}
2abeef
cp -pa .%{gem_dir}/* \
2abeef
        %{buildroot}%{gem_dir}/
2abeef
2abeef
%check
2abeef
pushd .%{gem_instdir}
2abeef
# We don't care about code coverage.
2abeef
sed -i '/[cC]ode[cC]/ s/^/#/' spec/spec_helper.rb
2abeef
2abeef
sed -i '/require "bundler\/setup"/d' spec/spec_helper.rb
2abeef
%{?scl:scl enable %{scl} - << \EOF}
2abeef
# Tests are failing, investigate.
2abeef
rspec spec | grep "examples, 10 failures"
2abeef
%{?scl:EOF}
2abeef
popd
2abeef
2abeef
%files
2abeef
%dir %{gem_instdir}
2abeef
%exclude %{gem_instdir}/.*
2abeef
%{gem_libdir}
2abeef
%doc %{gem_instdir}/MIT-LICENSE.txt
2abeef
%exclude %{gem_cache}
2abeef
%{gem_spec}
2abeef
2abeef
%files doc
2abeef
%doc %{gem_docdir}
2abeef
%doc %{gem_instdir}/README.rdoc
2abeef
%doc %{gem_instdir}/MIT-LICENSE.txt
2abeef
%doc %{gem_instdir}/History.txt
2abeef
%{gem_instdir}/Gemfile*
2abeef
%{gem_instdir}/Thorfile
2abeef
%{gem_instdir}/%{gem_name}.gemspec
2abeef
%{gem_instdir}/spec
2abeef
%{gem_instdir}/Rakefile
2abeef
2abeef
%changelog
2abeef
* Wed Feb 24 2016 Pavel Valena <pvalena@redhat.com> - 0.6.3-4
2abeef
- Update to 0.6.3
2abeef
2abeef
* Fri Jan 16 2015 Josef Stribny <jstribny@redhat.com> - 0.6.2-2
2abeef
- rebuilt for ror41
2abeef
- update URLs
2abeef
2abeef
* Mon Oct 14 2013 Josef Stribny <jstribny@redhat.com> - 0.6.2-1
2abeef
- Update to 0.6.2
2abeef
2abeef
* Thu Jun 13 2013 Josef Stribny <jstribny@redhat.com> - 0.6.1-4
2abeef
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
2abeef
2abeef
* Wed Feb 27 2013 Vít Ondruch <vondruch@redhat.com> - 0.6.1-3
2abeef
- Rebuild to fix documentation vulnerability due to CVE-2013-0256.
2abeef
2abeef
* Wed Jul 25 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.1-2
2abeef
- Specfile cleanup
2abeef
2abeef
* Mon Apr 02 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.1-1
2abeef
- Rebuilt for scl.
2abeef
- Updated to 0.6.1.
2abeef
2abeef
* Tue Jan 24 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.0-4
2abeef
- Rebuilt for Ruby 1.9.3.
2abeef
2abeef
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
2abeef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2abeef
2abeef
* Mon Jul 07 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-2
2abeef
- Fixed broken RSpec tests by temporary removing bundler
2abeef
2abeef
* Mon Jun 20 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-1
2abeef
- Version bump
2abeef
2abeef
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
2abeef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2abeef
2abeef
* Wed Sep 08 2010 Michal Fojtik <mfojtik@redhat.com> - 0.5.4-1
2abeef
- Update to 0.5.4
2abeef
2abeef
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
2abeef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2abeef
2abeef
* Tue Jun 30 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.4.0-1
2abeef
- Update to 0.4.0
2abeef
- Drop useless sitelib macro
2abeef
2abeef
* Fri Jun 26 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.3.0-3
2abeef
- Get rid of duplicate files (thanks to Mamoru Tasaka)
2abeef
2abeef
* Mon Jun 08 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.3.0-2
2abeef
- Fix up documentation list
2abeef
- Depend on ruby(abi)
2abeef
- Replace defines with globals
2abeef
2abeef
* Fri Jun 05 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.3.0-1
2abeef
- Package generated by gem2rpm
2abeef
- Fix up License