sync with f-13

This commit is contained in:
Colin Walters 2010-04-21 21:56:22 +00:00
parent 3b3f26bafe
commit 4f6871ad71

View File

@ -1,6 +1,6 @@
Name: jna
Version: 3.2.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Pure Java access to native libraries
Group: Development/Libraries
@ -20,6 +20,9 @@ Patch1: jna-3.2.4-loadlibrary.patch
# and using a complex API like X11 through JNA just increases the potential
# for problems.
Patch2: jna-3.2.4-tests-headless.patch
# Upstream appears to have some sort of MD5 check on the contents of their
# native jar. Carve that out so we always build it.
Patch3: jna-3.2.4-build-md5.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: java-devel >= 1.6 ant jpackage-utils ant-nodeps
@ -66,6 +69,7 @@ This package contains the examples for %{name}.
%setup -q -n %{name}-%{version}
sed -e 's|@JNIPATH@|%{_libdir}/%{name}|' %{PATCH1} | patch -p1
%patch2 -p1 -b .tests-headless
%patch3 -p0 -R -b .md5
# all java binaries must be removed from the sources
find . -name '*.jar' -exec rm -f '{}' \;
@ -128,6 +132,9 @@ rm -rf %{buildroot}
%changelog
* Wed Apr 21 2010 Colin Walters <walters@verbum.org> - 3.2.4-4
- Fix the build by removing upstream's hardcoded md5
* Thu Dec 17 2009 Levente Farkas <lfarkas@lfarkas.org> - 3.2.4-3
- add proper ExclusiveArch