On Fri, Mar 08, 2024 at 04:19:11PM +0000, Richard W.M. Jones wrote: > For mingw-* packages we (sometimes) have a separate package from the > native package, eg. libgcrypt vs mingw-libgcrypt. Therefore two > different packages are sometimes built with the exact same sources. > > However I discovered copying 'sources' (ie the file) from libgcrypt > dist-git to mingw-libgcrypt dist-git alone isn't sufficient to get the > package to build. You still have to download the source tarballs in > libgcrypt, copy them to mingw-libgcrypt, and 'fedpkg new-sources > <tarballs>' to upload them again. > > Isn't the lookaside cache shared across the whole of Fedora? > > (This doesn't matter, I was just wondering aloud.) Yeah, it's not really designed for easy sharing accross packages. It looks up things like: https://src.fedoraproject.org/repo/pkgs/rpms/<pkgname>/<source.tar.gz>/<checksum type>/<checksum> So, since the package name is in there if you just move it the archive isn't under that and it doesn't work. ;( It would likely need a redesign to support that use case sadly. kevin
Attachment:
signature.asc
Description: PGP signature
-- _______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue