summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog10
-rw-r--r--debian/control2
-rw-r--r--debian/plzip.postinst6
-rw-r--r--debian/plzip.prerm2
-rwxr-xr-xdebian/rules12
5 files changed, 21 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index dea0b18..771c2b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+plzip (1.2-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:16:01 +0200
+
plzip (1.2-1) unstable; urgency=low
* Updating copyright file.
diff --git a/debian/control b/debian/control
index cdf1c1f..49d766d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Build-Depends:
debhelper (>= 9),
liblz-dev,
texinfo,
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Homepage: http://www.nongnu.org/lzip/plzip.html
Vcs-Browser: http://daniel-baumann.ch/gitweb/?p=debian/packages/plzip.git
Vcs-Git: git://daniel-baumann.ch/git/debian/packages/plzip.git
diff --git a/debian/plzip.postinst b/debian/plzip.postinst
index 2f5d2ae..22a74b5 100644
--- a/debian/plzip.postinst
+++ b/debian/plzip.postinst
@@ -5,9 +5,9 @@ set -e
case "${1}" in
configure)
update-alternatives --quiet \
- --install /usr/bin/lzip lzip /usr/bin/lzip.parallel 200 \
- --slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.parallel.info.gz \
- --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.parallel.1.gz
+ --install /usr/bin/lzip lzip /usr/bin/lzip.plzip 6000 \
+ --slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.plzip.info.gz \
+ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.plzip.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/plzip.prerm b/debian/plzip.prerm
index 4a0cdfd..ddeeba4 100644
--- a/debian/plzip.prerm
+++ b/debian/plzip.prerm
@@ -4,7 +4,7 @@ set -e
case "${1}" in
remove|upgrade|deconfigure)
- update-alternatives --quiet --remove lzip /usr/bin/lzip.parallel
+ update-alternatives --quiet --remove lzip /usr/bin/lzip.plzip
;;
failed-upgrade)
diff --git a/debian/rules b/debian/rules
index ff97a7f..5903b9d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,13 +12,13 @@ override_dh_auto_install:
rm -f debian/plzip/usr/share/info/dir*
# alternative handling
- mv debian/plzip/usr/bin/plzip debian/plzip/usr/bin/lzip.parallel
- mv debian/plzip/usr/share/info/plzip.info debian/plzip/usr/share/info/lzip.parallel.info
- mv debian/plzip/usr/share/man/man1/plzip.1 debian/plzip/usr/share/man/man1/lzip.parallel.1
+ mv debian/plzip/usr/bin/plzip debian/plzip/usr/bin/lzip.plzip
+ mv debian/plzip/usr/share/info/plzip.info debian/plzip/usr/share/info/lzip.plzip.info
+ mv debian/plzip/usr/share/man/man1/plzip.1 debian/plzip/usr/share/man/man1/lzip.plzip.1
- ln -s /usr/bin/lzip.parallel debian/plzip/usr/bin/plzip
- ln -s /usr/share/info/lzip.parallel.info.gz debian/plzip/usr/share/info/plzip.info.gz
- ln -s /usr/share/man/man1/lzip.parallel.1.gz debian/plzip/usr/share/man/man1/plzip.1.gz
+ ln -s /usr/bin/lzip.plzip debian/plzip/usr/bin/plzip
+ ln -s /usr/share/info/lzip.plzip.info.gz debian/plzip/usr/share/info/plzip.info.gz
+ ln -s /usr/share/man/man1/lzip.plzip.1.gz debian/plzip/usr/share/man/man1/plzip.1.gz
ifeq ($(DEB_BUILD_ARCH),sparc)
override_dh_auto_test: