[med-svn] [probabel] 01/01: Updated several files in debian/ according to the suggestions by Andreas Tille as part of the MoM project. This fixes several lintian warnings. Removed debian/get-orig-source, as it is not needed.

Lennart Karssen lckarssen-guest at moszumanska.debian.org
Tue Dec 10 14:06:18 UTC 2013


This is an automated email from the git hooks/post-receive script.

lckarssen-guest pushed a commit to branch master
in repository probabel.

commit fcfc7f468e8c815b9af2aa43e58251a993b063e7
Author: L.C. Karssen <lennart at karssen.org>
Date:   Tue Dec 10 15:06:02 2013 +0100

    Updated several files in debian/ according to the suggestions by Andreas Tille as part of the MoM project. This fixes several lintian warnings.
    Removed debian/get-orig-source, as it is not needed.
---
 debian/changelog       |  4 ++--
 debian/control         |  2 +-
 debian/get-orig-source | 45 ---------------------------------------------
 debian/rules           | 10 +++++++---
 4 files changed, 10 insertions(+), 51 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f2440cc..2d8cac2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-probabel (0.4.1-1) unstable; urgency=low
+probabel (0.4.1-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #<bug>)
 
- -- DMPT <debian-med-packaging at lists.alioth.debian.org>  Sun, 08 Dec 2013 16:06:13 +0100
+ -- L.C. Karssen <lennart at karssen.org>  Mon, 09 Dec 2013 14:25:02 +0100
diff --git a/debian/control b/debian/control
index 2486359..e433339 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: probabel
 Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
+Uploaders: Andreas Tille <tille at debian.org>, L.C. Karssen <lennart at karssen.org>
 Build-Depends: debhelper (>= 9), autotools-dev, texlive-latex-base, texlive-latex-extra, latex-xcolor, libeigen3-dev
 Standards-Version: 3.9.4
 Homepage: http://www.genabel.org
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index e486809..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# if you need to repack for whatever reason you can
-# use this script via uscan or directly
-#
-# FIXME: currently the code is not conform to Debian Policy
-#        http://www.debian.org/doc/debian-policy/ch-source.html
-#        "get-orig-source (optional)"
-#        This target may be invoked in any directory, ...
-# --> currently it is assumed the script is called in the
-#     source directory featuring the debian/ dir
-
-COMPRESS=xz
-
-set -e
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-
-if ! echo $@ | grep -q upstream-version ; then
-    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
-    uscan --force-download
-else
-    VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
-    if echo "$VERSION" | grep -q "upstream-version" ; then
-        echo "Unable to parse version number"
-        exit
-    fi
-fi
-
-TARDIR=${NAME}-${VERSION}
-mkdir -p ../tarballs
-cd ../tarballs
-# need to clean up the tarballs dir first because upstream tarball might
-# contain a directory with unpredictable name
-rm -rf *
-tar -xaf ../${TARDIR}.tar.gz
-
-UPSTREAMTARDIR=`find . -mindepth 1 -maxdepth 1 -type d`
-if [ "${UPSTREAMTARDIR}" != "${TARDIR}" ] ; then
-    mv "${UPSTREAMTARDIR}" "${TARDIR}"
-fi
-
-# Remove useless binaries
-# ... do something which needs to be done ...
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}
diff --git a/debian/rules b/debian/rules
index 514459b..1a2bd2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-# DH_VERBOSE := 1
+DH_VERBOSE := 1
 
 # some helpful variables
 # shamelessly stolen from http://jmtd.net/log/awk/
@@ -19,5 +19,9 @@ GIT_TAG        := $(subst ~,_,$(VERSION))
 %:
 	dh $@  --parallel
 
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_installdocs:
+	dh_installdocs
+	rm debian/$(DEBPKGNAME)/usr/share/doc/${DEBPKGNAME}/COPYING
+	rm debian/$(DEBPKGNAME)/usr/share/doc/${DEBPKGNAME}/INSTALL
+	rm debian/$(DEBPKGNAME)/usr/share/doc/${DEBPKGNAME}/LICENSE
+	mv debian/$(DEBPKGNAME)/usr/share/doc/${DEBPKGNAME}/{ChangeLog,changelog}

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/probabel.git



More information about the debian-med-commit mailing list