[med-svn] r12183 - trunk/packages/velvet/trunk/debian

Andreas Tille tille at alioth.debian.org
Fri Sep 7 12:04:06 UTC 2012


Author: tille
Date: 2012-09-07 12:04:06 +0000 (Fri, 07 Sep 2012)
New Revision: 12183

Modified:
   trunk/packages/velvet/trunk/debian/changelog
   trunk/packages/velvet/trunk/debian/get-orig-source
Log:
Enable simple changing of suffix for repackaged source


Modified: trunk/packages/velvet/trunk/debian/changelog
===================================================================
--- trunk/packages/velvet/trunk/debian/changelog	2012-09-07 12:02:23 UTC (rev 12182)
+++ trunk/packages/velvet/trunk/debian/changelog	2012-09-07 12:04:06 UTC (rev 12183)
@@ -2,6 +2,8 @@
 
   * New upstream version
   * debian/watch: cope with +dfsg suffix (in addition to old ~nozlibcopy)
+  * debian/get-orig-source: Enable simple changing of suffix for repackaged
+    source
 
  -- Andreas Tille <tille at debian.org>  Fri, 07 Sep 2012 14:00:49 +0200
 

Modified: trunk/packages/velvet/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/velvet/trunk/debian/get-orig-source	2012-09-07 12:02:23 UTC (rev 12182)
+++ trunk/packages/velvet/trunk/debian/get-orig-source	2012-09-07 12:04:06 UTC (rev 12183)
@@ -28,9 +28,9 @@
 #rm -rf ${UPSTREAMDIR}/contrib/MetaVelvet*
 #  ... don't do this any more
 
-mv ${UPSTREAMDIR} ${UPSTREAMDIR}~nozlibcopy
+SUFFIX="+dfsg"
+mv ${UPSTREAMDIR} ${UPSTREAMDIR}${SUFFIX}
 
 rm -f ../"$PKG"_"$VERSION".orig.tar.gz
-tar -cJf ../"$PKG"_"$VERSION~nozlibcopy".orig.tar.xz "${UPSTREAMDIR}~nozlibcopy"
-rm -rf "${UPSTREAMDIR}~nozlibcopy"
-
+tar -cJf ../"$PKG"_"$VERSION~nozlibcopy".orig.tar.xz "${UPSTREAMDIR}${SUFFIX}"
+rm -rf "${UPSTREAMDIR}${SUFFIX}"




More information about the debian-med-commit mailing list