From bbf3281b2518396509d54287087ac3b5367a92d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 26 May 2015 08:36:27 +0200 Subject: [PATCH] Update to Delorean 2.1.0. --- rubygem-delorean.spec | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/rubygem-delorean.spec b/rubygem-delorean.spec index 6225b42..8d00185 100644 --- a/rubygem-delorean.spec +++ b/rubygem-delorean.spec @@ -1,29 +1,26 @@ %global gem_name delorean - -Summary: Delorean lets you travel in time with Ruby by mocking Time.now Name: rubygem-%{gem_name} -Version: 2.0.0 -Release: 6%{?dist} +Version: 2.1.0 +Release: 1%{?dist} +Summary: Delorean lets you travel in time with Ruby by mocking Time.now Group: Development/Languages License: MIT URL: https://github.com/bebanjo/delorean Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem # to get specs: # git clone https://github.com/bebanjo/delorean.git && cd delorean -# git checkout v2.0.0 -# tar -czf rubygem-delorean-2.0.0-spec.tgz spec/ +# git checkout v2.1.0 +# tar -czf rubygem-delorean-2.1.0-spec.tgz spec/ Source1: %{name}-%{version}-spec.tgz -Requires: ruby(release) -Requires: ruby(rubygems) -Requires: rubygem(chronic) +BuildRequires: ruby(release) BuildRequires: rubygems-devel +BuildRequires: ruby # for specs: BuildRequires: rubygem(rspec) BuildRequires: rubygem(activesupport) BuildRequires: rubygem(chronic) BuildArch: noarch -Provides: rubygem(%{gem_name}) = %{version} %description Delorean lets you travel in time with Ruby by mocking Time.now. @@ -32,42 +29,44 @@ Delorean lets you travel in time with Ruby by mocking Time.now. Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} +BuildArch: noarch %description doc -Documentation for %{name} +Documentation for %{name}. %prep %setup -q -c -T %gem_install -n %{SOURCE0} -pushd .%{gem_instdir} -tar xzf %{SOURCE1} -popd %build %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} -cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} +tar xzf %{SOURCE1} + rspec spec popd %files %dir %{gem_instdir} -%exclude %{gem_cache} +%license %{gem_instdir}/MIT-LICENSE %{gem_libdir} +%exclude %{gem_cache} %{gem_spec} -%doc %{gem_instdir}/MIT-LICENSE %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md -%{gem_instdir}/spec %changelog +* Mon May 25 2015 Vít Ondruch - 2.1.0-1 +- Update to Delorean 2.1.0. + * Sun Jun 08 2014 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild