From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Fri, 9 Jan 2009 14:51:36 +0000 (+0000) Subject: Fix a problem where smock forgot about packages which didn't have a dependency relati... X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=48eda9093e18ba0c2069f57e79f5cb2b78b6360f;p=fedora-mingw.git Fix a problem where smock forgot about packages which didn't have a dependency relationship with any other package. --- 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;