[xml/sgml-commit] r2236 - in /packages/dbtoepub/trunk/debian: changelog control get-orig-source.sh watch

dleidert at users.alioth.debian.org dleidert at users.alioth.debian.org
Sun Mar 2 02:23:05 UTC 2014


Author: dleidert
Date: Sun Mar  2 02:23:05 2014
New Revision: 2236

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=2236
Log:
* debian/control (Standards-Version): Bumped to 3.9.5.
  (Vcs-Browser, Vcs-Svn): Fixed vcs-field-not-canonical.
* debian/get-orig-source.sh: Adjusted to download source.
* debian/watch: Fixed.

Modified:
    packages/dbtoepub/trunk/debian/changelog
    packages/dbtoepub/trunk/debian/control
    packages/dbtoepub/trunk/debian/get-orig-source.sh
    packages/dbtoepub/trunk/debian/watch

Modified: packages/dbtoepub/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/changelog?rev=2236&op=diff
==============================================================================
--- packages/dbtoepub/trunk/debian/changelog	(original)
+++ packages/dbtoepub/trunk/debian/changelog	Sun Mar  2 02:23:05 2014
@@ -1,6 +1,10 @@
 dbtoepub (0+svn9759-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * debian/control (Standards-Version): Bumped to 3.9.5.
+    (Vcs-Browser, Vcs-Svn): Fixed vcs-field-not-canonical.
+  * debian/get-orig-source.sh: Adjusted to download source.
+  * debian/watch: Fixed.
 
  -- Daniel Leidert <dleidert at debian.org>  Mon, 27 May 2013 00:11:33 +0200
 

Modified: packages/dbtoepub/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/control?rev=2236&op=diff
==============================================================================
--- packages/dbtoepub/trunk/debian/control	(original)
+++ packages/dbtoepub/trunk/debian/control	Sun Mar  2 02:23:05 2014
@@ -4,10 +4,10 @@
 Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
 Uploaders: Daniel Leidert <dleidert at debian.org>
 Build-Depends: debhelper (>> 7.0.50~)
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Homepage: http://docbook.sourceforge.net/release/xsl/current/epub/README
-Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/
-Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/dbtoepub/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-xml-sgml/packages/dbtoepub/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-xml-sgml/packages/dbtoepub/trunk/
 
 Package: dbtoepub
 Architecture: all

Modified: packages/dbtoepub/trunk/debian/get-orig-source.sh
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/get-orig-source.sh?rev=2236&op=diff
==============================================================================
--- packages/dbtoepub/trunk/debian/get-orig-source.sh	(original)
+++ packages/dbtoepub/trunk/debian/get-orig-source.sh	Sun Mar  2 02:23:05 2014
@@ -3,19 +3,21 @@
 set -ex
 
 UPSTREAM_VERSION=$2
+UPSTREAM_VERSION_REV=`echo ${UPSTREAM_VERSION} | sed -e "s/^0+svn//g"`
 ORIG_TARBALL=$3
 
 REAL_TARBALL=`readlink -f ${ORIG_TARBALL}`
-
 WORKING_DIR=`dirname ${ORIG_TARBALL}`
 
-ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"`
+ORIG_TARBALL_NEW="${WORKING_DIR}/docbook-defguide_${UPSTREAM_VERSION}.orig.tar.gz"
+ORIG_TARBALL_DIR="${WORKING_DIR}/docbook-defguide-${UPSTREAM_VERSION}.orig"
 ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}`
 
-mkdir -p ${ORIG_TARBALL_DIR}
-tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xzf ${REAL_TARBALL} || exit 1 
+[ ! -e ${ORIG_TARBALL_DIR} ] || exit 1
+svn export -r ${UPSTREAM_VERSION_REV} -q --non-interactive --ignore-keywords svn://svn.code.sf.net/p/docbook/code/trunk/xsl/epub/ ${ORIG_TARBALL_DIR} || exit 1
+rm -rf ${ORIG_TARBALL_DIR}/bin/spec/
+
 rm -f ${ORIG_TARBALL} ${REAL_TARBALL}
-rm -rf ${ORIG_TARBALL_DIR}/bin/spec/
-GZIP=-9 tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL} ${ORIG_TARBALL_DIR_STRIP} || exit 1
+GZIP="-n -9" tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL_NEW} ${ORIG_TARBALL_DIR_STRIP} || exit 1
 
 exit 0

Modified: packages/dbtoepub/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/watch?rev=2236&op=diff
==============================================================================
--- packages/dbtoepub/trunk/debian/watch	(original)
+++ packages/dbtoepub/trunk/debian/watch	Sun Mar  2 02:23:05 2014
@@ -1,4 +1,7 @@
 version=3
-opts=uversionmangle=s/^/0+svn/,downloadurlmangle=s/\?view.*$/\/trunk\/xsl\/epub.tar.gz\?view=tar/,filenamemangle=s/^.*revision=(\d+)$/epub-0+svn$1.tar.gz/ \
- http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl/epub/ .*revision=(\d+)$ \
+opts=\
+uversionmangle=s#^#0+svn#,\
+filenamemangle=s#.*/code/(\d+)/$#dbtoepub-dummy-r$1# \
+ http://sourceforge.net/p/docbook/code/HEAD/log/?path=/trunk/xsl/epub/ \
+ /p/docbook/code/(\d+)/$ \
  debian /bin/sh debian/get-orig-source.sh




More information about the debian-xml-sgml-commit mailing list