From 14740c69131180791868e8d2c2379f446d20409c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 9 Feb 2018 09:13:34 +0100 Subject: [PATCH] really fix patch apply Doing anything with spec grepping within spec is WRONG. If you want to save extension, you should use Lua and %{patches} variable to implement this hackery. Signed-off-by: Igor Gnatenko --- beakerlib.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beakerlib.spec b/beakerlib.spec index 8d1e703..903fa5d 100644 --- a/beakerlib.spec +++ b/beakerlib.spec @@ -46,8 +46,7 @@ Patch14: extended-coloring-capabilities.patch Patch15: unified-footer.patch %prep -%setup -q -%(grep -E '^Patch[0-9]+:' %{_specdir}/%{name}.spec | sed -r 's/^P/%p/;s/: / -p1 -b ./;s/.patch$//') +%autosetup -p1 %build make build