use %patch -P N instead of deprecated %patchN
This commit is contained in:
parent
8390776d61
commit
d2fec8bacd
14
jna.spec
14
jna.spec
@ -87,13 +87,13 @@ This package contains the contributed examples for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
%patch0 -p1 -b .build
|
%patch -P 0 -p1 -b .build
|
||||||
%patch1 -p1 -b .loadlib
|
%patch -P 1 -p1 -b .loadlib
|
||||||
%patch2 -p1 -b .tests-headless
|
%patch -P 2 -p1 -b .tests-headless
|
||||||
%patch3 -p1
|
%patch -P 3 -p1
|
||||||
%patch4 -p1
|
%patch -P 4 -p1
|
||||||
%patch5 -p1
|
%patch -P 5 -p1
|
||||||
%patch6 -p1
|
%patch -P 6 -p1
|
||||||
|
|
||||||
chmod -Rf a+rX,u+w,g-w,o-w .
|
chmod -Rf a+rX,u+w,g-w,o-w .
|
||||||
sed -i 's|@LIBDIR@|%{_libdir}/%{name}|' src/com/sun/jna/Native.java
|
sed -i 's|@LIBDIR@|%{_libdir}/%{name}|' src/com/sun/jna/Native.java
|
||||||
|
Loading…
Reference in New Issue
Block a user