summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog10
-rw-r--r--debian/control2
-rw-r--r--debian/lunzip.postinst4
-rw-r--r--debian/lunzip.prerm2
-rwxr-xr-xdebian/rules8
5 files changed, 18 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index c92506e..7dfbcc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+lunzip (1.6-2) unstable; urgency=low
+
+ * Updating to standards version 3.9.6.
+ * Harmonizing update-alternatives handling across all lzip-alternative
+ providing packages.
+ * Harmonizing update-alternatives priority across all lzip-alternative
+ providing packages.
+
+ -- Daniel Baumann <mail@daniel-baumann.ch> Thu, 18 Sep 2014 00:14:26 +0200
+
lunzip (1.6-1) unstable; urgency=low
* Merging upstream version 1.6.
diff --git a/debian/control b/debian/control
index 8b8edc3..25fb761 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: utils
Priority: optional
Maintainer: Daniel Baumann <mail@daniel-baumann.ch>
Build-Depends: debhelper (>= 9)
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Homepage: http://www.nongnu.org/lzip/lunzip.html
Vcs-Browser: http://daniel-baumann.ch/gitweb/?p=debian/packages/lunzip.git
Vcs-Git: git://daniel-baumann.ch/git/debian/packages/lunzip.git
diff --git a/debian/lunzip.postinst b/debian/lunzip.postinst
index 4ed0891..9e7208e 100644
--- a/debian/lunzip.postinst
+++ b/debian/lunzip.postinst
@@ -5,8 +5,8 @@ set -e
case "${1}" in
configure)
update-alternatives --quiet \
- --install /usr/bin/lzip lzip /usr/bin/lzip.decompressor 10 \
- --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.decompressor.1.gz
+ --install /usr/bin/lzip lzip /usr/bin/lzip.lunzip -1000 \
+ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.lunzip.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/lunzip.prerm b/debian/lunzip.prerm
index e731041..6e75227 100644
--- a/debian/lunzip.prerm
+++ b/debian/lunzip.prerm
@@ -4,7 +4,7 @@ set -e
case "${1}" in
remove|upgrade|deconfigure)
- update-alternatives --quiet --remove lzip /usr/bin/lzip.decompressor
+ update-alternatives --quiet --remove lzip /usr/bin/lzip.lunzip
;;
failed-upgrade)
diff --git a/debian/rules b/debian/rules
index 590b65a..8b9b910 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,11 @@ override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lunzip
# alternative handling
- mv debian/lunzip/usr/bin/lunzip debian/lunzip/usr/bin/lzip.decompressor
- mv debian/lunzip/usr/share/man/man1/lunzip.1 debian/lunzip/usr/share/man/man1/lzip.decompressor.1
+ mv debian/lunzip/usr/bin/lunzip debian/lunzip/usr/bin/lzip.lunzip
+ mv debian/lunzip/usr/share/man/man1/lunzip.1 debian/lunzip/usr/share/man/man1/lzip.lunzip.1
- ln -s /usr/bin/lzip.decompressor debian/lunzip/usr/bin/lunzip
- ln -s /usr/share/man/man1/lzip.decompressor.1.gz debian/lunzip/usr/share/man/man1/lunzip.1.gz
+ ln -s /usr/bin/lzip.lunzip debian/lunzip/usr/bin/lunzip
+ ln -s /usr/share/man/man1/lzip.lunzip.1.gz debian/lunzip/usr/share/man/man1/lunzip.1.gz
override_dh_builddeb:
dh_builddeb -- -Zxz