commit lua-luaterm for openSUSE:Factory
Hello community, here is the log from the commit of package lua-luaterm for openSUSE:Factory checked in at 2017-08-24 18:48:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-luaterm (Old) and /work/SRC/openSUSE:Factory/.lua-luaterm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lua-luaterm" Thu Aug 24 18:48:58 2017 rev:2 rq:515857 version:0.07 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-luaterm/lua-luaterm.changes 2017-01-24 10:33:24.098395783 +0100 +++ /work/SRC/openSUSE:Factory/.lua-luaterm.new/lua-luaterm.changes 2017-08-24 18:49:12.276406902 +0200 @@ -1,0 +2,15 @@ +Thu Aug 10 08:39:57 UTC 2017 - tchvatal@suse.com + +- Fix provides/obsoletes for the old package name + +------------------------------------------------------------------- +Thu Jul 13 18:19:03 UTC 2017 - tchvatal@suse.com + +- Switch to multibuild layout to deploy all lua versions at once + +------------------------------------------------------------------- +Thu Jul 13 18:17:50 UTC 2017 - tchvatal@suse.com + +- Fix build with namespaced lua + +------------------------------------------------------------------- Old: ---- _service lua-luaterm-0.07.tar.gz New: ---- _multibuild lua-term-0.07.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-luaterm.spec ++++++ --- /var/tmp/diff_new_pack.AeAy9T/_old 2017-08-24 18:49:13.068295401 +0200 +++ /var/tmp/diff_new_pack.AeAy9T/_new 2017-08-24 18:49:13.072294838 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua-luaterm # -# 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,22 +14,29 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define trans() ( echo %{1} | sed -e "s#_#\\.#g" ) -%define vers_f() %(%trans) -%define mod_name lua-term -Name: lua-luaterm +%define flavor @BUILD_FLAVOR@ +%define mod_name lua-term Version: 0.07 Release: 0 -License: MIT Summary: Terminal operations for Lua -Url: http://github.com/hoelzro/lua-term +License: MIT Group: Development/Libraries/Other -Source: https://github.com/hoelzro/lua-term/archive/%{version}.tar.gz#$/%{name}-%{version}.tar.gz -BuildRequires: lua-devel >= %{lua_version} -Requires: lua >= %{lua_version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://github.com/hoelzro/lua-term +Source: https://github.com/hoelzro/lua-term/archive/%{version}.tar.gz#$/%{mod_name}-%{version}.tar.gz +BuildRequires: %{flavor}-devel +Requires: %{flavor} +%if "%{flavor}" == "lua53" +Provides: lua-luaterm = %{version} +Obsoletes: lua-luaterm < %{version} +%endif +%if "%{flavor}" == "" +Name: lua-luaterm +ExclusiveArch: do_not_build +%else +Name: %{flavor}-luaterm +%endif %description This package provides terminal operations for Lua @@ -38,14 +45,20 @@ %setup -q -n %{mod_name}-%{version} %build -export OPTFLAGS="%{optflags} -fPIC" -make %{_smp_mflags} +make %{?_smp_mflags} \ + CWARNS="%{optflags}" \ + LUA_INC=%{lua_incdir} \ + LUA_SHARE=%{lua_noarchdir}/term \ + LUA_LIBDIR=%{lua_archdir}/term %install -%make_install LUA_LIBDIR='$(DESTDIR)/%{lua_archdir}/term/' LUA_SHARE='$(DESTDIR)/%{lua_noarchdir}/term/' +%make_install \ + CWARNS="%{optflags}" \ + LUA_INC=%{lua_incdir} \ + LUA_SHARE=%{buildroot}%{lua_noarchdir}/term \ + LUA_LIBDIR=%{buildroot}%{lua_archdir}/term %files -%defattr(-,root,root,-) %dir %{lua_archdir}/term %{lua_archdir}/term/core.so* %dir %{lua_noarchdir}/term ++++++ _multibuild ++++++ <multibuild> <package>lua51</package> <package>lua52</package> <package>lua53</package> </multibuild>
participants (1)
-
root@hilbert.suse.de