Hello community,

here is the log from the commit of package lua-luafilesystem for 
openSUSE:Factory checked in at 2017-08-24 18:51:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-luafilesystem (Old)
 and      /work/SRC/openSUSE:Factory/.lua-luafilesystem.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-luafilesystem"

Thu Aug 24 18:51:23 2017 rev:2 rq:516194 version:1.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-luafilesystem/lua-luafilesystem.changes      
2017-01-24 10:33:20.090963971 +0100
+++ /work/SRC/openSUSE:Factory/.lua-luafilesystem.new/lua-luafilesystem.changes 
2017-08-24 18:51:24.253823899 +0200
@@ -1,0 +2,16 @@
+Fri Aug 11 15:51:51 UTC 2017 - [email protected]
+
+- Add defines for the version number and a version number string
+  with '_' (underscores) to keep these close together and in sync.
+
+-------------------------------------------------------------------
+Thu Aug 10 14:52:56 UTC 2017 - [email protected]
+
+- Fix provides/obsoletes for the old package name.
+
+-------------------------------------------------------------------
+Thu Jul 13 16:19:59 UTC 2017 - [email protected]
+
+- Switch to multibuild syntax to produce results for all lua flavors
+
+-------------------------------------------------------------------

Old:
----
  _service
  v_1_6_3.tar.gz

New:
----
  _multibuild
  luafilesystem-1.6.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua-luafilesystem.spec ++++++
--- /var/tmp/diff_new_pack.OnoX0F/_old  2017-08-24 18:51:25.389663967 +0200
+++ /var/tmp/diff_new_pack.OnoX0F/_new  2017-08-24 18:51:25.405661714 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-luafilesystem
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,23 +14,31 @@
 
 # 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:        %{vers_f %mod_version}
+%define flavor @BUILD_FLAVOR@
+%define mod_name luafilesystem
+%define pversion 1.6.3
+%define _pversion 1_6_3
+Version:        %pversion
 Release:        0
-License:        MIT
 Summary:        Filesystem support for Lua
-Url:            http://keplerproject.github.com/luafilesystem
+License:        MIT
 Group:          Development/Libraries/Other
-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
+Url:            http://keplerproject.github.io/luafilesystem/
+Source:         
https://github.com/keplerproject/luafilesystem/archive/v_%{_pversion}.tar.gz#/luafilesystem-%{version}.tar.gz
+BuildRequires:  %{flavor}-devel
+Requires:       %{flavor}
+%if "%{flavor}" == "lua53"
+Provides:       lua-%{mod_name} = %{version}
+Obsoletes:      lua-%{mod_name} < %{version}
+%endif
+%if "%{flavor}" == ""
+Name:           lua-%{mod_name}
+ExclusiveArch:  do_not_build
+%else
+Name:           %{flavor}-%{mod_name}
+%endif
 
 %description
 LuaFileSystem is a Lua library developed to complement the set of functions
@@ -40,19 +48,18 @@
 structure and file attributes.
 
 %prep
-%setup -q -n %{mod_name}-v_%{mod_version}
+%setup -q -n %{mod_name}-v_%{_pversion}
+
+sed -i 's|@@VERSION@@|%{version}|g' Makefile
 
 %build
-export OPTFLAGS="%{optflags} -fPIC"
-make %{_smp_mflags}
+make -j1 CFLAGS="%{optflags} -fPIC -I%{lua_incdir}"
 
 %install
-%make_install LUA_LIBDIR='$(DESTDIR)/%{lua_archdir}/'
+%make_install LUA_LIBDIR='$(DESTDIR)%{lua_archdir}'
 
 %files
-%defattr(-,root,root,-)
 %doc doc/us/*
-%dir %{lua_archdir}
 %{lua_archdir}/lfs.so
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
<package>lua51</package>
<package>lua52</package>
<package>lua53</package>
</multibuild>

Reply via email to