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
Name: rubygem-%{gem_name}
Version: 2.0.0
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Languages
License: MIT
URL: https://github.com/bebanjo/delorean
@ -14,7 +14,7 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
# git checkout v2.0.0
# tar -czf rubygem-delorean-2.0.0-spec.tgz spec/
Source1: %{name}-%{version}-spec.tgz
Requires: ruby(abi) = 1.9.1
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(chronic)
BuildRequires: rubygems-devel
@ -38,9 +38,7 @@ Documentation for %{name}
%prep
%setup -q -c -T
mkdir -p .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \
--force --rdoc %{SOURCE0}
%gem_install -n %{SOURCE0}
pushd .%{gem_instdir}
tar xzf %{SOURCE1}
popd
@ -70,6 +68,9 @@ popd
%{gem_instdir}/spec
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

Loading…
Cancel
Save