Use --allow-script-in-comments on all arches

This commit is contained in:
Michael Simacek 2017-02-07 10:26:05 +01:00
parent 195834dcd0
commit 4f9dc9fb0b

View File

@ -1,6 +1,6 @@
Name: jna
Version: 4.3.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Pure Java access to native libraries
# Most of code is dual-licensed under either LGPL 2.1 only or Apache
# License 2.0. WeakIdentityHashMap.java was taken from Apache CXF,
@ -69,10 +69,7 @@ cp %{SOURCE1} .
%patch0 -p1 -b .build
%patch1 -p1 -b .loadlib
%patch2 -p1 -b .tests-headless
# openjdk on arm is older, so it doesn't have the check, nor the option to disable it
%ifnarch armv7hl
%patch3 -p1
%endif
chmod -Rf a+rX,u+w,g-w,o-w .
sed -i 's|@LIBDIR@|%{_libdir}/%{name}|' src/com/sun/jna/Native.java
@ -134,6 +131,9 @@ cp -a doc/javadoc/* %{buildroot}%{_javadocdir}/%{name}
%changelog
* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 4.3.0-4
- Use --allow-script-in-comments on all arches
* Wed Feb 1 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.0-3
- Add missing build-requires on GCC