[packages/lua-lgi] - use correct _libdir on x86-64 and x32; rel. 2

kiesiu kiesiu at pld-linux.org
Tue Mar 31 15:32:09 CEST 2015


commit 0abf6638f9219da1d98d029fb966d6197805645d
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Tue Mar 31 15:31:11 2015 +0200

    - use correct _libdir on x86-64 and x32; rel. 2

 lua-lgi.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lua-lgi.spec b/lua-lgi.spec
index e671821..7f5e1b8 100644
--- a/lua-lgi.spec
+++ b/lua-lgi.spec
@@ -1,7 +1,7 @@
 Summary:	Lua bindings to GObject libraries
 Name:		lua-lgi
 Version:	0.9.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Libraries
 Source0:	https://github.com/pavouk/lgi/archive/%{version}/lgi-%{version}.tar.gz
@@ -33,7 +33,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
-	PREFIX=%{_prefix}
+	LUA_LIBDIR=%{_libdir}/lua/5.1 \
+	LUA_SHAREDIR=%{_datadir}/lua/5.1/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lua-lgi.git/commitdiff/0abf6638f9219da1d98d029fb966d6197805645d



More information about the pld-cvs-commit mailing list