commit lua-lgi for openSUSE:Factory
Hello community, here is the log from the commit of package lua-lgi for openSUSE:Factory checked in at 2017-08-24 18:47:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old) and /work/SRC/openSUSE:Factory/.lua-lgi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lua-lgi" Thu Aug 24 18:47:29 2017 rev:5 rq:515023 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes 2016-05-30 09:58:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2017-08-24 18:47:35.698005482 +0200 @@ -1,0 +2,10 @@ +Mon Aug 7 11:18:02 UTC 2017 - jengelh@inai.de + +- RPM group corrections + +------------------------------------------------------------------- +Thu Jul 13 15:18:14 UTC 2017 - tchvatal@suse.com + +- Switch to mutlibuild in order to compile all flavors as needed + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-lgi.spec ++++++ --- /var/tmp/diff_new_pack.mobnxS/_old 2017-08-24 18:47:37.005821337 +0200 +++ /var/tmp/diff_new_pack.mobnxS/_new 2017-08-24 18:47:37.009820774 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua-lgi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Adam Mizerski <adam@mizerski.pl> # # All modifications and additions to the file contributed by third parties @@ -17,26 +17,30 @@ # -%define _name lgi -Name: lua-lgi +%define flavor @BUILD_FLAVOR@ +%define mod_name lgi Version: 0.9.1 Release: 0 Summary: Lua bindings to GObject libraries License: MIT -Group: System/Libraries +Group: Development/Languages/Other Url: https://github.com/pavouk/lgi -Source0: https://github.com/pavouk/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz -BuildRequires: pkg-config +Source0: https://github.com/pavouk/%{mod_name}/archive/%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz +BuildRequires: %{flavor}-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.8 BuildRequires: pkgconfig(libffi) -BuildRequires: pkgconfig(lua) -%if 0%{?suse_version} > 1320 -# Lua in openSUSE 13.2, Leap 42.x and SLE 12 does not yet provide -# Lua(API), and as such we can only depend on it in Tumbleweed, -# we need the 'branch' of lua this package was built against -# (lua_version nicely provides this info). -Requires: Lua(API) = %{lua_version} +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 @@ -46,8 +50,7 @@ %package doc Summary: Lua bindings to GObject libraries - documentation and samples -Group: Development/Libraries/Other -Requires: %{name} = %{version} +Group: Documentation/Other %description doc Dynamic Lua binding to any library which is introspectable @@ -55,10 +58,11 @@ directly from Lua. %prep -%setup -q -n %{_name}-%{version} +%setup -q -n %{mod_name}-%{version} %build make %{?_smp_mflags} \ + LUA_CFLAGS=" -I%{lua_incdir}" \ COPTFLAGS="%{optflags}" \ %install @@ -68,14 +72,12 @@ LUA_SHAREDIR=%{lua_noarchdir} %files -%defattr(-,root,root) %doc LICENSE README.md -%{lua_archdir}/%{_name}/ -%{lua_noarchdir}/%{_name}.lua -%{lua_noarchdir}/%{_name}/ +%{lua_archdir}/%{mod_name}/ +%{lua_noarchdir}/%{mod_name}.lua +%{lua_noarchdir}/%{mod_name}/ %files doc -%defattr(-,root,root) %doc docs samples tools %changelog ++++++ _multibuild ++++++ <multibuild> <package>lua51</package> <package>lua52</package> <package>lua53</package> </multibuild>
participants (1)
-
root@hilbert.suse.de