[cpl-plugin-giraf] 06/13: Add +dfsg to version to indicate repackaging

Ole Streicher olebole-guest at moszumanska.debian.org
Tue Dec 3 21:17:35 UTC 2013


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

olebole-guest pushed a commit to branch debian
in repository cpl-plugin-giraf.

commit e44a0bbe1cdf9aabbd58e9a54308f5059bfbed52
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Dec 3 09:47:27 2013 +0100

    Add +dfsg to version to indicate repackaging
---
 debian/README.Source | 6 ++++++
 debian/repackage.sh  | 6 +++---
 debian/watch         | 1 +
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/README.Source b/debian/README.Source
new file mode 100644
index 0000000..6dbc21d
--- /dev/null
+++ b/debian/README.Source
@@ -0,0 +1,6 @@
+The original -kit tar file contains a number of additional components which
+are not DFSG-free (namely gasgano), or already included in Debian (like cpl,
+esorex, and additional libraries). Only the pipeline sources and calibration
+files are extracted from this -kit tar file.
+
+ -- Ole Streicher <debian at liska.ath.cx>  Tue, 01 Dec 2013 09:18:46 +0100
diff --git a/debian/repackage.sh b/debian/repackage.sh
index 70f0a57..022c3ce 100755
--- a/debian/repackage.sh
+++ b/debian/repackage.sh
@@ -39,17 +39,17 @@ fi
 
 tar xf ${BASEDIR}/${PIPELINE}-kit-${VERSION}/${PIPELINE}-${VERSION}.tar.gz\
     -C ${BASEDIR} ${TAREXCLUDE}
-tar czf ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig.tar.gz \
+tar czf ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}+dfsg.orig.tar.gz \
     -C ${BASEDIR} ${PIPELINE}-${VERSION}/
 rm -rf ${BASEDIR}/${PIPELINE}-${VERSION}/
 
 if [ $INCLUDE_CALIB = "yes" ] ; then
   mv ${BASEDIR}/${PIPELINE}-kit-${VERSION}/${PIPELINE}-calib-${VERSION}.tar.gz \
-     ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig-calib.tar.gz
+     ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}+dfsg.orig-calib.tar.gz
 else
   tar xf ${BASEDIR}/${PIPELINE}-kit-${VERSION}/${PIPELINE}-calib-${VERSION}.tar.gz\
       -C ${BASEDIR} --exclude ${PIPELINE}-calib-${VERSION}/cal
-  tar czf ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig-calib.tar.gz \
+  tar czf ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}+dfsg.orig-calib.tar.gz \
       -C ${BASEDIR} ${PIPELINE}-calib-${VERSION}/
   rm -rf ${BASEDIR}/${PIPELINE}-calib-${VERSION}/ 
 fi
diff --git a/debian/watch b/debian/watch
index 4e895da..33a79fa 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
 version=3
+opts=dversionmangle=s/\+dfsg// \
 http://www.eso.org/sci/software/pipelines/ \
  .*/template-kit-(.*).tar.gz \
  debian debian/repackage.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-giraf.git



More information about the debian-science-commits mailing list