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:
parent
4dfd13a24c
commit
14740c6913
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user