[DRE-commits] [rabbit] 07/11: eliminate lintian warning: debian-rules-parses-dpkg-parsechangelog
Daisuke Higuchi
dai at moszumanska.debian.org
Sun Aug 6 03:59:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository rabbit.
commit f2728cfebada5c8abaa85e31d83aaa4f5d523ee9
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Sun Aug 6 12:44:33 2017 +0900
eliminate lintian warning: debian-rules-parses-dpkg-parsechangelog
---
debian/rules | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index bff45e4..cb6bdea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
-VERSION := $(shell dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //' | sed 's/-.*$$//g')
+include /usr/share/dpkg/pkg-info.mk
+
%:
dh $@ --buildsystem ruby --with ruby
@@ -17,27 +18,32 @@ create_man::
help2man \
--name="presentation tool using RD, simple text format" \
--section=1 --manual="rabbit" --no-info --no-discard-stderr \
- "/usr/bin/ruby -Ilib bin/rabbit" --version-string=${VERSION} \
+ "/usr/bin/ruby -Ilib bin/rabbit" \
+ --version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
> debian/rabbit.1
help2man \
--name="commandline utility for Rabbit" \
--section=1 --manual="rabbit-command" --no-info --no-discard-stderr \
- "/usr/bin/ruby -Ilib bin/rabbit-command" --version-string=${VERSION} \
+ "/usr/bin/ruby -Ilib bin/rabbit-command" \
+ --version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
> debian/rabbit-command.1
help2man \
--name="IRC interface for Rabbit" \
--section=1 --manual="rabbirc" --no-info --no-discard-stderr \
- "/usr/bin/ruby -Ilib bin/rabbirc" --version-string=${VERSION} \
+ "/usr/bin/ruby -Ilib bin/rabbirc" \
+ --version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
> debian/rabbirc.1
help2man \
--name="Template generator for Rabbit" \
--section=1 --manual="rabbit-slide" --no-info --no-discard-stderr \
- "/usr/bin/ruby -Ilib bin/rabbit-slide" --version-string=${VERSION} \
+ "/usr/bin/ruby -Ilib bin/rabbit-slide" \
+ --version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
> debian/rabbit-slide.1
help2man \
--name="Theme generator for Rabbit" \
--section=1 --manual="rabbit-teme" --no-info --no-discard-stderr \
- "/usr/bin/ruby -Ilib bin/rabbit-teme" --version-string=${VERSION} \
+ "/usr/bin/ruby -Ilib bin/rabbit-teme" \
+ --version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
> debian/rabbit-theme.1
# # LC_ALL=C ruby1.8 -Ilib bin/rabbit --roff --locale-dir data/locale > debian/rabbit.1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rabbit.git
More information about the Pkg-ruby-extras-commits
mailing list