Update a package with new upstream release

Upstream releases a new version.
I changed the .spec file, generate a srpm file, then perform again

$ fedpgk import <newfile.src.rpm>

This creates a tar.gz file in my git dir, and I did commit this file.
<a href="" title=""></a>

I think this is wrong, so:
1. Can I git delete / push this tar.gz file ? Other action ?
2. It is not a fedpkg import command to use ? fedpkg new-sources ? How ?
3. Is there a documentation related to these maintenance actions ?

Thanks for your help.


Re: Update a package with new upstream release

By Alexander Ploumistos at 11/25/2018 - 14:47

Hi Alain,

I believe these two documents should come in handy:
<a href="" title=""></a>
<a href="" title=""></a>
(the second one is mostly about the update process)

Source packages are not part of the "usual" git transactions, they are
modified with "fedpkg sources" and "fedpkg new-sources" commands and
uploaded to the lookaside cache. The "sources" file in your git folder
points to the current source package for the branch you are working
on. If you've messed up the source packages, a "fedpkg new-sources
<upstream tarball>" should set things straight.

Best regards,

Re: Update a package with new upstream release

By Alain Vigne at 11/25/2018 - 15:08

Thanks a lot Alex

So, "old wiki" is still relevant...
I was searching in
<a href="" title=""></a>

On Sun, Nov 25, 2018 at 7:47 PM Alexander Ploumistos <