[packages/jpcap] recreate jars, fixed %install
gotar
gotar at pld-linux.org
Wed Mar 27 03:50:18 CET 2013
commit 93db76d999a1640f09cf3071c103b67ca6a57841
Author: Tomasz Pala <gotar at pld-linux.org>
Date: Wed Mar 27 03:50:00 2013 +0100
recreate jars, fixed %install
jpcap.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/jpcap.spec b/jpcap.spec
index 20784df..0f319f5 100644
--- a/jpcap.spec
+++ b/jpcap.spec
@@ -41,10 +41,15 @@ export OSTYPE MAKE_HOME CLASSPATH
%{__make} clean
%{__make}
+export RELEASE_HOME=`pwd`
+make -C src/java/net/sourceforge/jpcap release
+
%install
rm -rf $RPM_BUILD_ROOT
-export RELEASE_HOME=.
+MAKE_HOME=`pwd`/make
+RELEASE_HOME=`pwd`
+export RELEASE_HOME MAKE_HOME
%{__make} setup_pkgroot \
PKG_ROOT=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jpcap.git/commitdiff/93db76d999a1640f09cf3071c103b67ca6a57841
More information about the pld-cvs-commit
mailing list