19 Nov
2023
19 Nov
'23
19:55
On Sunday 2023-11-19 19:28, Martin Diehl wrote:
Hello
my build for openSUSE Leap 15.5 fails with rpmbuild: -br: unknown option the same spec works for Fedora [37/38/39] and openSUSE tumbleweed.
rpmbuild on 15.5 is too old to support your use of %generate_buildrequires. Enclosing it in %if fedora does not help because /usr/bin/build (rightfully) does not try to be too smart about understanding the entire specfile syntax.