ALT Linux Bugzilla
– Attachment 6173 Details for
Bug 30476
%_deps_optimization can't be disabled
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
proposed fix
deps_optimization.patch (text/plain), 892 bytes, created by
viy
on 2014-11-17 10:32:18 MSK
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
viy
Created:
2014-11-17 10:32:18 MSK
Size:
892 bytes
patch
obsolete
>diff --git a/build/interdep.c b/build/interdep.c >index a8e10db..89fba05 100644 >--- a/build/interdep.c >+++ b/build/interdep.c >@@ -779,7 +779,7 @@ int processInterdep(Spec spec) > r = freeRequires(r); > > r = makeRequires(spec, 2); >- int optlevel = rpmExpandNumeric("%{?_deps_optimization}%{?!_deps_optimization:2}"); >+ int optlevel = rpmExpandNumeric("%{?_deps_optimization}%{!?_deps_optimization:2}"); > if (optlevel >= 2) { > pruneExtraDeps(r, spec); > pruneExtraRDeps(r, spec); >diff --git a/build/reqprov.c b/build/reqprov.c >index 46b9a88..4d7f3fa 100644 >--- a/build/reqprov.c >+++ b/build/reqprov.c >@@ -16,7 +16,7 @@ deps_opt_enabled (void) > if (!initialized) > { > initialized = 1; >- enabled = rpmExpandNumeric ("%{?_deps_optimization}%{?!_deps_optimization:1}"); >+ enabled = rpmExpandNumeric ("%{?_deps_optimization}%{!?_deps_optimization:1}"); > } > > return enabled;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30476
:
6173
|
6175
|
6176