[rubygem-listen] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
Vít Ondruch
vondruch at fedoraproject.org
Thu Mar 7 15:04:47 UTC 2013
commit 72983ba26b3df61f97ca7143f48eaafa2ac2a25a
Author: Vít Ondruch <vondruch at redhat.com>
Date: Thu Mar 7 15:22:32 2013 +0100
Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
rubygem-listen.spec | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/rubygem-listen.spec b/rubygem-listen.spec
index 65df879..b2fc443 100644
--- a/rubygem-listen.spec
+++ b/rubygem-listen.spec
@@ -1,11 +1,10 @@
# Generated from listen-0.4.7.gem by gem2rpm -*- rpm-spec -*-
%global gem_name listen
-%global rubyabi 1.9.1
Summary: Listen to file modifications
Name: rubygem-%{gem_name}
Version: 0.4.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Development/Languages
License: MIT
URL: https://github.com/guard/listen
@@ -18,12 +17,12 @@ Source1: listen-%{version}-specs.tar.gz
# they are platform specifis and not needed.
# https://github.com/guard/listen/pull/54
Patch0: listen-%{version}-Remove-hardcoded-platform-specific-dependencies.patch
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
Requires: ruby(rubygems) >= 1.3.6
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
BuildRequires: rubygems-devel >= 1.3.6
BuildRequires: ruby
-BuildRequires: %{_bindir}/rspec
+BuildRequires: rubygem(rspec)
BuildRequires: rubygem(rb-inotify)
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
@@ -44,9 +43,7 @@ Documentation for %{name}
%prep
%setup -q -c -T
-mkdir -p .%{gem_dir}
-gem install --local --install-dir .%{gem_dir} \
- --force %{SOURCE0}
+%gem_install -n %{SOURCE0}
pushd .%{gem_dir}
%patch0 -p1
@@ -79,6 +76,9 @@ popd
%doc %{gem_instdir}/README.md
%changelog
+* Thu Mar 07 2013 Vít Ondruch <vondruch at redhat.com> - 0.4.7-3
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list