|
|
|
@ -7,12 +7,12 @@
|
|
|
|
|
|
|
|
|
|
Summary: Scripting framework that replaces rake, sake and rubigen
|
|
|
|
|
Name: rubygem-%{gemname}
|
|
|
|
|
Version: 0.13.6
|
|
|
|
|
Version: 0.14.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://github.com/wycats/thor
|
|
|
|
|
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
|
|
|
|
|
Source0: http://rubygems.org/download/%{gemname}-%{version}.gem
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
|
Requires: ruby(abi) = %{rubyabi}
|
|
|
|
@ -22,6 +22,7 @@ Requires: rubygem(rake)
|
|
|
|
|
Requires: rubygem(diff-lcs)
|
|
|
|
|
BuildRequires: ruby(rubygems)
|
|
|
|
|
BuildRequires: ruby(abi) = %{rubyabi}
|
|
|
|
|
#BuildRequires(check): rubygem(rspec)
|
|
|
|
|
# No rdoc or fakeweb gem packages yet
|
|
|
|
|
#BuildRequires(check): rubygem(rake), rubygem(diff-lcs), rubygem(rdoc), rubygem(fakeweb)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -66,6 +67,13 @@ find %{buildroot}%{geminstdir}/bin -type f | \
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
# Commented out until we have rspec ~> 2.1 in Fedora.
|
|
|
|
|
# We'll also have to add a patch removing the simplecov
|
|
|
|
|
# dependency until ruby 1.9 is in Fedora
|
|
|
|
|
#%check
|
|
|
|
|
#pushd %{buildroot}%{geminstdir}
|
|
|
|
|
#rspec spec
|
|
|
|
|
|
|
|
|
|
# Can't yet run %%check missing a couple dependencies
|
|
|
|
|
#%check
|
|
|
|
|
#pushd .%{geminstdir}
|
|
|
|
@ -77,7 +85,7 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_bindir}/rake2thor
|
|
|
|
|
%doc %{geminstdir}/CHANGELOG.rdoc
|
|
|
|
|
%doc %{geminstdir}/LICENSE
|
|
|
|
|
%doc %{geminstdir}/README.rdoc
|
|
|
|
|
%doc %{geminstdir}/README.md
|
|
|
|
|
%dir %{geminstdir}
|
|
|
|
|
%{geminstdir}/bin
|
|
|
|
|
%{geminstdir}/lib
|
|
|
|
@ -91,6 +99,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{gemdir}/doc/%{gemname}-%{version}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 17 2011 Mohammed Morsi <mmorsi@redhat.com> - 0.14.6-1
|
|
|
|
|
- Updated to latest upstream version
|
|
|
|
|
|
|
|
|
|
* Wed May 5 2010 Matthew Kent <mkent@magoazul.com> - 0.13.6-1
|
|
|
|
|
- New upstream version.
|
|
|
|
|
|
|
|
|
|