Use %autosetup instead of deprecated %patchX macros
and reindent patches Fixes: RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N)
This commit is contained in:
parent
895b14b241
commit
6d9e759e76
@ -33,10 +33,7 @@ Requires: pkgconfig
|
||||
Static libraries and header files from %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .add-needed
|
||||
%patch1 -p1 -b .libpng
|
||||
%patch2 -p1
|
||||
%autosetup -p 1
|
||||
|
||||
%build
|
||||
autoreconf -v --install
|
||||
|
Loading…
Reference in New Issue
Block a user