diff --git a/lua-lgi.changes b/lua-lgi.changes index 34149c6..6714c6b 100644 --- a/lua-lgi.changes +++ b/lua-lgi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jul 30 11:43:11 UTC 2015 - dimstar@opensuse.org + +- Depend on lua = %{%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. + ------------------------------------------------------------------- Wed Apr 29 09:21:46 UTC 2015 - sor.alexei@meowr.ru diff --git a/lua-lgi.spec b/lua-lgi.spec index 5b15db1..af6da2b 100644 --- a/lua-lgi.spec +++ b/lua-lgi.spec @@ -31,7 +31,8 @@ BuildRequires: pkgconfig(gmodule-2.0) 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 = %{lua_version} %description Dynamic Lua binding to any library which is introspectable