build fails for openSUSE:Leap:15.5: rpmbuild: -br: unknown option
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. The full log is attached, the project is https://build.opensuse.org/project/show/home:MarDieh any help is appreciated. Martin -- KU Leuven Department of Computer Science Department of Materials Engineering Celestijnenlaan 200a 3001 Leuven, Belgium
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.
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.
On Sun, 2023-11-19 at 20:55 +0100, Jan Engelhardt wrote: thanks, that solved this issue. -- KU Leuven Department of Computer Science Department of Materials Engineering Celestijnenlaan 200a 3001 Leuven, Belgium
participants (2)
-
Jan Engelhardt
-
Martin Diehl