V Tue, May 10, 2022 at 08:23:17AM -0000, Artur Frenszek-Iwicki napsal(a):
I somehow don't understand why there should be anything like "unused source files". Why is something like this even possible?
- Grab a package
- Edit the spec file in a way that changes which sources are used (say, update to a new version)
- Do not run "fedpkg new-sources" to upload the new tarballs
- The "sources" file now lists files that are not actually used by the spec
Here I do these two additional steps:
4.1. Review thew new sources for new licenses, usually by comparing them to the old sources. 4.2. Run "fedpkg new-sources" because now I know the sources are license-acceptable and because it prevents me from forgetting to run "fedpkg new-sources" before pushing commits to dist-git.
- Run "fedpkg mockbuild"
- Mockbuild attempts to download package sources
Here I do rsync to a virtual machine and "fedpkg local" there. But I guess it does not differ much from "fedpkg mockbuild".
-- Petr