Vít Ondruch 12 years ago
parent 33eba56aab
commit a3df7e0d6a

@ -4,7 +4,7 @@
Summary: Delorean lets you travel in time with Ruby by mocking Time.now Summary: Delorean lets you travel in time with Ruby by mocking Time.now
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.0.0 Version: 2.0.0
Release: 2%{?dist} Release: 3%{?dist}
Group: Development/Languages Group: Development/Languages
License: MIT License: MIT
URL: https://github.com/bebanjo/delorean URL: https://github.com/bebanjo/delorean
@ -14,7 +14,7 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
# git checkout v2.0.0 # git checkout v2.0.0
# tar -czf rubygem-delorean-2.0.0-spec.tgz spec/ # tar -czf rubygem-delorean-2.0.0-spec.tgz spec/
Source1: %{name}-%{version}-spec.tgz Source1: %{name}-%{version}-spec.tgz
Requires: ruby(abi) = 1.9.1 Requires: ruby(release)
Requires: ruby(rubygems) Requires: ruby(rubygems)
Requires: rubygem(chronic) Requires: rubygem(chronic)
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
@ -38,9 +38,7 @@ Documentation for %{name}
%prep %prep
%setup -q -c -T %setup -q -c -T
mkdir -p .%{gem_dir} %gem_install -n %{SOURCE0}
gem install --local --install-dir .%{gem_dir} \
--force --rdoc %{SOURCE0}
pushd .%{gem_instdir} pushd .%{gem_instdir}
tar xzf %{SOURCE1} tar xzf %{SOURCE1}
popd popd
@ -70,6 +68,9 @@ popd
%{gem_instdir}/spec %{gem_instdir}/spec
%changelog %changelog
* Fri Mar 08 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0-3
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

Loading…
Cancel
Save