From 48eda9093e18ba0c2069f57e79f5cb2b78b6360f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Fix a problem where smock forgot about packages which didn't have a dependency relationship with any other package. --- smock/smock.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smock/smock.pl b/smock/smock.pl index a6d15af..34a5ec0 100755 --- a/smock/smock.pl +++ b/smock/smock.pl @@ -212,6 +212,10 @@ foreach my $name (@names) { foreach (@buildrequires) { print $fh "$_ $name\n" } + # Add a self->self dependency. This ensures that any + # packages which don't have or appear as a dependency of + # any other package still get built. + print $fh "$name $name\n" } close $fh; -- 1.8.3.1