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:
committed by
Git OBS Bridge
parent
7f24c20187
commit
abd4ed33ea
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
%define flavor @BUILD_FLAVOR@
|
%define flavor @BUILD_FLAVOR@
|
||||||
%define mod_name luaexpat
|
%define mod_name luaexpat
|
||||||
Name: %{flavor}-%{mod_name}
|
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -32,10 +31,12 @@ BuildRequires: libexpat-devel
|
|||||||
BuildRequires: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
Requires: %{flavor}
|
Requires: %{flavor}
|
||||||
%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
|
||||||
LuaExpat is a SAX XML parser based on the Expat library.
|
LuaExpat is a SAX XML parser based on the Expat library.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user