Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: It would be useful to have forge-srpm-macros in epel10 Could you please request a branch and build it there, when you find time, thanks?
$ fedrq pkgs -b c10s forge-srpm-macros -S -F plainwithrepo forge-srpm-macros-0.2.0-4.el10.noarch fedrq-centos-stream-appstream
Right, thank you! I misinterpreted this epel10 failure in copr: https://copr.fedorainfracloud.org/coprs/petersen/ramalama/build/8053865/ https://download.copr.fedorainfracloud.org/results/petersen/ramalama/epel-10-x86_64/08053865-python-ramalama/build.log.gz ``` error: 'Version: %forgeversion' must be invoked before setting Release. 2< (%error) error: lua script failed: [string "forgeversion"]:14: error expanding macro 1< (%lua) 0< (%forgeversion) Version: Building target platforms: x86_64 Building for target x86_64 Child return code was: 1 ``` Any idea what might cause this?
The spec file looks like: https://download.copr.fedorainfracloud.org/results/petersen/ramalama/epel-10-x86_64/08053865-python-ramalama/python-ramalama.spec Quite possible I doing something stupid or abusing the macros?
Nope, it looks like the issue is that RHEL is shipping an older, buggy version of forge-srpm-macros. I filed https://issues.redhat.com/browse/RHEL-60802. I don't know who is maintaining the package in EL 10, but they are welcome to contact me (the current maintainer of the forge-srpm-macros project) with any questions.
Thank you