Is %autosetup another unwanted baby of Fedora?
Pádraig Brady
P at draigBrady.com
Mon Jul 13 14:20:12 UTC 2015
On 13/07/15 15:01, Richard W.M. Jones wrote:
> On Mon, Jul 13, 2015 at 02:39:57PM +0200, Marcin Juszkiewicz wrote:
>> Hi
>>
>> When I moved to Fedora after years of doing Debian packages I
>> noticed that there is no such thing as patch management when it
>> comes to Fedora packages. Everyone is using %patch macro with files
>> of random patchlevel (some even use reverse patches).
>
> While not answering your question about %autosetup, I want to say this
> bit isn't quite true. Some packages use an external git repo for
> patch management, and create the 'Patch...' lines semi-automatically.
> (Similar to, but less weird than: https://wiki.debian.org/PackagingWithGit)
>
> %autosetup only handles half of this use case. TBH it handles the bit
> that was already quite easy to do -- ie. invoking 'git am'.
>
> Copying the patches from git and inserting the Patch lines is the hard
> part, and it would be nice to have some standardized tooling for that,
> instead of everyone's homebrew 'copy-patches.sh' script.
maybe pull `rdopkg update-patches` into `fedpkg` ?
cheers,
Pádraig.
More information about the devel
mailing list