%{!?scl:%global pkg_name %{name}} %{?scl:%scl_package rubygem-%{gem_name}} %global gem_name rspec # not necessarily same as %%{version} %global dep_version 2.11.1 Summary: Behaviour driven development (BDD) framework for Ruby Name: %{?scl_prefix}rubygem-%{gem_name} Version: 2.11.0 Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://rspec.info Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: %{?scl_prefix}rubygems Requires: %{?scl_prefix}rubygem(rspec-core) = %{dep_version} Requires: %{?scl_prefix}rubygem(rspec-mocks) = %{dep_version} Requires: %{?scl_prefix}rubygem(rspec-expectations) = %{dep_version} Requires: %{?scl_prefix}ruby(abi) = 1.9.1 BuildRequires: %{?scl_prefix}rubygems-devel BuildRequires: %{?scl_prefix}ruby(abi) = 1.9.1 BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} %description RSpec is a behaviour driven development (BDD) framework for Ruby. %prep %setup -q -c -T mkdir -p .%{gem_dir} %{?scl:scl enable %scl "} gem install --local --install-dir .%{gem_dir} \ --force %{SOURCE0} %{?scl:"} %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} %files %doc %{gem_docdir} %dir %{gem_instdir} %{gem_instdir}/lib %{gem_instdir}/License.txt %{gem_instdir}/README.md %exclude %{gem_cache} %{gem_spec} %changelog * Wed Feb 27 2013 Vít Ondruch - 2.11.0-2 - Rebuild to fix documentation vulnerability due to CVE-2013-0256. * Tue Jul 24 2012 Bohuslav Kabrda - 2.11.0-1 - Update to Rspec 2.11.0. - Specfile cleanup. * Fri Mar 30 2012 Bohuslav Kabrda - 2.8.0-2 - Rebuilt for scl. * Mon Mar 05 2012 Vít Ondruch - 2.8.0-1 - Update to RSpec 2.8.0. * Sat Jan 14 2012 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Mar 09 2011 Mamoru Tasaka - 1.3.1-1 - Update from Marek Goldmann - Updated to 1.3.1 - Patch to make it work with Rake >= 0.9.0.beta.0 * Wed Feb 09 2011 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Apr 16 2010 Michael Stahnke - 1.3.0-2 - Removed 404 URL in the description (bug 515042) * Fri Apr 09 2010 Michael Stahnke - 1.3.0-1 - Updated to 1.3.0 * Wed Dec 09 2009 Michael Stahnke - 1.2.9-1 - New Version * Sun Jul 26 2009 Fedora Release Engineering - 1.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 22 2009 Michael Stahnke - 1.2.7-1 - New Version * Fri Mar 27 2009 Michael Stahnke - 1.2.2-1 - New Version * Wed Feb 25 2009 Fedora Release Engineering - 1.1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Nov 08 2008 Michael Stahnke - 1.1.11-1 - New Version * Mon Nov 03 2008 Michael Stahnke - 1.1.8-3 - Updating to require ruby(abi) * Mon Oct 13 2008 Michael Stahnke - 1.1.8-1 - New version * Wed May 14 2008 Michael Stahnke - 1.1.3-1 - Initial package