#1 Update to listen 3.2.0
Merged 4 years ago by pvalena. Opened 4 years ago by pvalena.
rpms/ pvalena/rubygem-listen rebase  into  master

file modified
+2 -10
@@ -1,10 +1,2 @@ 

- /listen-0.4.7-specs.tar.gz

- /listen-0.4.7.gem

- /listen-2.7.9.gem

- /listen-2.7.11.gem

- /listen-3.0.3.gem

- /rubygem-listen-3.0.3-tests.tgz

- /listen-3.0.6.gem

- /rubygem-listen-3.0.6-tests.tgz

- /listen-3.1.5.gem

- /rubygem-listen-3.1.5-tests.tgz

+ /listen-*.gem

+ /rubygem-listen-*-tests.tgz

file modified
+9 -17
@@ -2,19 +2,15 @@ 

  %global gem_name listen

  

  Name: rubygem-%{gem_name}

- Version: 3.1.5

- Release: 8%{?dist}

+ Version: 3.2.0

+ Release: 1%{?dist}

  Summary: Listen to file modifications

  License: MIT

  URL: https://github.com/guard/listen

  Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

- # git clone https://github.com/guard/listen.git && cd listen

- # git checkout v3.1.5 && tar czvf rubygem-listen-3.1.5-tests.tgz spec

- Source1: rubygem-listen-%{version}-tests.tgz

- # Fix test suite on Ruby 2.6.

- # https://github.com/guard/listen/commit/466594233b9ee4377cc9f3a845ab8c60b33134a8

- # https://github.com/guard/listen/commit/2908365366792ac3ba010fa32bc3be2beaed451a

- Patch0: rubygem-listen-3.1.5-Fix-issue-with-2.6.patch

+ # git clone https://github.com/guard/listen.git --no-checkout

+ # cd listen && git archive -v -o rubygem-listen-3.2.0-spec.txz v3.2.0 spec

+ Source1: rubygem-listen-%{version}-spec.txz

  BuildRequires: ruby(release)

  BuildRequires: rubygems-devel

  BuildRequires: ruby
@@ -40,21 +36,14 @@ 

  %setup -q -n %{gem_name}-%{version} -b 1

  

  pushd %{_builddir}

- %patch0 -p1

  popd

  

  # Remove the hardcoded dependencies. We don't have them in Fedora

  # (except rb-inotify), they are platform specifis and not needed.

  # https://github.com/guard/listen/pull/54

- %gemspec_remove_dep -g rb-fsevent [">= 0.9.4", "~> 0.9"]

+ %gemspec_remove_dep -g rb-fsevent [">= 0.10.3", "~> 0.10"]

  sed -i '/def self.usable?$/a         return false' lib/listen/adapter/darwin.rb

  

- # Remove ruby_dep dependency. We don't need to warn about Ruby versions.

- %gemspec_remove_dep -g ruby_dep "~> 1.2"

- sed -i '/ruby_dep/ s/^/#/' lib/listen.rb

- sed -i '/RubyDep/ s/^/#/' lib/listen.rb

- 

- 

  %build

  # Create the gem as gem install only works on a gem file

  gem build ../%{gem_name}-%{version}.gemspec
@@ -103,6 +92,9 @@ 

  %doc %{gem_instdir}/README.md

  

  %changelog

+ * Tue Nov 12 2019 Pavel Valena <pvalena@redhat.com> - 3.2.0-1

+ - Update to listen 3.2.0.

+ 

  * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-8

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

file modified
+2 -2
@@ -1,2 +1,2 @@ 

- 526af08cfe7d65d44a8680fd5d89d97e  listen-3.1.5.gem

- 062926e3343312d89c20e6955f54f135  rubygem-listen-3.1.5-tests.tgz

+ SHA512 (listen-3.2.0.gem) = 6aade02e09bc212154646c0d69f105cd4203bf6d537ba1d0ccdf9e0fa075451918d79dcdd4fdd6c3cca7d5b0dd1df1344568d0deb7d444c31ba5df3c0c8a38fe

+ SHA512 (rubygem-listen-3.2.0-spec.txz) = 687d6c507bc0fe64c69866964ab0ff8091bb810df84bd59184a936f92cdea6cc4e7c3626789bcc0a673558903645256d95c76151a74eedf10c5c6c3986e87a54

also enhance .gitignore file.


To have latest listen gem in Fedora.

Up-to-date Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=38965160

Up-to-date Copr build:
https://copr.fedorainfracloud.org/coprs/build/1093237

Checks:

  • Syntax check: ok
  • Tests: errors ok
  • Dependent packages: ok
  • Smoke test: ok
  • rpmlint: ok

Tests: errors

This means you are working in progress for that, right?

Tests: errors

This means you are working in progress for that, right?

That was a false positive. Thanks for noticing!

What it actually means, at this point, is that there is no " 0 errors" stated in build log. The actual build passes, off course, without any errors. I would not create this PR otherwise.

Pull-Request has been merged by pvalena

4 years ago