[packages/fzf] use %patch -P
atler
atler at pld-linux.org
Thu Feb 13 18:47:52 CET 2025
commit 58902893491909ea77b59cb0a430cac9fd86ae2a
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 13 18:16:30 2025 +0100
use %patch -P
fzf.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fzf.spec b/fzf.spec
index 9e9547c..8fe96ef 100644
--- a/fzf.spec
+++ b/fzf.spec
@@ -119,7 +119,7 @@ Documentation for fzf Vim plugin.
%{__mv} fzf-%{vendor_version}/vendor .
%{__mv} fzf.vim-%{fzfvimrev}* fzf.vim
%{__mv} fzf-git.sh-%{fzfgitrev}* fzf-git
-%patch0 -p1
+%patch -P0 -p1
%{__sed} -i -e "s at let s:bin_dir = .*@let s:bin_dir = '%{_datadir}/fzf/vim/bin/'@" fzf.vim/autoload/fzf/vim.vim
%{__sed} -i -e '1s,.*env bash,#!/bin/bash,' fzf.vim/bin/preview.sh bin/fzf-tmux install
%{__sed} -i -e '1s,.*env perl,#!%{__perl},' fzf.vim/bin/tags.pl
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fzf.git/commitdiff/937002c044ee36684b4b0231d7579257bd32aff0
More information about the pld-cvs-commit
mailing list