SHA256
12
0
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:
Tomáš Chvátal 2017-07-15 07:33:40 +00:00 committed by Git OBS Bridge
parent 7f24c20187
commit abd4ed33ea

View File

@ -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.