[DRE-commits] [ruby-rspec] 09/19: add something to download upstream tarball
Jérémy Bobbio
lunar at alioth.debian.org
Sun Oct 20 17:01:21 UTC 2013
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/multideb
in repository ruby-rspec.
commit a170fa4184af962fa75b0f217235a600cc833317
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sun Oct 20 14:06:15 2013 +0200
add something to download upstream tarball
---
debian/rules | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/debian/rules b/debian/rules
index 835dfd4..b6c0827 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,7 @@ test:
@echo $(RSPEC_MOCKS_VERSION)
report:
+ @dh_testdir
@set -e && \
(echo rspec $(RSPEC_VERSION); echo rspec-core $(RSPEC_CORE_VERSION); echo rspec-expectations $(RSPEC_EXPECTATIONS_VERSION); echo rspec-mocks $(RSPEC_MOCKS_VERSION)) | { while read gem version; do \
new_version=$$(uscan --report --watch debian/$$gem.watch --upstream-version $$version | sed -n -e 's/^Newest version on remote site is \([^,]*\), .*$$/\1/p'); \
@@ -51,6 +52,18 @@ report:
fi; \
}
+get-orig-sources:
+ dh_testdir
+ set -e && \
+ wget -c -O../ruby-rspec_$(UPSTREAM_VERSION).orig-rspec.tar.gz \
+ https://github.com/rspec/rspec/archive/v$(RSPEC_VERSION).tar.gz
+ wget -c -O../ruby-rspec_$(UPSTREAM_VERSION).orig-rspec-core.tar.gz \
+ https://github.com/rspec/rspec-core/archive/v$(RSPEC_CORE_VERSION).tar.gz
+ wget -c -O../ruby-rspec_$(UPSTREAM_VERSION).orig-rspec-expectations.tar.gz \
+ https://github.com/rspec/rspec-expectations/archive/v$(RSPEC_EXPECTATIONS_VERSION).tar.gz
+ wget -c -O../ruby-rspec_$(UPSTREAM_VERSION).orig-rspec-mocks.tar.gz \
+ https://github.com/rspec/rspec-mocks/archive/v$(RSPEC_MOCKS_VERSION).tar.gz
+
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec.git
More information about the Pkg-ruby-extras-commits
mailing list