diff --git a/_service b/_service new file mode 100644 index 0000000..5d571b0 --- /dev/null +++ b/_service @@ -0,0 +1,5 @@ + + + yes + + diff --git a/lua-luafilesystem.changes b/lua-luafilesystem.changes index 77036b1..c9fa296 100644 --- a/lua-luafilesystem.changes +++ b/lua-luafilesystem.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Oct 17 13:30:22 UTC 2016 - eich@suse.com + +- Setting 'download_files' service to mode='localonly' + and adding source tarball. (Required for Factory). + +------------------------------------------------------------------- +Tue Oct 11 17:12:41 UTC 2016 - eich@suse.com + +- Update to version 1.6.3: + * Lua 5.3 support. + * Assorted bugfixes. +- Use source services +- Make use of lua macros +- Add Requires for lua +- Add -fPIC compiler flag + ------------------------------------------------------------------- Wed Jan 29 14:14:50 UTC 2014 - kianseong@gmail.com diff --git a/lua-luafilesystem.spec b/lua-luafilesystem.spec index 44b4313..5f433eb 100644 --- a/lua-luafilesystem.spec +++ b/lua-luafilesystem.spec @@ -14,18 +14,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%define trans() ( echo %{1} | sed -e "s#_#\\.#g" ) +%define vers_f() %(%trans) + +%define mod_version 1_6_3 %define mod_name luafilesystem Name: lua-luafilesystem -Version: 1.6.2 +Version: %{vers_f %mod_version} Release: 0 License: MIT Summary: Filesystem support for Lua -Url: https://github.com/downloads/keplerproject/luafilesystem/ +Url: http://keplerproject.github.com/luafilesystem Group: Development/Libraries/Other -Source: luafilesystem-1.6.2.tar.gz -# PATCH-FIX-OPENSUSE lua-luafilesystem-fix-configuration.patch malcolmlewis@opensuse.org -- Clean up building and add rpm optflags. -BuildRequires: lua-devel +Source: https://github.com/keplerproject/luafilesystem/archive/v_%{mod_version}.tar.gz +BuildRequires: lua-devel >= %{lua_version} +Requires: lua >= %{lua_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -36,20 +40,19 @@ LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n %{mod_name}-v_%{mod_version} %build -export OPTFLAGS="%{optflags}" -make +export OPTFLAGS="%{optflags} -fPIC" +make %{_smp_mflags} %install -%makeinstall LUA_LIBDIR='$(DESTDIR)%{_libdir}/lua/5.2/' +%makeinstall LUA_LIBDIR='$(DESTDIR)/%{lua_archdir}/' %files %defattr(-,root,root,-) %doc doc/us/* -%dir %{_libdir}/lua -%dir %{_libdir}/lua/5.2 -%{_libdir}/lua/5.2/lfs.so +%dir %{lua_archdir} +%{lua_archdir}/lfs.so %changelog diff --git a/luafilesystem-1.6.2.tar.gz b/luafilesystem-1.6.2.tar.gz deleted file mode 100644 index bce1665..0000000 --- a/luafilesystem-1.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4ad16df9958314662a459fec848d233d59313ef4992808a290053c1614532018 -size 27886 diff --git a/v_1_6_3.tar.gz b/v_1_6_3.tar.gz new file mode 100644 index 0000000..15f186a --- /dev/null +++ b/v_1_6_3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5525d2b8ec7774865629a6a29c2f94cb0f7e6787987bf54cd37e011bfb642068 +size 30379