[r-cran-sp] 03/42: More clever get-orig-source and removed now useless README.Source
Sébastien Villemot
sebastien at debian.org
Thu Nov 16 21:47:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository r-cran-sp.
commit de599165a0566281eabfa8125c1b9e6a1015daf9
Author: Andreas Tille <tille at debian.org>
Date: Tue Feb 10 11:31:12 2009 +0000
More clever get-orig-source and removed now useless README.Source
---
debian/README.source | 19 -------------------
debian/get-orig-source | 5 ++---
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 5f12004..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,19 +0,0 @@
-sp for Debian
---------------
-
-I tried to follow the RFC for R packages at
-
- https://stat.ethz.ch/pipermail/r-devel/2003-December/028424.html
-
-to keep the source of the Debian package the same as the
-upstream R package. In this case exist a colision with the
-sp package (James Clark's SGML parsing tools) and thus I
-used the alternative.
-
-Use
-
- make -f debian/rules get-orig-source
-
-to obtain the source tarball.
-
- -- Andreas Tille <tille at debian.org> Fri, 16 Jan 2009 20:43:13 +0100
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 554ca9f..96ee179 100644
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -1,8 +1,7 @@
#!/bin/sh
-PKG=sp
-PREFIX='r-cran-'
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
RENAME=`uscan --verbose --force-download | \
grep "Newest version on remote site is .* local version is .*" | \
head -n 1 | \
- sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?mv ../${PKG}_\1.orig.tar.gz ../${PREFIX}${PKG}_\2.orig.tar.gz?"`
+ sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?mv ../${PKG}_\1.orig.tar.gz ../${PKG}_\2.orig.tar.gz?"`
$RENAME
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-sp.git
More information about the debian-science-commits
mailing list