[med-svn] [Git][med-team/libfastahack][master] 9 commits: d/watch: Use git mode; drop now unneeded get-orig-source target

Andreas Tille gitlab at salsa.debian.org
Sat Jul 14 07:16:36 BST 2018


Andreas Tille pushed to branch master at Debian Med / libfastahack


Commits:
b513a5d0 by Andreas Tille at 2018-07-14T08:09:04+02:00
d/watch: Use git mode; drop now unneeded get-orig-source target

- - - - -
7fc93e2e by Andreas Tille at 2018-07-14T08:09:29+02:00
New upstream version 0.0+git20160702.bbc645f+dfsg
- - - - -
0e7a12e8 by Andreas Tille at 2018-07-14T08:09:29+02:00
Update upstream source from tag 'upstream/0.0+git20160702.bbc645f+dfsg'

Update to upstream version '0.0+git20160702.bbc645f+dfsg'
with Debian dir edb6791cbcacfd18667381dab7d0dc9c6f1f997d
- - - - -
f20deb0a by Andreas Tille at 2018-07-14T08:10:00+02:00
debhelper 11

- - - - -
bc59053f by Andreas Tille at 2018-07-14T08:10:02+02:00
Point Vcs fields to salsa.debian.org

- - - - -
ca27d17b by Andreas Tille at 2018-07-14T08:10:02+02:00
Standards-Version: 4.1.5

- - - - -
a1c076c0 by Andreas Tille at 2018-07-14T08:14:58+02:00
Force --no-parallel since package would not build otherwise

- - - - -
289285bc by Andreas Tille at 2018-07-14T08:15:33+02:00
hardening=+all

- - - - -
78cc38dd by Andreas Tille at 2018-07-14T08:16:14+02:00
do not parse d/changelog

- - - - -


7 changed files:

- debian/changelog
- debian/compat
- debian/control
- debian/copyright
- − debian/get-orig-source
- debian/rules
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+libfastahack (0.0+git20160702.bbc645f+dfsg-1) UNRELEASED; urgency=medium
+
+  * d/watch: Use git mode
+  * drop now unneeded get-orig-source target
+  * debhelper 11
+  * Point Vcs fields to salsa.debian.org
+  * Standards-Version: 4.1.5
+  * Force --no-parallel since package would not build otherwise
+  * hardening=+all
+  * d/rules: do not parse d/changelog
+
+ -- Andreas Tille <tille at debian.org>  Sat, 14 Jul 2018 08:03:24 +0200
+
 libfastahack (0.0+20160702-1) unstable; urgency=medium
 
   * Initial release (Closes: #827978)


=====================================
debian/compat
=====================================
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+11


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,12 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 9),
-               dh-autoreconf,
+Build-Depends: debhelper (>= 11~),
                d-shlibs,
                libdisorder-dev
-Standards-Version: 3.9.8
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libfastahack.git
-Vcs-Git: https://anonscm.debian.org/git/debian-med/libfastahack.git
+Standards-Version: 4.1.5
+Vcs-Browser: https://salsa.debian.org/med-team/libfastahack
+Vcs-Git: https://salsa.debian.org/med-team/libfastahack.git
 Homepage: https://github.com/ekg/fastahack
 
 Package: libfastahack0


=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: fastahack
 Source: https://github.com/ekg/fastahack
+Files-Excluded: */*disorder*
+                */.travis.yml
+                */.gitignore
 
 Files: *
 Copyright: 2000-2016 Erik Garrison <erik.garrison at gmail.com>


=====================================
debian/get-orig-source deleted
=====================================
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh -e
-
-COMPRESS=xz
-
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-ORIGNAME=`echo $NAME | sed 's/^lib//'`
-MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
-
-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 *
-git clone --quiet https://github.com/ekg/fastahack
-cd $ORIGNAME
-VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
-# for esthetical reasons set file timestamps (if git-restore-mtime is installed)
-git restore-mtime || true
-cd ..
-TARDIR=${NAME}-${VERSION}
-mv ${ORIGNAME} ${TARDIR}
-rm -rf ${TARDIR}/.git*
-rm -rf ${TARDIR}/*disorder*
-rm -rf ${TARDIR}/.travis.yml
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,10 @@
 
 # DH_VERBOSE := 1
 
-DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --no-parallel
 
 override_dh_install:
 	dh_install
@@ -18,7 +15,4 @@ override_dh_install:
 		    --exclude-la \
 		    --movedev debian/tmp/usr/include/* usr/include \
 		    --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
-		    debian/tmp/usr/lib/*/$(DEBPKGNAME).so
-
-get-orig-source:
-	. debian/get-orig-source
+		    debian/tmp/usr/lib/*/*.so


=====================================
debian/watch
=====================================
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,7 @@
-# version=3
-# Upstream does not tag releases
+version=4
+
+opts="mode=git,pretty=0.0+git%cd.%h,repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+    https://github.com/ekg/fastahack.git HEAD
+
+# Issue asking for release tags:
+#    https://github.com/ekg/fastahack/issues/14



View it on GitLab: https://salsa.debian.org/med-team/libfastahack/compare/08e273b31a55f70a60d907ba08567a3f281548ce...78cc38ddad734a5e11b9fbbc9ada8daec4d78725

-- 
View it on GitLab: https://salsa.debian.org/med-team/libfastahack/compare/08e273b31a55f70a60d907ba08567a3f281548ce...78cc38ddad734a5e11b9fbbc9ada8daec4d78725
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180714/2e11d8e8/attachment-0001.html>


More information about the debian-med-commit mailing list