SHA256
10
0
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:
Tomáš Chvátal
2017-07-15 07:33:57 +00:00
committed by Git OBS Bridge
parent 5731051c64
commit fa5d6aec56

View File

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