Author: tille Date: 2011-03-21 08:48:45 +0000 (Mon, 21 Mar 2011) New Revision: 6332
Removed: trunk/packages/abacas/trunk/debian/get-orig-source Modified: trunk/packages/abacas/trunk/debian/changelog Log: Temporarily remove get-orig-source because changing file permission does not work otherwise in svn Modified: trunk/packages/abacas/trunk/debian/changelog =================================================================== --- trunk/packages/abacas/trunk/debian/changelog 2011-03-21 08:39:33 UTC (rev 6331) +++ trunk/packages/abacas/trunk/debian/changelog 2011-03-21 08:48:45 UTC (rev 6332) @@ -2,4 +2,4 @@ * Initial release (Closes: #????) - -- Andreas Tille <[email protected]> Mon, 07 Feb 2011 12:02:43 +0100 + -- Andreas Tille <[email protected]> Mon, 21 Mar 2011 09:48:04 +0100 Deleted: trunk/packages/abacas/trunk/debian/get-orig-source =================================================================== --- trunk/packages/abacas/trunk/debian/get-orig-source 2011-03-21 08:39:33 UTC (rev 6331) +++ trunk/packages/abacas/trunk/debian/get-orig-source 2011-03-21 08:48:45 UTC (rev 6332) @@ -1,38 +0,0 @@ -#!/bin/sh -# creating source tarbal for abacas which comes as plain Perl file -# and needs to be putin to a tarball - -PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` - -if ! echo $@ | grep -q upstream-version ; then - # if called manually run uscan to obtain file and version number - # VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'` - VERSION=`uscan --verbose --force-download | \ - grep "Newest version on remote site is .* local version is .*" | \ - head -n 1 | \ - sed "s/Newest version on remote site is \([-0-9.]\+\),.*/\1/"` -else - # If called by uscan - VERSION=`echo $@ | sed 's?^.*--upstream-version \([0-9.]\+\) .*download.html.*?\1?'` - if echo "$VERSION" | grep -q "upstream-version" ; then - echo "Unable to parse version number" - exit - fi -fi - -if [ "$VERSION" = "" ] ; then - VERSION=`ls ../${PKG}.*.pl | sed "s/.*$PKG\.\(.*\)\.pl/\1/"` -fi - -mkdir -p ../tarballs/${PKG}-${VERSION} -cd ../tarballs - -# Rename perl file (without .pl suffix) and fix perl path -sed -e '1s?/usr/local/bin/perl?/usr/bin/perl?' \ - -e "s/^${PKG}.pl/${PKG}/" \ - ../${PKG}.${VERSION}.pl > ${PKG}-${VERSION}/${PKG} -touch -r ../${PKG}.${VERSION}.pl ${PKG}-${VERSION}/${PKG} -rm -f ../${PKG}.${VERSION}.pl - -GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "$PKG"-"$VERSION" -rm -rf "$PKG"-"$VERSION" _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
