- Update to svn r729

- drop upstreamed typemapper patch
This commit is contained in:
Colin Walters 2008-10-01 17:26:33 +00:00
parent 8af81096cb
commit cc7c003c9a

View File

@ -1,6 +1,6 @@
Name: jna
Version: 3.0.4
Release: 7.svn700%{?dist}
Release: 8.svn729%{?dist}
Summary: Pure Java access to native libraries
Group: Development/Libraries
@ -10,7 +10,7 @@ URL: https://jna.dev.java.net/
# following commands to generate the tarball:
# svn export https://jna.dev.java.net/svn/jna/tags/%{version}/jnalib/ --username guest jna-%{version}
# tar -cjf jna-%{version}.tar.bz2 jna-%{version}
Source0: %{name}-%{version}.svn700.tar.bz2
Source0: %{name}-%{version}.svn729.tar.bz2
# This patch is Fedora-specific for now until we get the huge
# JNI library location mess sorted upstream
Patch1: jna-3.0.2-loadlibrary.patch
@ -19,8 +19,6 @@ Patch1: jna-3.0.2-loadlibrary.patch
# and using a complex API like X11 through JNA just increases the potential
# for problems.
Patch2: jna-tests-headless.patch
# https://jna.dev.java.net/issues/show_bug.cgi?id=88
Patch3: jna-3.0.4-typemapper-accessible.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: java-devel >= 1.6 ant jpackage-utils ant-nodeps
@ -49,10 +47,9 @@ This package contains the javadocs for %{name}.
%prep
%setup -q -n %{name}-%{version}-svn700
%setup -q -n %{name}-%{version}-svn729
sed -e 's|@JNIPATH@|%{_libdir}/%{name}|' %{PATCH1} | patch -p1
%patch2 -p1 -b .tests-headless
%patch3 -p1 -b .typemapper-public
# all java binaries must be removed from the sources
find . -name '*.jar' -exec rm -f '{}' \;
@ -109,6 +106,10 @@ rm -rf %{buildroot}
%changelog
* Wed Oct 01 2008 Colin Walters <walters@redhat.com> - 3.0.4-8.svn729
- Update to svn r729
- drop upstreamed typemapper patch
* Tue Sep 18 2008 Colin Walters <walters@redhat.com> - 3.0.4-7.svn700
- Add patch to make typemapper always accessible
- Add patch to skip cracktastic X11 test bits which currently fail