summaryrefslogtreecommitdiff
path: root/build/reqprov.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/reqprov.c')
-rw-r--r--build/reqprov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/reqprov.c b/build/reqprov.c
index 2ea609fa0..baa6e5378 100644
--- a/build/reqprov.c
+++ b/build/reqprov.c
@@ -107,7 +107,7 @@ int generateAutoReqProv(Spec spec, Package pkg,
char *argv[2];
char **f, **fsave;
- if (!cpioCount) {
+ if (!cpioCount || !spec->autoReqProv) {
return 0;
}