SHA256
10
0
forked from pool/lua-luadbi

Factoryauto name detection fix

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2017-07-15 07:33:38 +00:00
committed by Git OBS Bridge
parent 3942fa4361
commit 17ce6b24f9

View File

@@ -18,7 +18,6 @@
%define flavor @BUILD_FLAVOR@
%define mod_name luadbi
Name: %{flavor}-%{mod_name}
Version: 0.5
Release: 0
Summary: A database interface library for Lua
@@ -35,7 +34,10 @@ BuildRequires: postgresql-devel
BuildRequires: sqlite3-devel
Requires: %{flavor}
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
%description