Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
diff --git a/rubygem-rspec.spec b/rubygem-rspec.spec
index ed5ae8b..14fc7e3 100644
--- a/rubygem-rspec.spec
+++ b/rubygem-rspec.spec
@@ -5,8 +5,8 @@
Summary: Behaviour driven development (BDD) framework for Ruby
Name: rubygem-%{gemname}
-Version: 1.3.0
-Release: 3%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Group: Development/Languages
License: GPLv2+ or Ruby
@@ -16,23 +16,29 @@ Requires: rubygems, ruby(abi) = 1.8
BuildRequires: rubygems, ruby
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
+Patch0: RakeFileUtils_renamed_to_FileUtilsExt.patch
RSpec is a behaviour driven development (BDD) framework for Ruby.
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+ --force --rdoc %{SOURCE0}
+pushd .%{geminstdir}
+%patch0 -p1
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
- --force --rdoc %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
-mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
-rmdir %{buildroot}%{gemdir}/bin
+mv .%{gemdir}/bin/* %{buildroot}/%{_bindir}
+rmdir .%{gemdir}/bin
+cp -a .%{gemdir}/* %{buildroot}%{gemdir}
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
@@ -49,6 +55,10 @@ rm -rf %{buildroot}
+* Fri Mar 04 2011 Marek Goldmann <> - 1.3.1-1
+- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.