Hi Mark, Hau idatzi du Mark E. Fuller (fuller@xxxxxxxxxxxxxxxxx) erabiltzaileak (2022 api. 23, lr. (20:06)): > > 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 > ... You need to create a package for each of the dependencies first and you need to submit them first for review. The Source method you're trying to use won't work. You can use `go2rpm -r $name` to create the specs for each of the packages easily and adapt in case of need. As you're using copr, create a package for each dependency and you should be able to build the final package once everything is ready. Kind regards, Mikel _______________________________________________ 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