Rebuild with new Ruby

f38
gerd 12 years ago
parent eec73c988e
commit 6e739a75f7

@ -3,12 +3,12 @@
Summary: Fast Implementation of Gruber's Markdown in C Summary: Fast Implementation of Gruber's Markdown in C
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.0.7 Version: 2.0.7
Release: 3%{?dist} Release: 4%{?dist}
Group: Development/Languages Group: Development/Languages
License: ASL 1.1 License: ASL 1.1
URL: http://github.com/rtomayko/rdiscount URL: http://github.com/rtomayko/rdiscount
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(abi) = 1.9.1 Requires: ruby(release)
Requires: ruby(rubygems) Requires: ruby(rubygems)
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
BuildRequires: ruby-devel BuildRequires: ruby-devel
@ -49,12 +49,12 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir} mkdir -p %{buildroot}%{gem_dir}
mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_mandir}/man7 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/rdiscount.1 %{buildroot}%{_mandir}/man1
mv .%{gem_instdir}/man/markdown.7 %{buildroot}%{_mandir}/man7 mv .%{gem_instdir}/man/markdown.7 %{buildroot}%{_mandir}/man7
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
rm -rf %{buildroot}%{gem_instdir}/ext 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} mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir} mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir}
@ -80,7 +80,7 @@ popd
%doc %{gem_instdir}/README.markdown %doc %{gem_instdir}/README.markdown
%{gem_cache} %{gem_cache}
%{gem_spec} %{gem_spec}
%{gem_extdir}/ %{gem_extdir_mri}/
%{_mandir}/man1/rdiscount.1.gz %{_mandir}/man1/rdiscount.1.gz
%{_mandir}/man7/markdown.7.gz %{_mandir}/man7/markdown.7.gz
@ -96,6 +96,10 @@ popd
%changelog %changelog
* Mon Mar 18 2013 Gerd Pokorra <gp@zimt.uni-siegen.de> - 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 <gp@zimt.uni-siegen.de> - 2.0.7-3 * Wed Feb 13 2013 Gerd Pokorra <gp@zimt.uni-siegen.de> - 2.0.7-3
- Changed back to ruby(abi) - Changed back to ruby(abi)

Loading…
Cancel
Save