Factoryauto name detection fix

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-toluapp?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2017-07-15 07:33:55 +00:00 committed by Git OBS Bridge
parent aad66479db
commit ca5e6eace9

View File

@ -29,7 +29,6 @@
%if "%{flavor}" == "lua53" %if "%{flavor}" == "lua53"
%define lua_suffix 5_3 %define lua_suffix 5_3
%endif %endif
Name: %{flavor}-%{mod_name}
Version: 1.0.93 Version: 1.0.93
Release: 0 Release: 0
Summary: C/C++ with Lua Integration Tool Summary: C/C++ with Lua Integration Tool
@ -46,7 +45,10 @@ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: scons >= 2.3.0 BuildRequires: scons >= 2.3.0
%if "%{flavor}" == "" %if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif %endif
%description %description