View | Details | Raw Unified | Return to bug 30476
Collapse All | Expand All

(-)a/build/interdep.c (-1 / +1 lines)
Lines 779-785 int processInterdep(Spec spec) Link Here
779
    r = freeRequires(r);
779
    r = freeRequires(r);
780
780
781
    r = makeRequires(spec, 2);
781
    r = makeRequires(spec, 2);
782
    int optlevel = rpmExpandNumeric("%{?_deps_optimization}%{?!_deps_optimization:2}");
782
    int optlevel = rpmExpandNumeric("%{?_deps_optimization}%{!?_deps_optimization:2}");
783
    if (optlevel >= 2) {
783
    if (optlevel >= 2) {
784
	pruneExtraDeps(r, spec);
784
	pruneExtraDeps(r, spec);
785
	pruneExtraRDeps(r, spec);
785
	pruneExtraRDeps(r, spec);
(-)a/build/reqprov.c (-1 / +1 lines)
Lines 16-22 deps_opt_enabled (void) Link Here
16
	if (!initialized)
16
	if (!initialized)
17
	{
17
	{
18
		initialized = 1;
18
		initialized = 1;
19
		enabled = rpmExpandNumeric ("%{?_deps_optimization}%{?!_deps_optimization:1}");
19
		enabled = rpmExpandNumeric ("%{?_deps_optimization}%{!?_deps_optimization:1}");
20
	}
20
	}
21
21
22
	return enabled;
22
	return enabled;

Return to bug 30476