From 8a8f30799be35230b001bc08f19a0f71f52e168f Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 31 Jul 2008 20:30:35 +0000 Subject: [PATCH] fix build/ finding --- jna.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jna.spec b/jna.spec index d564376..06e1cc4 100644 --- a/jna.spec +++ b/jna.spec @@ -74,13 +74,13 @@ ant javadoc rm -rf %{buildroot} # jars -install -D -m 644 build-*/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar +install -D -m 644 build*/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}%{_javadir}/; for jar in `ls *-%{version}.jar`; do ln -s $jar `echo $jar | sed -e 's/-%{version}//'`; done) # NOTE: JNA has highly custom code to look for native jars in this # directory. Since this roughly matches the jpackage guidelines, # we'll leave it unchanged. install -d -m 755 %{buildroot}%{_libdir}/%{name} -install -m 755 build-*/native/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/ +install -m 755 build*/native/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/ # javadocs install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}