[sundials] 51/76: removed extra logic to get upstream tarball
Andreas Tille
tille at debian.org
Sun Feb 5 18:45:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository sundials.
commit 0ed59d4c9c88464a64618b8d432791720093a956
Author: Dima Kogan <Dmitriy.Kogan at jpl.nasa.gov>
Date: Tue Oct 4 22:37:50 2016 -0700
removed extra logic to get upstream tarball
this doesn't need to live in our build system
---
debian/rules | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/debian/rules b/debian/rules
index 8b17282..fef4d82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,21 +41,3 @@ override_dh_auto_clean:
-a -exec rm -f \{\} \;
rm -rf bin/makefile-update.sh
dh_auto_clean
-
-# Grab the version before +dfsg
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
-DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/-[^-]*$$//')
-
-USCAN_DESTDIR := $(CURDIR)/../tarballs
-
-
-get-orig-source:
- mkdir -p $(USCAN_DESTDIR)
- uscan --force-download --no-symlink --verbose --destdir $(USCAN_DESTDIR)
- tar -C $(USCAN_DESTDIR) -xzf $(USCAN_DESTDIR)/sundials_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz
- rm -f $(USCAN_DESTDIR)/sundials*.tar.gz
- find $(USCAN_DESTDIR)/sundials-$(DEB_STRIPPED_UPSTREAM_VERSION) -name \*.pdf | xargs rm
- cd $(USCAN_DESTDIR) && GZIP=-9 tar -czf \
- $(CURDIR)/sundials_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
- sundials-$(DEB_STRIPPED_UPSTREAM_VERSION)
- rm -rf $(USCAN_DESTDIR)/sundials-$(DEB_STRIPPED_UPSTREAM_VERSION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git
More information about the debian-science-commits
mailing list