From 50b069722dcb9cc4a2809f24262bd2dc5be36019e699aeae9249c2666efc87e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 14 Jul 2017 12:00:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-toluapp?expand=0&rev=5 --- lua-toluapp.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua-toluapp.spec b/lua-toluapp.spec index aa86826..3a6b277 100644 --- a/lua-toluapp.spec +++ b/lua-toluapp.spec @@ -23,8 +23,7 @@ Version: 1.0.93 Release: 0 Summary: C/C++ with Lua Integration Tool License: MIT -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: Development/Languages/Lua +Group: Development/Languages/Other Url: https://github.com/LuaDist/toluapp Source: https://github.com/LuaDist/toluapp/archive/%{version}/toluapp-%{version}.tar.gz Patch0: toluapp-libdir.patch @@ -48,8 +47,7 @@ Lua. tolua++ includes new features oriented to c++ such as: %package -n toluapp-%{lua_version} Summary: C/C++ with Lua Integration Tool -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: Development/Languages/Lua +Group: Development/Languages/Other Requires(post): update-alternatives Requires(postun): update-alternatives @@ -110,7 +108,8 @@ scons %{?_smp_mflags} \ prefix="%{buildroot}%{_prefix}" \ libdir="%{buildroot}%{_libdir}" \ shared=1 \ - install + install \ + -Q CCFLAGS="%{optflags} -I%{lua_incdir} -fPIC" # pkgconfig file mkdir -p %{buildroot}%{_libdir}/pkgconfig