Update from Marek Goldmann <mgoldman@redhat.com>
Updated to 1.3.1 Patch to make it work with Rake >= 0.9.0.beta.0
This commit is contained in:
parent
e91eb0c6ac
commit
0e1d0c1b1f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
rspec-1.3.0.gem
|
rspec-1.3.0.gem
|
||||||
|
/rspec-1.3.1.gem
|
||||||
|
@ -5,12 +5,13 @@
|
|||||||
|
|
||||||
Summary: Behaviour driven development (BDD) framework for Ruby
|
Summary: Behaviour driven development (BDD) framework for Ruby
|
||||||
Name: rubygem-%{gemname}
|
Name: rubygem-%{gemname}
|
||||||
Version: 1.3.0
|
Version: 1.3.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: GPLv2+ or Ruby
|
License: GPLv2+ or Ruby
|
||||||
URL: http://rspec.info
|
URL: http://rspec.info
|
||||||
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
|
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
|
||||||
|
Patch0: rubygem-rspec-1.3.1-RakeFileUtils_renamed_to_FileUtilsExt.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: rubygems, ruby(abi) = 1.8
|
Requires: rubygems, ruby(abi) = 1.8
|
||||||
BuildRequires: rubygems, ruby
|
BuildRequires: rubygems, ruby
|
||||||
@ -22,17 +23,28 @@ RSpec is a behaviour driven development (BDD) framework for Ruby.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%setup -q -c -T
|
||||||
|
gem install \
|
||||||
|
-V \
|
||||||
|
--install-dir $(pwd)%{gemdir} \
|
||||||
|
--bindir $(pwd)%{_bindir} \
|
||||||
|
--force \
|
||||||
|
--rdoc \
|
||||||
|
%{SOURCE0}
|
||||||
|
|
||||||
|
|
||||||
|
pushd .%{geminstdir}
|
||||||
|
%patch0 -p1
|
||||||
|
popd
|
||||||
|
|
||||||
|
find . -type f | xargs chmod ugo+r
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
mkdir -p %{buildroot}%{gemdir}
|
mkdir -p %{buildroot}%{gemdir}
|
||||||
gem install --local --install-dir %{buildroot}%{gemdir} \
|
cp -a .%{_prefix}/* %{buildroot}%{_prefix}/
|
||||||
--force --rdoc %{SOURCE0}
|
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
|
||||||
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
|
|
||||||
rmdir %{buildroot}%{gemdir}/bin
|
|
||||||
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
|
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -49,6 +61,11 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user