summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog10
-rw-r--r--debian/clzip.postinst6
-rw-r--r--debian/clzip.prerm2
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules12
5 files changed, 21 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index 6c1a181..ece6d4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+clzip (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:04 +0200
+
clzip (1.6-1) unstable; urgency=low
* Merging upstream version 1.6.
diff --git a/debian/clzip.postinst b/debian/clzip.postinst
index abe240a..e1af1a7 100644
--- a/debian/clzip.postinst
+++ b/debian/clzip.postinst
@@ -5,9 +5,9 @@ set -e
case "${1}" in
configure)
update-alternatives --quiet \
- --install /usr/bin/lzip lzip /usr/bin/lzip.c 30 \
- --slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.c.info.gz \
- --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.c.1.gz
+ --install /usr/bin/lzip lzip /usr/bin/lzip.clzip 3000 \
+ --slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.clzip.info.gz \
+ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.clzip.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/clzip.prerm b/debian/clzip.prerm
index 0d17f9a..023e80f 100644
--- a/debian/clzip.prerm
+++ b/debian/clzip.prerm
@@ -4,7 +4,7 @@ set -e
case "${1}" in
remove|upgrade|deconfigure)
- update-alternatives --quiet --remove lzip /usr/bin/lzip.c
+ update-alternatives --quiet --remove lzip /usr/bin/lzip.clzip
;;
failed-upgrade)
diff --git a/debian/control b/debian/control
index 16bfdd6..3b78327 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Daniel Baumann <mail@daniel-baumann.ch>
Build-Depends:
debhelper (>= 9),
texinfo,
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Homepage: http://www.nongnu.org/lzip/clzip.html
Vcs-Browser: http://daniel-baumann.ch/gitweb/?p=debian/packages/clzip.git
Vcs-Git: git://daniel-baumann.ch/git/debian/packages/clzip.git
diff --git a/debian/rules b/debian/rules
index 67453bf..1ff0115 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,13 +10,13 @@ override_dh_auto_install:
rm -f debian/clzip/usr/share/info/dir*
# alternative handling
- mv debian/clzip/usr/bin/clzip debian/clzip/usr/bin/lzip.c
- mv debian/clzip/usr/share/info/clzip.info debian/clzip/usr/share/info/lzip.c.info
- mv debian/clzip/usr/share/man/man1/clzip.1 debian/clzip/usr/share/man/man1/lzip.c.1
+ mv debian/clzip/usr/bin/clzip debian/clzip/usr/bin/lzip.clzip
+ mv debian/clzip/usr/share/info/clzip.info debian/clzip/usr/share/info/lzip.clzip.info
+ mv debian/clzip/usr/share/man/man1/clzip.1 debian/clzip/usr/share/man/man1/lzip.clzip.1
- ln -s /usr/bin/lzip.c debian/clzip/usr/bin/clzip
- ln -s /usr/share/info/lzip.c.info.gz debian/clzip/usr/share/info/clzip.info.gz
- ln -s /usr/share/man/man1/lzip.c.1.gz debian/clzip/usr/share/man/man1/clzip.1.gz
+ ln -s /usr/bin/lzip.clzip debian/clzip/usr/bin/clzip
+ ln -s /usr/share/info/lzip.clzip.info.gz debian/clzip/usr/share/info/clzip.info.gz
+ ln -s /usr/share/man/man1/lzip.clzip.1.gz debian/clzip/usr/share/man/man1/clzip.1.gz
override_dh_builddeb:
dh_builddeb -- -Zxz