[DRE-commits] [gem2deb] 01/07: dh-make-ruby: use `FIXME` in Section: when package name is not `ruby-*`
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Sep 16 00:50:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gem2deb.
commit 96721f5d83c72fc8d01d40dfaffd9481afb07b2d
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Sep 15 20:32:29 2017 -0300
dh-make-ruby: use `FIXME` in Section: when package name is not `ruby-*`
---
debian/changelog | 7 +++++++
lib/gem2deb/dh_make_ruby/template/debian/control | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0b5cbc3..200468c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gem2deb (0.36) UNRELEASED; urgency=medium
+
+ * dh-make-ruby: use `FIXME` in Section: when package name is not `ruby-*`,
+ to avoid tools being in section `ruby`.
+
+ -- Antonio Terceiro <terceiro at debian.org> Fri, 15 Sep 2017 20:31:46 -0300
+
gem2deb (0.35) unstable; urgency=medium
* dh-make-ruby: bump debian/compat template to 10 (Closes: #867741)
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/control b/lib/gem2deb/dh_make_ruby/template/debian/control
index bb51c5c..e606983 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/control
+++ b/lib/gem2deb/dh_make_ruby/template/debian/control
@@ -1,5 +1,5 @@
Source: <%= source_package_name %>
-Section: ruby
+Section: <%= source_package_name =~ /^ruby-/ && 'ruby' || 'FIXME' %>
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: <%= maintainer['DEBFULLNAME'] %> <<%= maintainer['DEBEMAIL'] %>>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list