Re: Best practices for patch management on RPM based packages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/06/2011 05:16 PM, Richard Shaw wrote:
> Most of the packages I work with have very few patches so it's not all
> that difficult, but there are a couple of packages I'm working with
> that have a lot of patches and one of them has a very active upstream
> (which is a good thing!) but that also means that the patches need
> frequent adjustment.
>
> I like the idea of quilt but I can't seem to find the magic recipe to
> get it to integrate with rpmbuild.

There's a long-standing RFE to integrate quilt/git/etc into rpmbuild to 
ease the patch management, I just never seem to get around to it. There 
are things that can make it easier already though, for example:

https://rwmj.wordpress.com/2011/08/09/nice-rpm-git-patch-management-trick/

Also if you're just tired and bored with having to refer to each patch 
twice just to get it applied, the %{patches} macro can help there too as 
long as all the patches can be applied with the same flags, you can do 
something like this:

%setup
for p in %{patches}; do
     patch -p1 < ${p} || exit 1
done

	- Panu -
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux