[DRE-commits] [ruby-grack] 01/03: fix the build in unstable (broken metadata)

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Mar 2 18:18:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-grack.

commit c22ff6799be3761824f1fcbaad7ddd8f12406a1d
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Mar 2 15:12:06 2016 -0300

    fix the build in unstable (broken metadata)
---
 debian/changelog                                     |  8 ++++++++
 ...on-t-try-to-install-bogus-programs-from-bin.patch | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ba3045b..742e6e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-grack (2.0.2-2) UNRELEASED; urgency=medium
+
+  * 0002-gemspec-don-t-try-to-install-bogus-programs-from-bin.patch: fix
+    broken metadata about executables; gem2deb now checks it. This fixes
+    the build in unstable.
+
+ -- Antonio Terceiro <terceiro at debian.org>  Wed, 02 Mar 2016 15:08:32 -0300
+
 ruby-grack (2.0.2-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/patches/0002-gemspec-don-t-try-to-install-bogus-programs-from-bin.patch b/debian/patches/0002-gemspec-don-t-try-to-install-bogus-programs-from-bin.patch
new file mode 100644
index 0000000..ab86c2b
--- /dev/null
+++ b/debian/patches/0002-gemspec-don-t-try-to-install-bogus-programs-from-bin.patch
@@ -0,0 +1,20 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Wed, 2 Mar 2016 15:07:54 -0300
+Subject: gemspec: don't try to install bogus programs from bin/
+
+---
+ grack.gemspec | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/grack.gemspec b/grack.gemspec
+index 5908ef0..359fcca 100644
+--- a/grack.gemspec
++++ b/grack.gemspec
+@@ -9,7 +9,6 @@ Gem::Specification.new do |gem|
+   gem.homepage      = "https://github.com/gitlabhq/grack"
+ 
+   gem.files         = Dir.glob('**/*').reject { |s| File.directory?(s) || s =~ /^debian/ }
+-  gem.executables   = gem.files.select { |f| f =~ /^bin\// }
+   gem.test_files    = gem.files.select { |f| f =~ /^tests\// }
+   gem.name          = "gitlab-grack"
+   gem.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
index 72f7fed..54af272 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-gemspec-don-t-relly-on-git-and-relax-rack-dependency.patch
+0002-gemspec-don-t-try-to-install-bogus-programs-from-bin.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grack.git



More information about the Pkg-ruby-extras-commits mailing list