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}
|
Static libraries and header files from %{name}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p 1
|
||||||
%patch0 -p1 -b .add-needed
|
|
||||||
%patch1 -p1 -b .libpng
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v --install
|
autoreconf -v --install
|
||||||
|
Loading…
Reference in New Issue
Block a user