From a5f68994bf2bc448ee8b279d0defc22a8d8351ac Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Fri, 30 Sep 2011 13:09:03 +0200 Subject: [PATCH] Fix lintian warnings. --- debian/compat | 2 +- debian/control | 7 ++++--- debian/links | 3 +-- debian/postinst | 2 +- debian/rules | 6 ++++-- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index fcb271b..6e7ef5c 100644 --- a/debian/control +++ b/debian/control @@ -3,14 +3,15 @@ Section: admin Priority: extra Maintainer: Grupa za izradu paketa Uploaders: Valentin Vidic -Build-Depends: debhelper (>= 5), debiandoc-sgml, texlive, texlive-latex-extra, gs-gpl | gs -Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 7), debiandoc-sgml, texlive, texlive-latex-extra, + ghostscript +Standards-Version: 3.9.1 Package: carnet-upgrade Architecture: all Depends: dialog, wget, ${misc:Depends} Description: CARNet distribution upgrade script - This package provides cn-upgrade, a helper script + This package provides carnet-upgrade, a helper script to facilitate upgrades between different versions of CARNet Debian Linux distributions, by resolving various issues that keep apt-get dist-upgrade from diff --git a/debian/links b/debian/links index 0b4576d..e2e40e2 100644 --- a/debian/links +++ b/debian/links @@ -1,2 +1 @@ -usr/share/carnet-upgrade/cn-upgrade usr/sbin/cn-upgrade -usr/sbin/cn-upgrade usr/sbin/carnet-upgrade +usr/share/carnet-upgrade/cn-upgrade usr/sbin/carnet-upgrade diff --git a/debian/postinst b/debian/postinst index 3981790..589daf7 100644 --- a/debian/postinst +++ b/debian/postinst @@ -35,7 +35,7 @@ if [ "$1" = "configure" ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # clear old cached values - if dpkg --compare-versions "$2" lt 5.0; then + if dpkg --compare-versions "$2" lt 6.0; then db_set carnet-upgrade/debconf-priority "" db_set carnet-upgrade/check-services "" diff --git a/debian/rules b/debian/rules index b7a9059..2fb76e9 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,9 @@ endif PKG_VERSION = $(shell dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: doc/carnet-upgrade-src.sgml dh_testdir @@ -56,7 +58,7 @@ clean: install: build dh_testdir dh_testroot - dh_clean -k + dh_clean dh_installdirs # Install the package. -- 1.7.10.4