[DRE-commits] [pkg-ruby-extras] 01/01: build-and-upload: exclude the package itself from reverse dependencies

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Oct 28 19:33:37 UTC 2016


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

terceiro pushed a commit to branch master
in repository pkg-ruby-extras.

commit 0b7f7767d24c94ae073fde2efb3ea7338423fb79
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Oct 28 17:32:39 2016 -0200

    build-and-upload: exclude the package itself from reverse dependencies
    
    this happens when there are intra-source dependencies (i.e. `foo`
    depends on `ruby-foo`)
---
 build-and-upload | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-and-upload b/build-and-upload
index 1a41c68..367748d 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -113,7 +113,7 @@ EOF
 test_reverse_dependencies() {
   local binaries="$(dh_listpackages)"
   local debs="$(dcmd --deb "$changes")"
-  local rdeps="$(chdist apt-cache unstable rdepends $binaries | grep '^\s' | xargs -n 1 chdist bin2src unstable | sort -u)"
+  local rdeps="$(chdist apt-cache unstable rdepends $binaries | grep '^\s' | xargs -n 1 chdist bin2src unstable | sort -u | grep -v "^${source}\$")"
   local failed_rdeps=""
   local do_test=y
   if [ -n "$rdeps" ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list