Rpmbuild version at OBS

Hi everyone,

what is rpmbuild version used at OBS building stage?
Local building is going well (at least on last OpenSUSE and Fedora), but at OBS it terminates with ‘unresolvable: cannot parse dependency (gcc or clang)’ for rpm spec with ‘BuildRequires: make, (gcc or clang), pkgconf, …’ line.

p.s. boolean operators were introduced since rpm 4.13

Whatever is available in repositories configured in your project.

It’s the same 15.6, whatever other suggestions?

Sure that it works that way? For reference the link to your project:

Do you mean it’s okay for local buildings, but it’s not a proper syntax for OBS?

Sorry? Your topic is titled “rpmbuild version at OBS”. You got the exact answer to your exact question. If you had something else in mind, why didn’t you ask what you wanted to know?

BuildRequires is parsed by OBS to collect the list of packages to install. It is quite possible that OBS does not support boolean dependencies. As the primary goal of OBS is reproducible, verifiable way to build packages, it is not surprising.

You got the exact answer to your exact question. If you had something else in mind, why didn’t you ask what you wanted to know?

Just skip it, there’s a lot of options

to complete it: boolean expressions in dependencies are allowed on one per line basis within OBS rpm spec (if someone comes across with need it)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.