[rubygem-cri] Rebuilt for Ruby 1.9.3.
Vít Ondruch
vondruch at fedoraproject.org
Mon Feb 6 12:51:58 UTC 2012
commit 04c84bef154409ed28519b1a1cdbeac4e9512d62
Author: Vít Ondruch <vondruch at redhat.com>
Date: Mon Feb 6 13:51:53 2012 +0100
Rebuilt for Ruby 1.9.3.
rubygem-cri.spec | 47 ++++++++++++++++++++++++-----------------------
1 files changed, 24 insertions(+), 23 deletions(-)
---
diff --git a/rubygem-cri.spec b/rubygem-cri.spec
index 58024a8..fad7004 100644
--- a/rubygem-cri.spec
+++ b/rubygem-cri.spec
@@ -1,22 +1,20 @@
-%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%global gemname cri
-%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
-%global rubyabi 1.8
+%global gem_name cri
+%global rubyabi 1.9.1
Summary: Ruby library for building easy-to-use commandline tools
-Name: rubygem-%{gemname}
+Name: rubygem-%{gem_name}
Version: 1.0.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Group: Development/Languages
License: MIT
URL: http://rubygems.org/gems/cri
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
-Requires: rubygems
+Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(abi) = %{rubyabi}
-BuildRequires: rubygems
+BuildRequires: rubygems-devel
BuildArch: noarch
-Provides: rubygem(%{gemname}) = %{version}
+Provides: rubygem(%{gem_name}) = %{version}
%description
Cri is a library for building easy-to-use commandline tools.
@@ -35,8 +33,8 @@ This package contains documentation for %{name}.
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
+mkdir -p %{buildroot}%{gem_dir}
+gem install --local --install-dir %{buildroot}%{gem_dir} \
--force --rdoc %{SOURCE0}
%clean
@@ -44,22 +42,25 @@ rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
-%dir %{geminstdir}
-%{geminstdir}/lib
-%doc %{geminstdir}/ChangeLog
-%doc %{geminstdir}/LICENSE
-%doc %{geminstdir}/README
-%doc %{geminstdir}/NEWS
-%doc %{geminstdir}/VERSION
-%{gemdir}/cache/%{gemname}-%{version}.gem
-%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%dir %{gem_instdir}
+%{gem_libdir}
+%doc %{gem_instdir}/ChangeLog
+%doc %{gem_instdir}/LICENSE
+%doc %{gem_instdir}/README
+%doc %{gem_instdir}/NEWS
+%doc %{gem_instdir}/VERSION
+%{gem_cache}
+%{gem_spec}
%files doc
%defattr(-, root, root, -)
-%{geminstdir}/Rakefile
-%{gemdir}/doc/%{gemname}-%{version}
+%{gem_instdir}/Rakefile
+%{gem_docdir}
%changelog
+* Mon Feb 06 2012 Vít Ondruch <vondruch at redhat.com> - 1.0.1-6
+- Rebuilt for Ruby 1.9.3.
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list