Re: [Rpm-maint] [rpm-software-management/rpm] Document: "rpmbuild -br" always returns 11 when "--nodeps" is used (#963)

2020-07-17 Thread Pavel Raiskup
> So for rpmbuild none are installed. I don't see any practical reason to exit status 11 in such case. That's why I filled this issue originally. Since we aren't entirely consistent here, we should document that exit status 11 might be result of the `--nodeps` option. -- You are receiving th

Re: [Rpm-maint] [rpm-software-management/rpm] Document: "rpmbuild -br" always returns 11 when "--nodeps" is used (#963)

2020-07-17 Thread Michal Domonkos
> > no matter if all build requires are installed > > because rpmbuild does not check them because `--nodeps` is specified :) So > for rpmbuild none are installed. Which does not necessarily mean that they are *missing*. But yeah, we still return 11, to "signal" that the deps weren't checked an

Re: [Rpm-maint] [rpm-software-management/rpm] Unclosed %if (when defined inside %define) (#1198)

2020-07-17 Thread Michal Domonkos
This issue stems from the fact that the line continuation marker `\` has *different* semantics in the spec-level context and in a macro definition. On the spec level, it is used to break long `%if` statements into multiple lines. Inside macro definitions, it's the whole body that's broken down.