[cpp-sp] 06/08: Move repacking options into the watch file

Scott Cantor cantor.2 at osu.edu
Thu Dec 20 19:49:30 EST 2018


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

scantor pushed a commit to annotated tag debian/2.6.1+dfsg1-1
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=68b792bb371d07764418960a5f20bfba81357227

commit 68b792bb371d07764418960a5f20bfba81357227
Author: Ferenc Wágner <wferi at debian.org>
AuthorDate: Mon Nov 20 11:53:03 2017 +0100

    Move repacking options into the watch file
    
    We have to resort to unconditional repacking to be able to change
    the compression scheme.  However, mk-origtargz will warn if the
    file exclusion pattern does not match, so we can disable repacking
    whenever it gets unnecessary for DFSG reasons.
---
 debian/rules | 6 ------
 debian/watch | 2 ++
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 27d3b52..403fc95 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,12 +17,6 @@ else
     remove-service = shibd-systemd
 endif
 
-# Download the upstream source and do the repackaging that we have to do for
-# DFSG reasons.  Depends on devscripts.  Mostly a reminder until devscripts
-# version 2.15.10 enables setting these options in the watch file.
-get-orig-source:
-	uscan --repack --compression=xz --destdir='$(CURDIR)'
-
 %:
 	dh $@ --parallel --with apache2,autoreconf,systemd
 
diff --git a/debian/watch b/debian/watch
index 7f0164f..5430095 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,8 @@
 version=3
 opts="dversionmangle=s/\+dfsg\d*$//,\
 repacksuffix=+dfsg1,\
+repack,\
+compression=xz,\
 pgpsigurlmangle=s/$/.asc/" \
     https://shibboleth.net/downloads/service-provider/latest/ \
     shibboleth-sp-([\d.]+)\.tar\.bz2

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list