[packages/geos] - install ruvy module in vendorarch dir - rel 2

baggins baggins at pld-linux.org
Sun Jul 14 18:25:48 CEST 2013


commit 71f7add88689f8798421f4f3eab6a3751c22cad8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jul 14 18:25:29 2013 +0200

    - install ruvy module in vendorarch dir
    - rel 2

 geos.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/geos.spec b/geos.spec
index 114fd49..db36700 100644
--- a/geos.spec
+++ b/geos.spec
@@ -7,7 +7,7 @@ Summary:	Geometry Engine - Open Source
 Summary(pl.UTF-8):	GEOS - silnik geometryczny z otwartymi źródłami
 Name:		geos
 Version:	3.3.8
-Release:	1
+Release:	2
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://download.osgeo.org/geos/%{name}-%{version}.tar.bz2
@@ -118,7 +118,11 @@ Wiązania języka Ruby do biblioteki GEOS.
 %configure \
 	%{?with_php:--enable-php} \
 	--enable-python \
-	%{?with_ruby:--enable-ruby}
+%if %{with ruby}
+	RUBY_EXTENSION_DIR=%{ruby_vendorarchdir} \
+	--enable-ruby \
+%endif
+
 
 %{__make} \
 	pkglibdir=%{_libdir}
@@ -190,5 +194,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with ruby}
 %files -n ruby-geos
 %defattr(644,root,root,755)
-%attr(755,root,root) %{ruby_sitearchdir}/geos.so
+%attr(755,root,root) %{ruby_vendorarchdir}/geos.so
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/geos.git/commitdiff/71f7add88689f8798421f4f3eab6a3751c22cad8



More information about the pld-cvs-commit mailing list