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 <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-09 09:13:34 +01:00
parent 4dfd13a24c
commit 14740c6913
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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