[med-svn] [abyss] 03/20: Temporarily remove get-orig-source because changing file permission does not work otherwise in svn
Andreas Tille
tille at debian.org
Thu Sep 21 20:46:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to annotated tag upstream/1.3.1
in repository abyss.
commit 558fa7d4e4af9ac2c6a525e4c7a27e39e04036f9
Author: Andreas Tille <tille at debian.org>
Date: Mon Mar 21 08:48:45 2011 +0000
Temporarily remove get-orig-source because changing file permission does not work otherwise in svn
---
debian/changelog | 2 +-
debian/get-orig-source | 38 --------------------------------------
2 files changed, 1 insertion(+), 39 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3e1b948..f69570a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ abacas (1.3.1-1) unstable; urgency=low
* Initial release (Closes: #????)
- -- Andreas Tille <tille at debian.org> Mon, 07 Feb 2011 12:02:43 +0100
+ -- Andreas Tille <tille at debian.org> Mon, 21 Mar 2011 09:48:04 +0100
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100644
index 0ae9ac7..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -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"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/abyss.git
More information about the debian-med-commit
mailing list