]> git.ipfire.org Git - thirdparty/libvirt.git/commit
spec: Automatically apply all patches with git
authorJiri Denemark <jdenemar@redhat.com>
Fri, 21 Nov 2014 17:09:36 +0000 (18:09 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 24 Nov 2014 09:02:15 +0000 (10:02 +0100)
commit1fd83607514eda8e7331cba39f83d51fb9e565c9
tree119f8420d9d2dc89246762411e5fcfcbe7bfa3da
parent21c676c2aa60f55fbb5ade884b4f4bb80281c789
spec: Automatically apply all patches with git

With this change, any patch declared in libvirt.spec with Patch[0-9]* is
automatically applied in %prep. Unlike with the standard %patch[0-9]*,
patches are applied with "git am" to avoid some unexpected results.
However, as a result of this, all patches must be in the right format
for "git am" to be able to apply them; they should ideally be generated
from git using "git format-patch".

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
cfg.mk
libvirt.spec.in