Hi all,
I'm looking to submit a first golang package for review, but I'm running
into some confusion as to whether there's a way to download/import all
the linked source dependencies without having to package all of those
projects, too.
To make this more concrete:
My spec is at
https://download.copr.fedorainfracloud.org/results/fuller/test-builds/fedora-rawhide-x86_64/04306641-golang-github-task/task.spec
There are three other sources on which it depends, none of which are
already packaged for Fedora, so the build log
(https://download.copr.fedorainfracloud.org/results/fuller/test-builds/fedora-rawhide-x86_64/04306641-golang-github-task/builder-live.log.gz)
shows:
No matching package to install: 'golang(github.com/go-task/slim-sprig)'
No matching package to install: 'golang(github.com/mattn/go-zglob)'
No matching package to install: 'golang(github.com/radovskyb/watcher)'
Not all dependencies satisfied
Error: Some packages could not be found.
Copr build error: Build failed
I tried also explicitly adding the other repos as sources, but this
didn't seem to fix the problem either, i.e.:
...
Source0: %{gosource}
Source1: https://github.com/go-task/slim-sprig/archive/master.tar.gz
Source2:
https://github.com/radovskyb/watcher/archive/refs/tags/v1.0.7.tar.gz
Source3: https://github.com/mattn/go-zglob/archive/master.tar.gz
...
Any help is very appreciated,
Regards,
--
Mark E. Fuller, Ph.D.
fuller@xxxxxxxxxxxxxxxxx
fuller@xxxxxxxxxxxxx
@fuller:one.ems.host
https://www.stossrohr.net
PGP Fingerprint: 73F1 A30C BDF4 DB4B C75F FD0F D599 E76C FFCA BF60
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure