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.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to