[jasperreports] 01/07: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Dec 11 12:25:11 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository jasperreports.

commit 884505f8ae4ae168c25a2386fcd0de2240f4bb26
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Dec 11 09:37:15 2017 +0100

    Track and download the new releases from GitHub
---
 debian/changelog        |  7 +++++++
 debian/copyright        |  8 ++++++--
 debian/orig-tar.exclude |  9 ---------
 debian/orig-tar.sh      | 14 --------------
 debian/rules            |  2 +-
 debian/watch            |  6 +++---
 6 files changed, 17 insertions(+), 29 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 149311c..6383f1e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jasperreports (6.2.2-6) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Track and download the new releases from GitHub
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 11 Dec 2017 08:52:07 +0100
+
 jasperreports (6.2.2-5) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/copyright b/debian/copyright
index c479da4..0ce8d1b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,14 +1,18 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: JasperReports
 Source: http://jasperreports.sourceforge.net
+Files-Excluded: jasperreports/.settings
+                jasperreports/.classpath
+                jasperreports/.project
+                jasperreports/src/org/w3c/tools/codec/Base64*
+                jasperreports/demo/*
+                *.pdf
 Comment:
  The upstream tarball has been stripped to make a DFSG-compliant version.
  Items removed from upstream:
  - all packaged JAR
  - generated Javadoc
  - non-DFSG-compliant Base64 encoder/decoder under W3C license
- Repacking can be done using debian/orig-tar.sh script.
- Excluded files are listed in debian/orig-tar.exclude.
 
 Files: *
 Copyright: 2001-2014, TIBCO Software Inc
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
deleted file mode 100644
index 12ecc29..0000000
--- a/debian/orig-tar.exclude
+++ /dev/null
@@ -1,9 +0,0 @@
-lib/*
-demo/*
-build/*
-dist/*
-src/org/w3c/tools/codec/Base64*
-*.pdf
-.settings
-.classpath
-.project
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index ffe0618..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh -e
-
-# $2 = version
-# $3 = file
-PACKAGE=$(dpkg-parsechangelog -S Source)
-VERSION=$2
-DIR=${PACKAGE}-${VERSION}
-TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
-
-# clean up the upstream tarball
-mkdir $DIR
-tar -xf $3 --strip-components=2 -C $DIR
-XZ_OPT=--best tar cvJf $TAR -X debian/orig-tar.exclude $DIR
-rm -rf $DIR
diff --git a/debian/rules b/debian/rules
index 2795377..f6c19ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,4 +12,4 @@ override_dh_auto_clean:
 	rm -Rf dist
 
 get-orig-source:
-	uscan --verbose --download-current-version --force-download
+	uscan --verbose --download-current-version --force-download --rename
diff --git a/debian/watch b/debian/watch
index 885de1e..12d3d54 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
-version=3
-opts=dversionmangle=s/\+dfsg$// \
-     http://sf.net/jasperreports/jasperreports-(.+)-project\.tar\.gz debian debian/orig-tar.sh
+version=4
+opts=mode=git,repack=true,compression=xz,dversionmangle=s/\+dfsg$//,uversionmangle=s/\-/./g \
+https://github.com/TIBCOSoftware/jasperreports refs/tags/jr-([\d\-]+)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jasperreports.git



More information about the pkg-java-commits mailing list