- install ruvy module in vendorarch dir
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Jul 2013 16:25:29 +0000 (18:25 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Jul 2013 16:25:29 +0000 (18:25 +0200)
- rel 2

geos.spec

index 114fd49..db36700 100644 (file)
--- 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
This page took 0.557156 seconds and 4 git commands to generate.