[packages/libpano13] - fix java options - rel 2

baggins baggins at pld-linux.org
Wed Oct 29 20:50:18 CET 2014


commit 3999e20b9657158e3e2ff9071df74e28932e8bb7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 29 20:52:02 2014 +0100

    - fix java options
    - rel 2

 libpano13.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libpano13.spec b/libpano13.spec
index fcffcaa..1a4085e 100644
--- a/libpano13.spec
+++ b/libpano13.spec
@@ -1,13 +1,13 @@
 #
 # Conditional build:
-%bcond_with	java		# Java Native Interface
+%bcond_without	java		# Java Native Interface
 %bcond_without	static_libs	# static library build
 #
 Summary:	Panorama Tools library
 Summary(pl.UTF-8):	Panorama Tools - biblioteka do obróbki panoram
 Name:		libpano13
 Version:	2.9.19
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/panotools/%{name}-%{version}.tar.gz
@@ -69,7 +69,7 @@ Statyczna biblioteka Panorama Tools.
 %{__automake}
 %configure \
 	%{?with_static_libs:--enable-static} \
-	%{?with_java:--with-java=/usr/%{_lib}/java}%{!?with_java:--without-java}
+	%{?with_java:--with-java="%{java_home}"}%{!?with_java:--without-java}
 #	LIBS="-lm" \
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpano13.git/commitdiff/3999e20b9657158e3e2ff9071df74e28932e8bb7



More information about the pld-cvs-commit mailing list