[lua-filesystem] Update to 1.6.2

Michel Alexandre Salim salimma at fedoraproject.org
Mon Oct 8 12:10:08 UTC 2012


commit 25fe7daa9311b1d9b27148ee765800196fef79a7
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Mon Oct 8 19:09:54 2012 +0700

    Update to 1.6.2
    
    - Spec cleanup

 .gitignore          |    2 +-
 lua-filesystem.spec |   17 ++++++++++++-----
 sources             |    2 +-
 3 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1b2dd82..b2550ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/luafilesystem-1.5.0.tar.gz
+/luafilesystem-1.6.2.tar.gz
diff --git a/lua-filesystem.spec b/lua-filesystem.spec
index f3db49f..e634bae 100644
--- a/lua-filesystem.spec
+++ b/lua-filesystem.spec
@@ -1,10 +1,9 @@
-%define luaver 5.1
-%define lualibdir %{_libdir}/lua/%{luaver}
-%define luapkgdir %{_datadir}/lua/%{luaver}
+%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
+%global lualibdir %{_libdir}/lua/%{luaver}
 
 Name:           lua-filesystem
-Version:        1.5.0
-Release:        3%{?dist}
+Version:        1.6.2
+Release:        1%{?dist}
 Summary:        File System Library for the Lua Programming Language
 
 Group:          Development/Libraries
@@ -16,7 +15,11 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %endif
 
 BuildRequires:  lua-devel >= %{luaver}
+%if 0%{?fedora}
+Requires:       lua(abi) = %{luaver}
+%else
 Requires:       lua >= %{luaver}
+%endif
 
 %description
 LuaFileSystem is a Lua library developed to complement the set of functions
@@ -56,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Oct  8 2012 Michel Salim <salimma at fedoraproject.org> - 1.6.2-1
+- Update to 1.6.2
+- Spec cleanup
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 61dafc8..9107f57 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3cf4882bbce956e7a0b010f148f194a3  luafilesystem-1.5.0.tar.gz
+4e7ec93678c760c4e42cea7d28aafa13  luafilesystem-1.6.2.tar.gz


More information about the scm-commits mailing list