Re: [Rpm-maint] [rpm-software-management/rpm] BuildRequires does not support boolean operators (#1216)
Closed #1216. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1216#event-3334764642___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] BuildRequires does not support boolean operators (#1216)
Thanks for the fast response. I have to take a mea culpa on this one; I went to rerun the build for exact output and it worked. I spent two hours this morning on two different servers and couldn't get this to work. It works now and I have no idea what changed. FYI, I went through docs on rpm.org and fedora before posting the issue. Requires, Recommends, and the other dependencies were explicitly listed as supporting Booleans, but BuildRequires was noticeably missing. With the issues I was having, I concluded it may have been left out. In any case, I'll close this issue. Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1216#issuecomment-628374503___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] BuildRequires does not support boolean operators (#1216)
Can you provide a reproducer? We use rich dependencies in BuildRequires at least in 2000 packages in Fedora. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1216#issuecomment-628197916___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] BuildRequires does not support boolean operators (#1216)
When using the following tag: BuildRequires: (pkgA or pkgB) rpmbuild will flag "(PkgA," "pkgB)", and "or" as not found. Removing the parenthesis doesn't resolve the issue. Tested with rpmbuild 4.13 and 4.15.1. It doesn't seem logical to support the use of boolean operators on installation dependencies at run time, but not to support them at build time. If not supporting this is by design, then rpmlint is failing to flag the use of conditionals in BuildRequires as an error. I discovered this while building an RPM with a dependency met by either an OS package or the package provided by the product vendor using a different name. Neither RPM "Provides" anything other than their own package names. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1216___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint