Fix a problem where smock forgot about packages which didn't have a dependency relati...
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Jan 2009 14:51:36 +0000 (14:51 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Jan 2009 14:51:36 +0000 (14:51 +0000)
smock/smock.pl

index a6d15af..34a5ec0 100755 (executable)
@@ -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;