diff -Nru ruby-listen-3.1.5/debian/changelog ruby-listen-3.1.5/debian/changelog --- ruby-listen-3.1.5/debian/changelog 2017-12-05 07:21:17.000000000 +0000 +++ ruby-listen-3.1.5/debian/changelog 2020-02-29 13:38:33.000000000 +0000 @@ -1,3 +1,25 @@ +ruby-listen (3.1.5-2) unstable; urgency=medium + + * Team upload. + * d/compat: Remove obsolete file. + * d/control: Add Rules-Requires-Root and Testsuite fields. + (Build-Depends): Use debhelper-compat version 12 and raise version of + ruby-rb-inotify to 0.9.7 according to gemspec. + (Standards-Version): Bump to 4.5.0. + (Vcs-Browser, Vcs-Git): Fix URLs. + (Depends): Remove interpreter. + * d/copyright (Format): Fix insecure-copyright-format-uri. + * d/rules: Add override to install upstream CHANGELOG.md. + * d/upstream/metadata: Add metadata. + * d/patches/0005-Fix-linux-specs.patch: Add patch. + - Use raw Pathname to fix Linux specs (closes: #952030). + * d/patches/0006-Disable-coveralls.patch: Add patch. + - Don't use coveralls at all. + * d/patches/series: Add new patch. + * d/tests/: Remove old tests now triggered by Testsuite. + + -- Daniel Leidert Sat, 29 Feb 2020 14:38:33 +0100 + ruby-listen (3.1.5-1) unstable; urgency=medium * Team upload. diff -Nru ruby-listen-3.1.5/debian/compat ruby-listen-3.1.5/debian/compat --- ruby-listen-3.1.5/debian/compat 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -10 diff -Nru ruby-listen-3.1.5/debian/control ruby-listen-3.1.5/debian/control --- ruby-listen-3.1.5/debian/control 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/control 2020-02-29 13:38:33.000000000 +0000 @@ -4,25 +4,24 @@ Maintainer: Debian Ruby Extras Maintainers Uploaders: Markus Tornow , Cédric Boutillier -Build-Depends: debhelper (>= 10~), +Build-Depends: debhelper-compat (= 12), gem2deb, rake, - ruby-rb-inotify (>= 0.9), + ruby-rb-inotify (>= 0.9.7), ruby-rspec, ruby-thor -Standards-Version: 4.1.1 -Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-listen.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-listen.git +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-listen +Vcs-Git: https://salsa.debian.org/ruby-team/ruby-listen.git Homepage: https://github.com/guard/listen +Testsuite: autopkgtest-pkg-ruby XS-Ruby-Versions: all +Rules-Requires-Root: no Package: ruby-listen Architecture: all XB-Ruby-Versions: ${ruby:Versions} -Depends: ruby | ruby-interpreter, - ruby-rb-inotify (>= 0.9), - ${misc:Depends}, - ${shlibs:Depends} +Depends: ${misc:Depends}, ${ruby:Depends}, ${shlibs:Depends} Description: Ruby library listening to file modifications This Ruby library listens to file modifications and notifies you about the changes. diff -Nru ruby-listen-3.1.5/debian/copyright ruby-listen-3.1.5/debian/copyright --- ruby-listen-3.1.5/debian/copyright 2017-11-26 14:20:08.000000000 +0000 +++ ruby-listen-3.1.5/debian/copyright 2020-02-29 13:38:33.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: listen Source: https://github.com/guard/listen diff -Nru ruby-listen-3.1.5/debian/patches/0001-Remove-OSX-specific-dependency.patch ruby-listen-3.1.5/debian/patches/0001-Remove-OSX-specific-dependency.patch --- ruby-listen-3.1.5/debian/patches/0001-Remove-OSX-specific-dependency.patch 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/patches/0001-Remove-OSX-specific-dependency.patch 2020-02-29 13:38:33.000000000 +0000 @@ -2,22 +2,15 @@ Date: Fri, 7 Aug 2015 18:14:14 -0300 Subject: Remove OSX-specific dependency -Index: ruby-listen/listen.gemspec -=================================================================== ---- ruby-listen.orig/listen.gemspec -+++ ruby-listen/listen.gemspec -@@ -30,7 +30,6 @@ Gem::Specification.new do |s| - abort "Install 'ruby_dep' gem before building this gem" - end - -- s.add_dependency 'rb-fsevent', '~> 0.9', '>= 0.9.4' - s.add_dependency 'rb-inotify', '~> 0.9', '>= 0.9.7' - - # Used to show warnings at runtime -Index: ruby-listen/lib/listen/adapter/darwin.rb -=================================================================== ---- ruby-listen.orig/lib/listen/adapter/darwin.rb -+++ ruby-listen/lib/listen/adapter/darwin.rb +--- + lib/listen/adapter/darwin.rb | 1 - + listen.gemspec | 1 - + 2 files changed, 2 deletions(-) + +diff --git a/lib/listen/adapter/darwin.rb b/lib/listen/adapter/darwin.rb +index d65779f..dcd17b3 100644 +--- a/lib/listen/adapter/darwin.rb ++++ b/lib/listen/adapter/darwin.rb @@ -22,7 +22,6 @@ module Listen EOS @@ -26,3 +19,15 @@ version = RbConfig::CONFIG['target_os'][OS_REGEXP, :major_version] return false unless version return true if version.to_i >= 13 # darwin13 is OS X 10.9 +diff --git a/listen.gemspec b/listen.gemspec +index 4e110b0..c0f20b4 100644 +--- a/listen.gemspec ++++ b/listen.gemspec +@@ -30,7 +30,6 @@ Gem::Specification.new do |s| + abort "Install 'ruby_dep' gem before building this gem" + end + +- s.add_dependency 'rb-fsevent', '~> 0.9', '>= 0.9.4' + s.add_dependency 'rb-inotify', '~> 0.9', '>= 0.9.7' + + # Used to show warnings at runtime diff -Nru ruby-listen-3.1.5/debian/patches/0002-gemspec-skip-git-usage.patch ruby-listen-3.1.5/debian/patches/0002-gemspec-skip-git-usage.patch --- ruby-listen-3.1.5/debian/patches/0002-gemspec-skip-git-usage.patch 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/patches/0002-gemspec-skip-git-usage.patch 2020-02-29 13:38:33.000000000 +0000 @@ -6,10 +6,10 @@ listen.gemspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -Index: ruby-listen/listen.gemspec -=================================================================== ---- ruby-listen.orig/listen.gemspec -+++ ruby-listen/listen.gemspec +diff --git a/listen.gemspec b/listen.gemspec +index c0f20b4..4cf7d6f 100644 +--- a/listen.gemspec ++++ b/listen.gemspec @@ -14,9 +14,7 @@ Gem::Specification.new do |s| s.description = 'The Listen gem listens to file modifications and '\ 'notifies you about the changes. Works everywhere!' diff -Nru ruby-listen-3.1.5/debian/patches/0004-disable-ruby_dep.patch ruby-listen-3.1.5/debian/patches/0004-disable-ruby_dep.patch --- ruby-listen-3.1.5/debian/patches/0004-disable-ruby_dep.patch 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/patches/0004-disable-ruby_dep.patch 2020-02-29 13:38:33.000000000 +0000 @@ -1,12 +1,18 @@ -Description: disable ruby_dep -Author: HIGUCHI Daisuke (VDR dai) +From: "HIGUCHI Daisuke (VDR dai)" +Date: Mon, 27 Nov 2017 00:16:51 +0900 +Subject: disable-ruby_dep + Forwarded: not-needed Last-Update: 2017-11-26 +--- + lib/listen.rb | 5 ----- + listen.gemspec | 11 ----------- + 2 files changed, 16 deletions(-) -Index: ruby-listen/lib/listen.rb -=================================================================== ---- ruby-listen.orig/lib/listen.rb -+++ ruby-listen/lib/listen.rb +diff --git a/lib/listen.rb b/lib/listen.rb +index fc9ae3e..a488843 100644 +--- a/lib/listen.rb ++++ b/lib/listen.rb @@ -4,11 +4,6 @@ require 'listen/listener' require 'listen/internals/thread_pool' @@ -19,10 +25,10 @@ # Always set up logging by default first time file is required # # NOTE: If you need to clear the logger completely, do so *after* -Index: ruby-listen/listen.gemspec -=================================================================== ---- ruby-listen.orig/listen.gemspec -+++ ruby-listen/listen.gemspec +diff --git a/listen.gemspec b/listen.gemspec +index 4cf7d6f..51722a0 100644 +--- a/listen.gemspec ++++ b/listen.gemspec @@ -20,18 +20,7 @@ Gem::Specification.new do |s| s.executable = 'listen' s.require_path = 'lib' diff -Nru ruby-listen-3.1.5/debian/patches/0005-Fix-linux-specs.patch ruby-listen-3.1.5/debian/patches/0005-Fix-linux-specs.patch --- ruby-listen-3.1.5/debian/patches/0005-Fix-linux-specs.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-listen-3.1.5/debian/patches/0005-Fix-linux-specs.patch 2020-02-29 13:38:33.000000000 +0000 @@ -0,0 +1,34 @@ +From: Samuel Williams +Date: Sun, 16 Dec 2018 11:32:45 +1300 +Subject: Use raw Pathname to fix Linux specs. + +Origin: https://github.com/guard/listen/commit/2908365366792ac3ba010fa32bc3be2beaed451a.patch +Reviewed-by: Daniel Leidert +Bug-Debian: https://bugs.debian.org/952030 +--- + spec/lib/listen/adapter/linux_spec.rb | 12 +----------- + 1 file changed, 1 insertion(+), 11 deletions(-) + +diff --git a/spec/lib/listen/adapter/linux_spec.rb b/spec/lib/listen/adapter/linux_spec.rb +index d77f0c0..da48319 100644 +--- a/spec/lib/listen/adapter/linux_spec.rb ++++ b/spec/lib/listen/adapter/linux_spec.rb +@@ -10,17 +10,7 @@ RSpec.describe Listen::Adapter::Linux do + end + + if linux? +- let(:dir1) do +- instance_double( +- Pathname, +- 'dir1', +- to_s: '/foo/dir1', +- cleanpath: real_dir1 +- ) +- end +- +- # just so cleanpath works in above double +- let(:real_dir1) { instance_double(Pathname, 'dir1', to_s: '/foo/dir1') } ++ let(:dir1) {Pathname.new("/foo/dir1")} + + let(:config) { instance_double(Listen::Adapter::Config) } + let(:queue) { instance_double(Queue) } diff -Nru ruby-listen-3.1.5/debian/patches/0006-Disable-coveralls.patch ruby-listen-3.1.5/debian/patches/0006-Disable-coveralls.patch --- ruby-listen-3.1.5/debian/patches/0006-Disable-coveralls.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-listen-3.1.5/debian/patches/0006-Disable-coveralls.patch 2020-02-29 13:38:33.000000000 +0000 @@ -0,0 +1,25 @@ +From: Daniel Leidert +Date: Sat, 29 Feb 2020 14:17:51 +0100 +Subject: Disable coveralls + +Disable coveralls. Otherwise we have another failure thrown by coveralls. +--- + spec/spec_helper.rb | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb +index 2d2a8fc..005cbe9 100644 +--- a/spec/spec_helper.rb ++++ b/spec/spec_helper.rb +@@ -9,11 +9,6 @@ def ci? + ENV['CI'] + end + +-if ci? +- require 'coveralls' +- Coveralls.wear! +-end +- + Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } + + # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration diff -Nru ruby-listen-3.1.5/debian/patches/series ruby-listen-3.1.5/debian/patches/series --- ruby-listen-3.1.5/debian/patches/series 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/patches/series 2020-02-29 13:38:33.000000000 +0000 @@ -1,3 +1,5 @@ 0001-Remove-OSX-specific-dependency.patch 0002-gemspec-skip-git-usage.patch 0004-disable-ruby_dep.patch +0005-Fix-linux-specs.patch +0006-Disable-coveralls.patch diff -Nru ruby-listen-3.1.5/debian/rules ruby-listen-3.1.5/debian/rules --- ruby-listen-3.1.5/debian/rules 2017-12-05 07:21:17.000000000 +0000 +++ ruby-listen-3.1.5/debian/rules 2020-02-29 13:38:33.000000000 +0000 @@ -8,3 +8,6 @@ override_dh_auto_clean: rm -fr $(CURDIR)/spec/.fixtures dh_auto_clean + +override_dh_installchangelogs: + dh_installchangelogs CHANGELOG.md diff -Nru ruby-listen-3.1.5/debian/tests/control ruby-listen-3.1.5/debian/tests/control --- ruby-listen-3.1.5/debian/tests/control 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -Tests: run-test -Depends: @, quilt, gem2deb-test-runner, rake, ruby-rb-inotify, ruby-rspec, ruby-thor -Restrictions: allow-stderr diff -Nru ruby-listen-3.1.5/debian/tests/run-test ruby-listen-3.1.5/debian/tests/run-test --- ruby-listen-3.1.5/debian/tests/run-test 2017-11-27 00:43:02.000000000 +0000 +++ ruby-listen-3.1.5/debian/tests/run-test 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -#!/bin/sh - -set -e - -QUILT_PATCHES=debian/patches quilt push -a || true -gem2deb-test-runner --check-dependencies --autopkgtest 2>&1 -QUILT_PATCHES=debian/patches quilt pop -a || true diff -Nru ruby-listen-3.1.5/debian/upstream/metadata ruby-listen-3.1.5/debian/upstream/metadata --- ruby-listen-3.1.5/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ ruby-listen-3.1.5/debian/upstream/metadata 2020-02-29 13:38:33.000000000 +0000 @@ -0,0 +1,9 @@ +--- +Archive: GitHub +Bug-Database: https://github.com/guard/listen/issues +Bug-Submit: https://github.com/guard/listen/issues +Changelog: https://github.com/guard/listen/tags +Contact: https://github.com/guard/listen/issues +Name: listen +Repository: https://github.com/guard/listen.git +Repository-Browse: https://github.com/guard/listen