Use --allow-script-in-comments on all arches
This commit is contained in:
parent
195834dcd0
commit
4f9dc9fb0b
8
jna.spec
8
jna.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user