On Thu, Jun 17, 2021 at 02:11:41PM +0200, Matthias Runge wrote:
On Thu, Jun 17, 2021 at 01:57:03PM +0200, Ewoud Kohl van Wijngaarden wrote:
Hello everyone,
As someone who just got started, I'm looking for some help.
I'd like to update packages. I'm used to git, so my typical flow is to make
sure I have some clean branch to start working from (clone is just for
completeness):
fedpkg clone mypackage
cd mypackage
git checkout -b rawhide-update-to-new-version
rpmdev-bumpspec -n 1.2.3 mypackage.spec
Now comes the part I'm not sure about. To fetch the new sources I usually
perform:
spectool -g mypackage.spec
After that, I'm looking for a command to update the sources file with new
checksums so I can run:
fedpkg new-sources
This should push the new sources (compressed tarball, whatever), defined
under SOURCE* in the spec file to the cache storing the sources.
For just local builds, this step is not necessary. You could run
fedpkg mockbuild
I found that mockbuild still retrieves what's in sources. I guess a
possible workaround is to remove the entries from sources and rely on
spectool.
As a non-packager you also can't run new-source. So perhaps new-sources
should gain a --no-upload flag? --noop sounds wrong if it does make
changes and a prep-sources command makes the command listing less
useful.
_______________________________________________
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