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.t...
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