Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=5
This commit is contained in:
parent
ad87b71976
commit
1f0351a2d5
@ -20,7 +20,6 @@
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luarocks
|
||||
%define lua_value %(echo "%{flavor}" |sed -e 's:lua::')
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 2.4.2
|
||||
Release: 0
|
||||
Summary: A deployment and management system for Lua modules
|
||||
@ -38,10 +37,12 @@ Requires: openssl
|
||||
Requires: unzip
|
||||
BuildArch: noarch
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
LuaRocks allows you to install Lua modules as self-contained packages
|
||||
called "rocks", which also contain version dependency
|
||||
|
Loading…
Reference in New Issue
Block a user