I am far from being golang expert, but I am afraid that there is no
other way then to decompose what the fedora macros does and try to mimic
the functionality for your EPEL package. As an example, you can grab
rh-git227-git-lfs from CentOS [1] and compare the .spec file to Fedora
version.
Vít
[1]
https://cbs.centos.org/koji/taskinfo?taskID=1914849
Dne 24. 02. 21 v 8:47 Mattia Verga napsal(a):
Hello folks,
I'm trying to fix reg package FTB and I've successfully managed to port the
specfile to use golang macros in Rawhide [1].
However, since the package is needed in Fedora infrastructure to run registry server, I
would like to make it build in EPEL also. As I can see from scratch builds, golang macros
don't exist in epel7 ('%gometa' is not recognized there), while in epel8 they
seems to exist, but I get a failure in %prep section [2]:
+ %goprep -ke
/var/tmp/rpm-tmp.Zw57Mq: line 46: fg: no job control
Can anyone give me some advice how to handle that?
Thanks.
Mattia
[1]
https://koji.fedoraproject.org/koji/taskinfo?taskID=62621577
[2]
https://koji.fedoraproject.org/koji/taskinfo?taskID=62621583
_______________________________________________
packaging mailing list -- packaging(a)lists.fedoraproject.org
To unsubscribe send an email to packaging-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproje...
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure