forked from pool/lua-luaexpat
Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaexpat?expand=0&rev=8
This commit is contained in:
parent
7f24c20187
commit
abd4ed33ea
@ -20,7 +20,6 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luaexpat
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
License: MIT
|
||||
@ -32,10 +31,12 @@ BuildRequires: libexpat-devel
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
LuaExpat is a SAX XML parser based on the Expat library.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user