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:
committed by
Git OBS Bridge
parent
3942fa4361
commit
17ce6b24f9
@@ -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
|
||||
|
Reference in New Issue
Block a user