forked from pool/lua-luafilesystem
Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luafilesystem?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
737b41049a
commit
8fffd84cd2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package lua
|
||||
# spec file for package lua-luafilesystem
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luafilesystem
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 1.6.3
|
||||
Release: 0
|
||||
Summary: Filesystem support for Lua
|
||||
@@ -33,7 +32,10 @@ Provides: lua-%{_name} = %{version}
|
||||
Obsoletes: lua-%{_name} < %{version}
|
||||
%endif
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user