From fded3f9abc235a876bb53fc3fc8bf1ab897e2d11 Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 16 Apr 1998 16:25:03 +0000 Subject: pay attention to autoreqprov flag CVS patchset: 2092 CVS date: 1998/04/16 16:25:03 --- CHANGES | 4 +++- build/reqprov.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index a5ce3c0c8..7c12c419e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ -2.4.109 -> 2.4.110: +2.4.109 -> 2.5: - fixed return code bug in build code - do macro expansion before %if processing + - dep ordering returns w/ an error as soon as a prereq loop is found + - autoreqprov flag was being ignored during builds 2.4.108 -> 2.4.109: - remove icons with --rmsource 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; } -- cgit v1.2.3