2012-03-05 11:49:11 +00:00
|
|
|
%global gem_name rspec
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
Summary: Behaviour driven development (BDD) framework for Ruby
|
2012-03-05 11:49:11 +00:00
|
|
|
Name: rubygem-%{gem_name}
|
2013-08-15 15:44:50 +00:00
|
|
|
Version: 2.14.1
|
2014-06-08 05:15:11 +00:00
|
|
|
Release: 2%{?dist}
|
2008-11-13 06:33:06 +00:00
|
|
|
Group: Development/Languages
|
2012-03-05 11:49:11 +00:00
|
|
|
License: MIT
|
2010-04-09 20:07:05 +00:00
|
|
|
URL: http://rspec.info
|
2012-03-05 11:49:11 +00:00
|
|
|
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
2008-11-13 06:33:06 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2012-03-05 11:49:11 +00:00
|
|
|
Requires: rubygems
|
2012-10-11 09:17:36 +00:00
|
|
|
Requires: rubygem(rspec-core) >= %{version}
|
|
|
|
Requires: rubygem(rspec-mocks) >= %{version}
|
|
|
|
Requires: rubygem(rspec-expectations) >= %{version}
|
2013-02-20 08:04:34 +00:00
|
|
|
Requires: ruby(release)
|
2012-03-05 11:49:11 +00:00
|
|
|
BuildRequires: rubygems-devel
|
2013-02-20 08:04:34 +00:00
|
|
|
BuildRequires: ruby(release)
|
2008-11-13 06:33:06 +00:00
|
|
|
BuildArch: noarch
|
2012-03-05 11:49:11 +00:00
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
%description
|
2010-04-16 21:46:15 +00:00
|
|
|
RSpec is a behaviour driven development (BDD) framework for Ruby.
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
%prep
|
2011-03-06 17:11:23 +00:00
|
|
|
%setup -q -c -T
|
2013-01-02 05:56:34 +00:00
|
|
|
|
|
|
|
TOPDIR=$(pwd)
|
|
|
|
mkdir tmpunpackdir
|
|
|
|
pushd tmpunpackdir
|
|
|
|
|
|
|
|
gem unpack %{SOURCE0}
|
|
|
|
cd %{gem_name}-%{version}
|
|
|
|
gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec
|
|
|
|
gem build %{gem_name}.gemspec
|
|
|
|
mv %{gem_name}-%{version}.gem $TOPDIR
|
|
|
|
|
|
|
|
popd
|
|
|
|
rm -rf tmpunpackdir
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
%build
|
2013-02-20 08:04:34 +00:00
|
|
|
%gem_install
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2012-03-05 11:49:11 +00:00
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
%files
|
2012-03-05 11:49:11 +00:00
|
|
|
%doc %{gem_docdir}
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%{gem_instdir}/lib
|
|
|
|
%{gem_instdir}/License.txt
|
2012-10-11 12:47:27 +00:00
|
|
|
%{gem_instdir}/README.md
|
2012-03-05 11:49:11 +00:00
|
|
|
%exclude %{gem_cache}
|
|
|
|
%{gem_spec}
|
2008-11-13 06:33:06 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-06-08 05:15:11 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-15 15:44:50 +00:00
|
|
|
* Fri Aug 16 2013 Mamoru TASAKA <mtasaka@fedoraproject.og> - 2.14.1-1
|
|
|
|
- 2.14.1
|
|
|
|
|
2013-08-04 14:55:52 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-28 07:31:58 +00:00
|
|
|
* Thu Mar 28 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.13.0-1
|
|
|
|
- 2.13.0
|
|
|
|
|
2013-02-20 08:04:34 +00:00
|
|
|
* Wed Feb 20 2013 Vít Ondruch <vondruch@redhat.com> - 2.12.0-3
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
2013-02-14 23:06:28 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-02 05:56:34 +00:00
|
|
|
* Wed Jan 2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.12.0-1
|
|
|
|
- Update to Rspec 2.12.0
|
|
|
|
|
2012-10-11 09:17:36 +00:00
|
|
|
* Thu Oct 11 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.11.0-1
|
|
|
|
- Update to Rspec 2.11.0
|
|
|
|
|
2012-07-21 18:26:13 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-05 11:49:11 +00:00
|
|
|
* Mon Mar 05 2012 Vít Ondruch <bkabrda@redhat.com> - 2.8.0-1
|
|
|
|
- Update to RSpec 2.8.0.
|
|
|
|
|
2012-01-14 03:22:51 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-03-06 17:11:23 +00:00
|
|
|
* Mon Mar 09 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.3.1-1
|
|
|
|
- Update from Marek Goldmann <mgoldman@redhat.com>
|
|
|
|
- Updated to 1.3.1
|
|
|
|
- Patch to make it work with Rake >= 0.9.0.beta.0
|
|
|
|
|
2011-02-09 10:45:33 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-04-16 21:46:15 +00:00
|
|
|
* Fri Apr 16 2010 Michael Stahnke <stahnma@fedpraproject.org> - 1.3.0-2
|
|
|
|
- Removed 404 URL in the description (bug 515042)
|
|
|
|
|
2010-04-09 20:07:05 +00:00
|
|
|
* Fri Apr 09 2010 Michael Stahnke <stahnma@fedpraproject.org> - 1.3.0-1
|
|
|
|
- Updated to 1.3.0
|
|
|
|
|
2009-12-09 22:18:40 +00:00
|
|
|
* Wed Dec 09 2009 Michael Stahnke <stahnma@fedoraproject.org> - 1.2.9-1
|
|
|
|
- New Version
|
|
|
|
|
2009-07-27 03:35:58 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-23 04:10:33 +00:00
|
|
|
* Mon Jun 22 2009 Michael Stahnke <stahnma@fedoraproject.org> - 1.2.7-1
|
|
|
|
- New Version
|
|
|
|
|
2009-03-28 01:50:59 +00:00
|
|
|
* Fri Mar 27 2009 Michael Stahnke <stahnma@fedoraproject.org> - 1.2.2-1
|
|
|
|
- New Version
|
|
|
|
|
2009-02-25 22:03:11 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-13 06:33:06 +00:00
|
|
|
* Wed Nov 08 2008 Michael Stahnke <stahnma@fedoraproject.org> - 1.1.11-1
|
|
|
|
- New Version
|
|
|
|
|
|
|
|
* Mon Nov 03 2008 Michael Stahnke <stahnma@fedoraproject.org> - 1.1.8-3
|
|
|
|
- Updating to require ruby(abi)
|
|
|
|
|
|
|
|
* Mon Oct 13 2008 Michael Stahnke <stahnma@fedoraproject.org> - 1.1.8-1
|
|
|
|
- New version
|
|
|
|
|
|
|
|
* Wed May 14 2008 Michael Stahnke <stahnma@fedoraproject.org> - 1.1.3-1
|
|
|
|
- Initial package
|