The `reg` package [1] is a Golang project needed by fedora-infra team. To prevent it from being retired due to FTB I've taken it [2], but I've found it's a real nightmare trying to fix it (I've got no experience at all with golang). Is there someone from Go SIG that can help with this? I think it will also need to be renamed to follow current packaging policies... it also seems to have a lot of bundled stuff.
Mattia
[1] https://src.fedoraproject.org/rpms/reg [2] https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedorapro...
* Mattia Verga:
The `reg` package [1] is a Golang project needed by fedora-infra team. To prevent it from being retired due to FTB I've taken it [2], but I've found it's a real nightmare trying to fix it (I've got no experience at all with golang). Is there someone from Go SIG that can help with this? I think it will also need to be renamed to follow current packaging policies... it also seems to have a lot of bundled stuff.
What kind of build failure do you see? rawhide builds just fine for me after applying this patch:
diff --git a/reg.spec b/reg.spec index 50fdae2..3a32e06 100644 --- a/reg.spec +++ b/reg.spec @@ -190,7 +190,7 @@ cp -p LICENSE %{_builddir}/%{name}-%{version}/ %systemd_preun %{name}-server.service
%postun -%systemd_postun +%systemd_postun %{name}-server.service
%files %doc README.md Dockerfile Makefile
But that's clearly not a Go issue, so you must be encountering something else.
Thanks, Florian
Oh, well, I suppose I screwed up uselessly trying to update the package to the latest version. I didn't try to run a scratch build in Koji, I had tried to rebuild the package locally, but I got some errors, so that must have confused me. Probably there was something wrong in my local configuration.
Thanks for the patch! Mattia
golang@lists.fedoraproject.org