From 6e739a75f71c59f0b0c762c868b0dc4e00a5801d Mon Sep 17 00:00:00 2001 From: gerd Date: Mon, 18 Mar 2013 09:34:15 +0100 Subject: [PATCH] Rebuild with new Ruby --- rubygem-rdiscount.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/rubygem-rdiscount.spec b/rubygem-rdiscount.spec index 54a78f4..60b4582 100644 --- a/rubygem-rdiscount.spec +++ b/rubygem-rdiscount.spec @@ -3,12 +3,12 @@ Summary: Fast Implementation of Gruber's Markdown in C Name: rubygem-%{gem_name} Version: 2.0.7 -Release: 3%{?dist} +Release: 4%{?dist} Group: Development/Languages License: ASL 1.1 URL: http://github.com/rtomayko/rdiscount Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem -Requires: ruby(abi) = 1.9.1 +Requires: ruby(release) Requires: ruby(rubygems) BuildRequires: rubygems-devel BuildRequires: ruby-devel @@ -49,12 +49,12 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man7 -mkdir -p %{buildroot}%{gem_extdir}/lib/ +mkdir -p %{buildroot}%{gem_extdir_mri}/lib/ mv .%{gem_instdir}/man/rdiscount.1 %{buildroot}%{_mandir}/man1 mv .%{gem_instdir}/man/markdown.7 %{buildroot}%{_mandir}/man7 cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} rm -rf %{buildroot}%{gem_instdir}/ext -mv %{buildroot}%{gem_libdir}/rdiscount.so %{buildroot}%{gem_extdir}/lib/ +mv %{buildroot}%{gem_libdir}/rdiscount.so %{buildroot}%{gem_extdir_mri}/lib/ mkdir -p %{buildroot}/%{_bindir} mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir} @@ -80,7 +80,7 @@ popd %doc %{gem_instdir}/README.markdown %{gem_cache} %{gem_spec} -%{gem_extdir}/ +%{gem_extdir_mri}/ %{_mandir}/man1/rdiscount.1.gz %{_mandir}/man7/markdown.7.gz @@ -96,6 +96,10 @@ popd %changelog +* Mon Mar 18 2013 Gerd Pokorra - 2.0.7-4 +- Changed from ruby(abi) to ruby(release) +- Changed from macro gem_extdir to gem_extdir_mri + * Wed Feb 13 2013 Gerd Pokorra - 2.0.7-3 - Changed back to ruby(abi)