This commit is contained in:
Vít Ondruch 2013-03-05 12:47:39 +01:00
parent 694d8454be
commit d37c293fbd

View File

@ -3,13 +3,13 @@
Summary: Fast syntax highlighter engine for many programming languages
Name: rubygem-%{gem_name}
Version: 1.0.6
Release: 3%{?dist}
Release: 4%{?dist}
Group: Development/Languages
License: LGPLv2+
URL: http://coderay.rubychan.de
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.9.1
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(term-ansicolor)
BuildRequires: rubygems-devel
@ -29,8 +29,7 @@ efficient.
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
gem install --local --install-dir %{buildroot}%{gem_dir} \
--force --rdoc %{SOURCE0}
%gem_install -n %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gem_dir}/bin
@ -59,6 +58,9 @@ rm -rf %{buildroot}
%changelog
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 1.0.6-4
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild