From 16b48e7f5e0ef7b8cd5fc3b8cb399d6b9396a4d6 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 16 Jan 2015 12:05:54 -0500 Subject: [PATCH] lua 5.3 --- lua-ldap.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lua-ldap.spec b/lua-ldap.spec index 428f656..937cfb2 100644 --- a/lua-ldap.spec +++ b/lua-ldap.spec @@ -1,3 +1,10 @@ +%if 0%{?fedora} >= 22 +%global luaver 5.3 +%global luacompatver 5.1 +%global luacompatlibdir %{_libdir}/lua/%{luacompatver} +%global luacompatpkgdir %{_datadir}/lua/%{luacompatver} +%global compatbuilddir %{_builddir}/lua51-%{name}-%{version}-%{release} +%else %if 0%{?fedora} >= 20 || 0%{?rhel} > 7 %global luaver 5.2 %global luacompatver 5.1 @@ -7,13 +14,14 @@ %else %global luaver 5.1 %endif +%endif %global lualibdir %{_libdir}/lua/%{luaver} %global luapkgdir %{_datadir}/lua/%{luaver} Name: lua-ldap Version: 1.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: LDAP client library for Lua, using OpenLDAP License: MIT URL: http://www.keplerproject.org/lualdap/ @@ -115,6 +123,9 @@ popd %endif %changelog +* Thu Jan 15 2015 Tom Callaway - 1.1.0-5 +- update for lua 5.3 + * Sun Aug 17 2014 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild