[rubygem-rerun/f22] Update to rerun 0.10.0.

Vít Ondruch vondruch at fedoraproject.org
Wed Feb 18 14:29:05 UTC 2015


commit 2507e0a3fe57d78376b9464c546b85744ace71c1
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Feb 18 15:20:28 2015 +0100

    Update to rerun 0.10.0.

 .gitignore         |    2 ++
 rubygem-rerun.spec |   31 ++++++++++++++++++++++---------
 sources            |    4 ++--
 3 files changed, 26 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5b8b818..b68bbdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 /rerun-0.5.2.gem
 /rerun-0.6.2-tests.tgz
 /rerun-0.6.2.gem
+/rerun-0.10.0-tests.tgz
+/rerun-0.10.0.gem
diff --git a/rubygem-rerun.spec b/rubygem-rerun.spec
index 50babbe..c6e44bc 100644
--- a/rubygem-rerun.spec
+++ b/rubygem-rerun.spec
@@ -3,23 +3,20 @@
 
 Summary: Restarts your app when a file changes
 Name: rubygem-%{gem_name}
-Version: 0.6.2
-Release: 8%{?dist}
+Version: 0.10.0
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/alexch/rerun/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 # git clone https://github.com/alexch/rerun.git && cd rerun
-# tar czvf rerun-0.6.2-tests.tgz spec/ inc.rb
-# Unfortunatelly there is no tag for specific releases.
-# https://github.com/alexch/rerun/issues/11
+# git checkout v0.10.0 && tar czvf rerun-0.10.0-tests.tgz spec/ inc.rb
 Source1: %{gem_name}-%{version}-tests.tgz
-Requires: ruby(rubygems)
-Requires: ruby(release)
 BuildRequires: rubygems-devel
+BuildRequires: rubygem(listen)
+BuildRequires: rubygem(rb-inotify)
 BuildRequires: rubygem(rspec)
 BuildArch: noarch
-Provides: rubygem(%{gem_name}) = %{version}
 
 %description
 Launches an app, and restarts it whenever the filesystem changes
@@ -46,6 +43,19 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
 pushd .%{gem_instdir}
 tar xzvf %{SOURCE1}
 
+# We don't have wrong in Fedora yet.
+sed -i '/wrong/,/Wrong/ s/^/#/' spec/spec_helper.rb
+mv spec/options_spec.rb{,.disabled}
+
+# Fix RSpec 3.x compatibility.
+sed -i 's|runner.clear?.should be_true|expect(runner.clear?).to be true|' spec/runner_spec.rb
+
+# This fails in upstream due to change in Listen 2.7.5:
+# https://github.com/guard/listen/commit/e3b7e23f9588599fb0daed4e030bab09c1c1507
+# Return back to original values from:
+# https://github.com/alexch/rerun/commit/04c94bd1ebab61f38f888d6909642cc28477e130
+sed -i 's/Listen::Silencer::DEFAULT_IGNORED_DIRECTORIES/%w(.bundle .git .hg .rbx .svn bundle log tmp)/' spec/watcher_spec.rb
+
 rspec spec
 popd
 
@@ -64,6 +74,9 @@ popd
 
 
 %changelog
+* Mon Jul 07 2014 Vít Ondruch <vondruch at redhat.com> - 0.10.0-1
+- Update to rerun 0.10.0.
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.2-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -95,7 +108,7 @@ popd
 * Tue Sep 14 2010 Michal Fojtik <mfojtik at redhat.com> - 0.5.2-3
 - Fixed inconsistent changelog entry
 
-* Fri May 05 2010 Michal Fojtik <mfojtik at redhat.com> - 0.5.2-2
+* Wed May 05 2010 Michal Fojtik <mfojtik at redhat.com> - 0.5.2-2
 - Fixed wrong patch in test
 - Added --no-ri into gem install
 
diff --git a/sources b/sources
index 4a4d6bd..22850d3 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-b443c18882e77918c59b69f7e86f237f  rerun-0.6.2-tests.tgz
-65dd4038960289bec9b5e51a44c7858e  rerun-0.6.2.gem
+31dd82fcaf302b2f814529c2042ea8e3  rerun-0.10.0-tests.tgz
+6ebdb3d0e7637e9d0142d313e7c57763  rerun-0.10.0.gem


More information about the scm-commits mailing list