forked from pool/lua-zlib
Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-zlib?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
5731051c64
commit
fa5d6aec56
@@ -18,7 +18,6 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name zlib
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 1.1
|
||||
Release: 0
|
||||
Summary: Simple streaming interface to zlib for Lua
|
||||
@@ -30,7 +29,10 @@ BuildRequires: %{flavor}-devel
|
||||
BuildRequires: zlib-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user