[DRE-commits] [gist] 01/03: debian/rules: rename bin/gist to bin/gist-paste *after* installation
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Feb 21 00:25:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gist.
commit 17e4e38e80caedabaa0e259eab377df27c3e6fee
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Feb 20 22:17:06 2016 -0200
debian/rules: rename bin/gist to bin/gist-paste *after* installation
---
debian/changelog | 9 +++++++++
debian/rules | 8 ++++----
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c2f2d3c..14d827e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+gist (4.5.0-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * debian/rules: rename bin/gist to bin/gist-paste *after* the installation
+ to work with a newer gem2deb which respects the metadata declared by
+ upstream when installing binaries.
+
+ -- Antonio Terceiro <terceiro at debian.org> Sat, 20 Feb 2016 22:15:37 -0200
+
gist (4.5.0-1) unstable; urgency=medium
* Imported Upstream version 4.5.0
diff --git a/debian/rules b/debian/rules
index 1fb6aab..59223cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,14 +14,14 @@
%:
dh $@ --buildsystem=ruby --with ruby
+override_dh_auto_install:
+ dh_auto_install
+ mv debian/gist/usr/bin/gist debian/gist/usr/bin/gist-paste
+
override_dh_auto_build:
- mv bin/gist bin/gist-paste
mv build/gist.1 build/gist-paste.1
override_dh_auto_clean:
- if [ -f bin/gist-paste ]; then \
- mv bin/gist-paste bin/gist; \
- fi
if [ -f build/gist-paste.1 ]; then \
mv build/gist-paste.1 build/gist.1; \
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gist.git
More information about the Pkg-ruby-extras-commits
mailing list