[med-svn] r20507 - trunk/packages/vcftools/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Mon Nov 16 14:02:06 UTC 2015


Author: tille
Date: 2015-11-16 14:02:05 +0000 (Mon, 16 Nov 2015)
New Revision: 20507

Removed:
   trunk/packages/vcftools/trunk/debian/get-orig-source
   trunk/packages/vcftools/trunk/debian/patches/
Modified:
   trunk/packages/vcftools/trunk/debian/changelog
   trunk/packages/vcftools/trunk/debian/control
   trunk/packages/vcftools/trunk/debian/rules
Log:
Remove unneeded get-orig-source script, Adapt to new build system


Modified: trunk/packages/vcftools/trunk/debian/changelog
===================================================================
--- trunk/packages/vcftools/trunk/debian/changelog	2015-11-16 13:10:51 UTC (rev 20506)
+++ trunk/packages/vcftools/trunk/debian/changelog	2015-11-16 14:02:05 UTC (rev 20507)
@@ -3,6 +3,8 @@
   * New upstream version
   * Source has moved to github
     Closes: #805287
+  * Remove unneeded get-orig-source script
+  * Adapt to new build system
 
  -- Andreas Tille <tille at debian.org>  Mon, 16 Nov 2015 14:09:02 +0100
 

Modified: trunk/packages/vcftools/trunk/debian/control
===================================================================
--- trunk/packages/vcftools/trunk/debian/control	2015-11-16 13:10:51 UTC (rev 20506)
+++ trunk/packages/vcftools/trunk/debian/control	2015-11-16 14:02:05 UTC (rev 20507)
@@ -5,6 +5,8 @@
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
+               dh-autoreconf,
+               pkg-config,
                zlib1g-dev
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/vcftools/trunk/

Deleted: trunk/packages/vcftools/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/vcftools/trunk/debian/get-orig-source	2015-11-16 13:10:51 UTC (rev 20506)
+++ trunk/packages/vcftools/trunk/debian/get-orig-source	2015-11-16 14:02:05 UTC (rev 20507)
@@ -1,25 +0,0 @@
-#/bin/bash
-
-#set -x
-PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-if ! echo $@ | grep -q upstream-version ; then
-    DVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | cut -d- -f1`
-else
-    DVERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${PKG}.*?\1?"`
-    if echo "$DVERSION" | grep -q "upstream-version" ; then
-        echo "Unable to parse version number"
-        exit
-    fi
-fi
-
-cd ../tarballs
-tar -xzf ${PKG}_${DVERSION}.tar.gz
-cd ${PKG}_${DVERSION}
-find . -name CVS -type d | xargs rm -rf
-find . -name '.svn' -type d | xargs rm -rf 
-find . -name "*.pdf" | xargs rm -f
-cd ..
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$PKG"_"$DVERSION"+dfsg.orig.tar.gz ${PKG}_${DVERSION}
-rm -rf  ${PKG}_${DVERSION}
-

Modified: trunk/packages/vcftools/trunk/debian/rules
===================================================================
--- trunk/packages/vcftools/trunk/debian/rules	2015-11-16 13:10:51 UTC (rev 20506)
+++ trunk/packages/vcftools/trunk/debian/rules	2015-11-16 14:02:05 UTC (rev 20507)
@@ -7,14 +7,10 @@
 DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 
 %:
-	dh $@ 
+	dh $@ --with autoreconf
 
-override_dh_clean:
-	dh_clean
-	# [ -r Makefile ] && make clean ?
-
 override_dh_installchangelogs:
-	dh_installchangelogs perl/ChangeLog
+	dh_installchangelogs src/perl/ChangeLog
 
 override_dh_fixperms:
 	dh_fixperms




More information about the debian-med-commit mailing list