From 18432882b543f94edbf1721170a0a80908151dc80252b88e7ec73e4ca98336a2 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 30 Jul 2015 12:27:46 +0000 Subject: [PATCH] Accepting request 319560 from home:dimstar:Factory - 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. OBS-URL: https://build.opensuse.org/request/show/319560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lgi?expand=0&rev=5 --- lua-lgi.changes | 8 ++++++++ lua-lgi.spec | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) 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