[DRE-commits] [ruby-rspec] 01/01: fix reporting of upstream versions due to new output of uscan

Cédric Boutillier boutil at moszumanska.debian.org
Wed Mar 2 13:36:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-rspec.

commit 0716c4ff0d287e2021b6d036d22a0fe1ec6bdb44
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Mar 2 14:36:38 2016 +0100

    fix reporting of upstream versions due to new output of uscan
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 295f552..1512bea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,7 +38,7 @@ 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); echo rspec-support $(RSPEC_SUPPORT_VERSION)) | { while read gem version; do \
-		new_version=$$(uscan --verbose --report --watch debian/$$gem.watch --upstream-version $$version | sed -n -e 's/^Newest version on remote site is \([^,]*\), .*$$/\1/p'); \
+		new_version=$$(uscan --verbose --report --watch debian/$$gem.watch --upstream-version $$version | sed -n -e 's/Newest version .* on remote site is \([^,]*\), .*$$/\1/p'); \
 		if [ "$$new_major_minor" ]; then \
 			[ "$$new_major_minor" = "$${new_version%.*}" ] || { echo 'Major/minor version mismatch between gems!' >&2; exit 1; }; \
 		fi; \

-- 
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