[rubygem-syntax] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

Bohuslav Kabrda bkabrda at fedoraproject.org
Mon Mar 18 10:24:33 UTC 2013


commit 417e4e5c14ad4c5cabca5691195425b926737d62
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Mar 18 11:20:09 2013 +0100

    Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

 rubygem-syntax.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/rubygem-syntax.spec b/rubygem-syntax.spec
index 84a2ad6..15f8ab4 100644
--- a/rubygem-syntax.spec
+++ b/rubygem-syntax.spec
@@ -3,7 +3,7 @@
 Summary:        Ruby library for performing simple syntax highlighting
 Name:           rubygem-%{gem_name}
 Version:        1.0.0
-Release:        8%{?dist}
+Release:        9%{?dist}
 Group:          Development/Languages
 License:        Public Domain
 URL:            http://syntax.rubyforge.org/
@@ -11,7 +11,7 @@ Source0:        http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 Source1:        %{gem_name}-LICENSE
 Patch0:         rubygem-syntax-fix-yaml-parse-for-ruby-1.9.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       ruby(abi) = 1.9.1
+Requires:       ruby(release)
 Requires:       ruby(rubygems)
 BuildRequires:  rubygems-devel
 BuildRequires:  rubygem(minitest)
@@ -26,8 +26,7 @@ modules, and comes with modules for Ruby, XML, and YAML.
 %prep
 install -pm 0644 %{SOURCE1} LICENSE
 mkdir -p .{gem_dir}
-gem install --local --install-dir .%{gem_dir} \
-        --force --rdoc %{SOURCE0}
+%gem_install -n %{SOURCE0}
 
 pushd .%{gem_instdir}
 %patch0
@@ -59,6 +58,9 @@ popd
 
 
 %changelog
+* Mon Mar 18 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 1.0.0-9
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list