forked from pool/lua-lpeg
Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lpeg?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
23749e324b
commit
5a01d21b57
@@ -19,7 +19,6 @@
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define _name lgi
|
||||
%define mod_name lpeg
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: Parsing Expression Grammars For Lua
|
||||
@@ -36,7 +35,10 @@ Provides: lua-%{mod_name} = %{version}
|
||||
Obsoletes: lua-%{mod_name} < %{version}
|
||||
%endif
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user