On Thu, Jun 17, 2021 at 8:33 AM Richard Shaw <hobbes1069(a)gmail.com> wrote:
On Thu, Jun 17, 2021 at 7:22 AM Ewoud Kohl van Wijngaarden
<ewoud+fedora(a)kohlvanwijngaarden.nl> wrote:
>
>
> To be clear: I don't want to fiddle with the sources file, hence this
> email. However, I would like to at least complete a local mockbuild
> before uploading to the lookaside cache. It is my understanding that
> new-sources always does this.
That's actually a nit I've been tempted to complain about. If I'm upgrading a
package to a new version I update the spec file:
rpmdev-bumpspec -n <version> -c "Update to <version>." *.spec
And download the new source:
spectool -g *.spec
But then I have to upload the new source with 'fedpkg new-sources' if I don't
want it to download the old version.
Yeah, the way I deal with this is I zero out the sources file, like ">
sources". Or another alternative that I use sometimes is "sha512sum
--tag", like:
sha512sum --tag kstart-4.2.tar.gz > sources
- Ken