summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog10
-rw-r--r--debian/control2
-rw-r--r--debian/pdlzip.postinst4
-rw-r--r--debian/pdlzip.prerm2
-rwxr-xr-xdebian/rules8
5 files changed, 18 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index ec6aa27..486aaa0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+pdlzip (1.5-3) 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:15:44 +0200
+
pdlzip (1.5-2) unstable; urgency=low
* Updating to standards version 3.9.5.
diff --git a/debian/control b/debian/control
index 39d4cb4..cd3deff 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/pdlzip.html
Vcs-Browser: http://daniel-baumann.ch/gitweb/?p=debian/packages/pdlzip.git
Vcs-Git: git://daniel-baumann.ch/git/debian/packages/pdlzip.git
diff --git a/debian/pdlzip.postinst b/debian/pdlzip.postinst
index 58513cc..f5200e8 100644
--- a/debian/pdlzip.postinst
+++ b/debian/pdlzip.postinst
@@ -5,8 +5,8 @@ set -e
case "${1}" in
configure)
update-alternatives --quiet \
- --install /usr/bin/lzip lzip /usr/bin/lzip.public-domain 20 \
- --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.public-domain.1.gz
+ --install /usr/bin/lzip lzip /usr/bin/lzip.pdlzip 2000 \
+ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.pdlzip.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/pdlzip.prerm b/debian/pdlzip.prerm
index e789db0..16b049c 100644
--- a/debian/pdlzip.prerm
+++ b/debian/pdlzip.prerm
@@ -4,7 +4,7 @@ set -e
case "${1}" in
remove|upgrade|deconfigure)
- update-alternatives --quiet --remove lzip /usr/bin/lzip.public-domain
+ update-alternatives --quiet --remove lzip /usr/bin/lzip.pdlzip
;;
failed-upgrade)
diff --git a/debian/rules b/debian/rules
index 16b7a16..2ce0eb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,11 @@ override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/pdlzip
# alternative handling
- mv debian/pdlzip/usr/bin/pdlzip debian/pdlzip/usr/bin/lzip.public-domain
- mv debian/pdlzip/usr/share/man/man1/pdlzip.1 debian/pdlzip/usr/share/man/man1/lzip.public-domain.1
+ mv debian/pdlzip/usr/bin/pdlzip debian/pdlzip/usr/bin/lzip.pdlzip
+ mv debian/pdlzip/usr/share/man/man1/pdlzip.1 debian/pdlzip/usr/share/man/man1/lzip.pdlzip.1
- ln -s /usr/bin/lzip.public-domain debian/pdlzip/usr/bin/pdlzip
- ln -s /usr/share/man/man1/lzip.public-domain.1.gz debian/pdlzip/usr/share/man/man1/pdlzip.1.gz
+ ln -s /usr/bin/lzip.pdlzip debian/pdlzip/usr/bin/pdlzip
+ ln -s /usr/share/man/man1/lzip.pdlzip.1.gz debian/pdlzip/usr/share/man/man1/pdlzip.1.gz
override_dh_builddeb:
dh_builddeb -- -Zxz