commit lua-lgi for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2020-07-15 14:54:56

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new.3060 (New)


Package is "lua-lgi"

Wed Jul 15 14:54:56 2020 rev:8 rq:819733 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes  2018-04-05 
15:34:23.978173485 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new.3060/lua-lgi.changes
2020-07-15 14:54:59.470815108 +0200
@@ -1,0 +2,10 @@
+Thu Jul  9 13:23:34 UTC 2020 - Callum Farmer 
+
+- Added lua54.patch to fix building with Lua 5.4
+
+---
+Mon Jul  6 19:04:01 UTC 2020 - Matej Cepl 
+
+- Add lua54 as new build target
+
+---

New:

  lua54.patch



Other differences:
--
++ lua-lgi.spec ++
--- /var/tmp/diff_new_pack.6UEv5t/_old  2020-07-15 14:55:00.770816445 +0200
+++ /var/tmp/diff_new_pack.6UEv5t/_new  2020-07-15 14:55:00.774816449 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-lgi
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2012 Adam Mizerski 
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Other
 URL:https://github.com/pavouk/lgi
 Source0:
https://github.com/pavouk/%{mod_name}/archive/%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
+Patch:  lua54.patch
 BuildRequires:  %{flavor}-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gmodule-2.0)
@@ -58,7 +59,7 @@
 directly from Lua.
 
 %prep
-%setup -q -n %{mod_name}-%{version}
+%autosetup -n %{mod_name}-%{version} -p1
 
 %build
 make %{?_smp_mflags} V=1 \

++ _multibuild ++
--- /var/tmp/diff_new_pack.6UEv5t/_old  2020-07-15 14:55:00.810816486 +0200
+++ /var/tmp/diff_new_pack.6UEv5t/_new  2020-07-15 14:55:00.810816486 +0200
@@ -1,4 +1,5 @@
 
 lua51
 lua53
+lua54
 

++ lua54.patch ++
diff --git a/lgi/callable.c b/lgi/callable.c
index e96d3af..3234b64 100644
--- a/lgi/callable.c
+++ b/lgi/callable.c
@@ -1355,7 +1355,10 @@ closure_callback (ffi_cif *cif, void *ret, void **args, 
void *closure_arg)
 }
   else
 {
-#if LUA_VERSION_NUM >= 502
+#if LUA_VERSION_NUM >= 504
+  int nresults;
+  res = lua_resume (L, NULL, npos, &nresults);
+#elif LUA_VERSION_NUM >= 502
   res = lua_resume (L, NULL, npos);
 #else
   res = lua_resume (L, npos);



commit lua-lgi for openSUSE:Factory

2018-04-05 Thread root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2018-04-05 15:34:18

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new (New)


Package is "lua-lgi"

Thu Apr  5 15:34:18 2018 rev:7 rq:593625 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes  2017-10-31 
15:44:02.493683709 +0100
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2018-04-05 
15:34:23.978173485 +0200
@@ -1,0 +2,19 @@
+Wed Apr  4 12:06:12 UTC 2018 - sor.ale...@meowr.ru
+
+- Update to version 0.9.2:
+  * Fix assorted crashes in closure callback invocation code.
+  * Fix a double-free bug caused by incorrect annotation of
+Gio.DBusProxy.get_interface_info.
+  * Fix marshaling of arrays of pointers.
+  * Make objects unusable in __gc metamethod.
+  * Work around an API break in GLib 2.54.
+  * Use structured GLib logging when available.
+  * Add Gio.Async support also for static methods and global
+functions.
+  * A better error message when Gtk.init fails.
+  * Add support for Travis.
+  * Do not hardcode the pkg-config executable.
+  * Fix URI in GStreamer sample.
+  * Fix flags for D-Bus samples.
+
+---

Old:

  lgi-0.9.1.tar.gz

New:

  lgi-0.9.2.tar.gz



Other differences:
--
++ lua-lgi.spec ++
--- /var/tmp/diff_new_pack.DA3n9A/_old  2018-04-05 15:34:24.970137634 +0200
+++ /var/tmp/diff_new_pack.DA3n9A/_new  2018-04-05 15:34:24.970137634 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-lgi
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Adam Mizerski 
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,12 +19,12 @@
 
 %define flavor @BUILD_FLAVOR@
 %define mod_name lgi
-Version:0.9.1
+Version:0.9.2
 Release:0
 Summary:Lua bindings to GObject libraries
 License:MIT
 Group:  Development/Languages/Other
-Url:https://github.com/pavouk/lgi
+URL:https://github.com/pavouk/lgi
 Source0:
https://github.com/pavouk/%{mod_name}/archive/%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
 BuildRequires:  %{flavor}-devel
 BuildRequires:  pkgconfig
@@ -61,7 +61,7 @@
 %setup -q -n %{mod_name}-%{version}
 
 %build
-make %{?_smp_mflags} \
+make %{?_smp_mflags} V=1 \
   LUA_CFLAGS=" -I%{lua_incdir}" \
   COPTFLAGS="%{optflags}" \
 
@@ -72,7 +72,12 @@
   LUA_SHAREDIR=%{lua_noarchdir}
 
 %files
-%doc LICENSE README.md
+%if 0%{?suse_version} >= 1500
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc README.md
 %{lua_archdir}/%{mod_name}/
 %{lua_noarchdir}/%{mod_name}.lua
 %{lua_noarchdir}/%{mod_name}/

++ lgi-0.9.1.tar.gz -> lgi-0.9.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lgi-0.9.1/.travis.yml new/lgi-0.9.2/.travis.yml
--- old/lgi-0.9.1/.travis.yml   1970-01-01 01:00:00.0 +0100
+++ new/lgi-0.9.2/.travis.yml   2017-10-09 20:55:55.0 +0200
@@ -0,0 +1,60 @@
+sudo: required
+dist: trusty
+language: c
+env:
+  matrix:
+- LUA=5.1 LUANAME=luajit-2.0
+- LUA=5.1 LUANAME=lua5.1
+- LUA=5.2 LUANAME=lua5.2
+- LUA=5.3 LUANAME=lua5.3
+
+before_install:
+  - if [ -z $LUAINCLUDE ]; then LUAINCLUDE=/usr/include/${LUANAME}; fi
+
+install:
+  # Travis boilerplate: the apt-get cache might be out of date.
+  - travis_retry sudo apt-get update -qq
+
+  # Do not install recommended packages with apt-get.
+  - echo 'APT::Install-Recommends "false";' | sudo tee 
/etc/apt/apt.conf.d/no-recommends
+
+  # Install build dependencies
+  - travis_retry sudo apt-get install -y libgirepository1.0-dev libcairo2-dev 
gir1.2-gtk-3.0 libffi-dev libglib2.0-dev
+  # And dependencies for running tests
+  - travis_retry sudo apt-get install -y xvfb dbus-x11
+
+  # Install Lua (per env).
+  # Note that Lua 5.3 is installed manually, because it is not available in 
Ubuntu Trusty.
+  # For this we enable LUA_USE_APICHECK to catch errors in Lua API use.
+  # LuaJIT is also installed manually.
+  - |
+set -ev
+if [[ "$LUA" == "5.3" ]]; then
+  travis_retry wget http://www.lua.org/ftp/lua-5.3.3.tar.gz -O lua.tar.gz
+  tar -xvzf lua.tar.gz
+  (cd lua-5.3.3/src \
+&& make SYSCFLAGS="-DLUA_USE_LINUX -ULUA_COMPAT_5_2 
-DLUA_USE_APICHECK" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so 
MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so \
+&& cd .. \
+&& sudo make INSTALL_TOP=/usr/ INSTALL_INC=${LUAINCLUDE} 
TO_LIB=liblua.so linux install)
+elif [[ "$LUANAME" == "luajit-2.0" 

commit lua-lgi for openSUSE:Factory

2017-10-31 Thread root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2017-10-31 15:44:02

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new (New)


Package is "lua-lgi"

Tue Oct 31 15:44:02 2017 rev:6 rq:537621 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes  2017-08-24 
18:47:35.698005482 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2017-10-31 
15:44:02.493683709 +0100
@@ -1,0 +2,5 @@
+Mon Oct 30 14:45:32 UTC 2017 - jmate...@suse.com
+
+- do not build for Lua 5.2
+
+---



Other differences:
--
++ _multibuild ++
--- /var/tmp/diff_new_pack.CaAyGI/_old  2017-10-31 15:44:03.049663554 +0100
+++ /var/tmp/diff_new_pack.CaAyGI/_new  2017-10-31 15:44:03.053663410 +0100
@@ -1,5 +1,4 @@
 
 lua51
-lua52
 lua53
 




commit lua-lgi for openSUSE:Factory

2017-08-24 Thread root
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.0 +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 - jeng...@inai.de
+
+- RPM group corrections
+
+---
+Thu Jul 13 15:18:14 UTC 2017 - tchva...@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 
 #
 # 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 ++

lua51
lua52
lua53




commit lua-lgi for openSUSE:Factory

2016-05-30 Thread h_root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2016-05-30 09:58:14

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new (New)


Package is "lua-lgi"

Changes:

--- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes  2015-09-03 
18:09:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2016-05-30 
09:58:17.0 +0200
@@ -1,0 +2,13 @@
+Sat May 28 15:43:12 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 0.9.1:
+  * Marshal NULL strings as nil instead of empty strings.
+This allows use of e.g. DataInputStream:read_line() APIs.
+  * Add support for arrays with lengths as struct fields.
+  * Allow GLib.Variant construction for lightuserdata.
+  * Fix gtop binding (certain structs could not be imported).
+  * Adapt to new set of annotations in newer GLib.
+  * Assorted Lua5.3 fixes, lgi is now fully Lua5.3 compatible.
+  * Fix binding of Gdk.Rectangle from newer Gdk.
+
+---

Old:

  lgi-0.9.0.tar.gz

New:

  lgi-0.9.1.tar.gz



Other differences:
--
++ lua-lgi.spec ++
--- /var/tmp/diff_new_pack.Ifv9lW/_old  2016-05-30 09:58:18.0 +0200
+++ /var/tmp/diff_new_pack.Ifv9lW/_new  2016-05-30 09:58:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-lgi
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Adam Mizerski 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,8 +18,8 @@
 
 
 %define _name lgi
-Name:   lua-%{_name}
-Version:0.9.0
+Name:   lua-lgi
+Version:0.9.1
 Release:0
 Summary:Lua bindings to GObject libraries
 License:MIT
@@ -32,8 +32,10 @@
 BuildRequires:  pkgconfig(libffi)
 BuildRequires:  pkgconfig(lua)
 %if 0%{?suse_version} > 1320
-# LUA in openSUSE 13.2, Leap and SLE12 does not yet provide Lua(API), and as 
such we can only depend on it in TW
-# we need the 'branch' of lua this package was built against (lua_version 
nicely provides this info)
+# 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}
 %endif
 

++ lgi-0.9.0.tar.gz -> lgi-0.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lgi-0.9.0/Makefile new/lgi-0.9.1/Makefile
--- old/lgi-0.9.0/Makefile  2015-03-23 23:48:44.0 +0100
+++ new/lgi-0.9.1/Makefile  2016-05-27 21:56:36.0 +0200
@@ -5,7 +5,7 @@
 # License: MIT
 #
 
-VERSION = 0.9.0
+VERSION = 0.9.1
 MAKE ?= make
 
 ROCK = lgi-$(VERSION)-1.rockspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lgi-0.9.0/README.md new/lgi-0.9.1/README.md
--- old/lgi-0.9.0/README.md 2015-03-23 23:48:44.0 +0100
+++ new/lgi-0.9.1/README.md 2016-05-27 21:56:36.0 +0200
@@ -58,6 +58,7 @@
 - Jiří Klimeš
 - Garrett Regier
 - Kenneth Zhou
+- Travis Hoppe
 
 Many other people contributed to what lgi is today, in many forms -
 writing patches, reporting bugs, packaging for distributions,
@@ -65,6 +66,18 @@
 
 ## History
 
+### 0.9.1 (27-May-2016)
+
+ - marshal NULL strings as nil instead of empty strings.  This allows
+   use of e.g. DataInputStream:read_line() APIs.
+ - fix and improve build for OSX and Win-based configurations
+ - add support for arrays with lengths as struct fields
+ - allow GLib.Variant construction for lightuserdata
+ - fix gtop binding (certain structs could not be imported)
+ - adapt to new set of annotations in newer glib
+ - assorted Lua5.3 fixes, lgi is now fully Lua5.3 compatible
+ - fix binding of Gdk.Rectangle from newer GDK
+
 ### 0.9.0 (23-Mar-2015)
 
  - new feature: allow defining new properties on custom GObject
@@ -162,7 +175,7 @@
  - Avoid unexpected dependency on cairo-devel, cairo-runtime is now
enough
  - Make `set_resident()` more robust and fix stack leak for Lua 5.2 case,
-   avoid useless warning when `set_resident()` fails (to accomodate for
+   avoid useless warning when `set_resident()` fails (to accommodate for
static linking case).
  - Fix small memory leak (mutex) which occured once per opened
`lua_State` using lgi.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lgi-0.9.0/lgi/Makefile new/lgi-0.9.1/lgi/Makefile
--- old/lgi-0.9.0/lgi/Makefile  2015-03-23 23:48:44.

commit lua-lgi for openSUSE:Factory

2015-09-03 Thread h_root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2015-09-03 18:03:46

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new (New)


Package is "lua-lgi"

Changes:

--- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes  2015-08-05 
06:48:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2015-09-03 
18:09:57.0 +0200
@@ -1,0 +2,6 @@
+Wed Sep  2 08:56:31 UTC 2015 - dims...@opensuse.org
+
+- Only depend on Lua(API) in Tumbleweed: openSUSE 13.2, Leap and
+  SLE12 do not yet provide this symbol.
+
+---



Other differences:
--
++ lua-lgi.spec ++
--- /var/tmp/diff_new_pack.K6uwYx/_old  2015-09-03 18:09:58.0 +0200
+++ /var/tmp/diff_new_pack.K6uwYx/_new  2015-09-03 18:09:58.0 +0200
@@ -31,8 +31,11 @@
 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 and SLE12 does not yet provide Lua(API), and as 
such we can only depend on it in TW
 # we need the 'branch' of lua this package was built against (lua_version 
nicely provides this info)
 Requires:   Lua(API) = %{lua_version}
+%endif
 
 %description
 Dynamic Lua binding to any library which is introspectable




commit lua-lgi for openSUSE:Factory

2015-08-04 Thread h_root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2015-08-05 06:48:28

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new (New)


Package is "lua-lgi"

Changes:

--- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes  2015-05-06 
11:19:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2015-08-05 
06:48:29.0 +0200
@@ -1,0 +2,8 @@
+Thu Jul 30 11:43:11 UTC 2015 - dims...@opensuse.org
+
+- Depend on Lua(API) = %{%lua_version}. Note: lua_version is only
+  major.minor of lua (e.g 5.2, 5.3[...]). This is needed as the
+  files are installed in /usr/share/lua/5.2 when built against
+  lua 5.2.
+
+---



Other differences:
--
++ lua-lgi.spec ++
--- /var/tmp/diff_new_pack.q60zJZ/_old  2015-08-05 06:48:30.0 +0200
+++ /var/tmp/diff_new_pack.q60zJZ/_new  2015-08-05 06:48:30.0 +0200
@@ -31,7 +31,8 @@
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.10.8
 BuildRequires:  pkgconfig(libffi)
 BuildRequires:  pkgconfig(lua)
-Requires:   lua
+# we need the 'branch' of lua this package was built against (lua_version 
nicely provides this info)
+Requires:   Lua(API) = %{lua_version}
 
 %description
 Dynamic Lua binding to any library which is introspectable




commit lua-lgi for openSUSE:Factory

2015-05-06 Thread h_root
Hello community,

here is the log from the commit of package lua-lgi for openSUSE:Factory checked 
in at 2015-05-06 11:19:13

Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old)
 and  /work/SRC/openSUSE:Factory/.lua-lgi.new (New)


Package is "lua-lgi"

Changes:

New Changes file:

--- /dev/null   2015-04-29 01:05:10.436023256 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lgi.new/lua-lgi.changes 2015-05-06 
11:19:13.0 +0200
@@ -0,0 +1,21 @@
+---
+Wed Apr 29 09:21:46 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.9.0:
+  * Allow defining new properties on custom GObject subclasses
+implemented using lgi.
+  * Improve compatibility with locales (turkish).
+  * Fix GPtrArray handling.
+  * Improve behavior when running in assorted multiple-embedded and
+concurrent scenarios.
+
+---
+Fri Aug 15 13:05:56 UTC 2014 - fre...@suse.com
+
+- new upstream package; version 0.8.0
+
+---
+Tue Jan  8 18:48:57 UTC 2013 - a...@mizerski.pl
+
+- new package; version 0.6.2
+

New:

  lgi-0.9.0.tar.gz
  lua-lgi.changes
  lua-lgi.spec



Other differences:
--
++ lua-lgi.spec ++
#
# spec file for package lua-lgi
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Adam Mizerski 
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define _name lgi
Name:   lua-%{_name}
Version:0.9.0
Release:0
Summary:Lua bindings to GObject libraries
License:MIT
Group:  System/Libraries
Url:https://github.com/pavouk/lgi
Source0:
https://github.com/pavouk/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(gmodule-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.10.8
BuildRequires:  pkgconfig(libffi)
BuildRequires:  pkgconfig(lua)
Requires:   lua

%description
Dynamic Lua binding to any library which is introspectable
using gobject-introspection. Allows using GObject-based libraries
directly from Lua.

%package doc
Summary:Lua bindings to GObject libraries - documentation and samples
Group:  Development/Libraries/Other
Requires:   %{name} = %{version}

%description doc
Dynamic Lua binding to any library which is introspectable
using gobject-introspection. Allows using GObject-based libraries
directly from Lua.

%prep
%setup -q -n %{_name}-%{version}

%build
make %{?_smp_mflags} \
  COPTFLAGS="%{optflags}" \

%install
%make_install \
  PREFIX=%{_prefix} \
  LUA_LIBDIR=%{lua_archdir} \
  LUA_SHAREDIR=%{lua_noarchdir}

%files
%defattr(-,root,root)
%doc LICENSE README.md
%{lua_archdir}/%{_name}/
%{lua_noarchdir}/%{_name}.lua
%{lua_noarchdir}/%{_name}/

%files doc
%defattr(-,root,root)
%doc docs samples tools

%changelog