[DRE-commits] [ruby-cliver] 02/02: Fix lintian warnings
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Tue Mar 1 17:49:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-cliver.
commit 66a824a4daa8dcf4f650ad0b0b74594bc4793b7e
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Tue Mar 1 14:18:21 2016 -0300
Fix lintian warnings
---
debian/changelog | 5 ++++-
debian/control | 15 ++++++++++-----
debian/patches/cliver.rb.patch | 9 +++++++++
debian/patches/fix_tests_for_rspec3.3.0.patch | 14 ++++++++++++++
4 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0b05280..7fd30d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,10 @@
ruby-cliver (0.3.2-2) unstable; urgency=medium
* Team upload.
- * Fix tests for new rspec version 3.3.0
+ * Fix tests for new rspec version 3.3.0.
+ * debian/control: Fix both vcs-git and vcs-browser links, silence lintian.
+ * debian/control: Update standards-version to 3.9.7, silence lintian.
+ * debian/patches: Add DEP-3 headers to both patches.
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Tue, 01 Mar 2016 13:54:06 -0300
diff --git a/debian/control b/debian/control
index 16a4854..e409bb4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,13 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
-Build-Depends: debhelper (>= 9~), gem2deb, ruby-rspec, rake
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-cliver.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cliver.git;a=summary
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ rake,
+ ruby-rspec
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-cliver.git
+Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cliver.git;a=summary
Homepage: https://www.github.com/yaauie/cliver
Testsuite: autopkgtest
XS-Ruby-Versions: all
@@ -14,7 +17,9 @@ XS-Ruby-Versions: all
Package: ruby-cliver
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: cross-platform version constraints for cli tools
Cliver is a simple gem that provides an easy way to detect and use
command-line dependencies. Under the covers, it uses
diff --git a/debian/patches/cliver.rb.patch b/debian/patches/cliver.rb.patch
index 83ea3d2..60e8e7a 100644
--- a/debian/patches/cliver.rb.patch
+++ b/debian/patches/cliver.rb.patch
@@ -1,3 +1,12 @@
+Description: Fix cliver import
+ Since require is now relative to the directory which it is in, the
+ File.expand_path is not necessary.
+
+Author: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
+Last-updated: 2015-08-28
+Forwarded: not-needed
+Bug: not-needed
+
--- a/lib/cliver.rb
+++ b/lib/cliver.rb
@@ -1,6 +1,6 @@
diff --git a/debian/patches/fix_tests_for_rspec3.3.0.patch b/debian/patches/fix_tests_for_rspec3.3.0.patch
index 1e43deb..3bf2fb7 100644
--- a/debian/patches/fix_tests_for_rspec3.3.0.patch
+++ b/debian/patches/fix_tests_for_rspec3.3.0.patch
@@ -1,3 +1,17 @@
+Description: Fix tests for rspec 3.3.0
+ For newer rspec versions, the methods be_false and be_true don't exist
+ anymore. Their behaviour was replaced by be_falsey and be_truthy,
+ respectivelly. Therefore, to fix the build, the test was updated with
+ these new methods signatures.
+
+ This fix can be found on the upstream project, however a new release
+ was not made yet with the fix described above.
+
+Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
+Last-updated: 2016-03-01
+Forwarded: not-needed
+Bug: not-needed
+
Index: ruby-cliver/spec/cliver_spec.rb
===================================================================
--- ruby-cliver.orig/spec/cliver_spec.rb 2016-03-01 13:49:50.498689244 -0300
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-cliver.git
More information about the Pkg-ruby-extras-commits
mailing list