10
0

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:
Tomáš Chvátal
2017-07-15 07:33:42 +00:00
committed by Git OBS Bridge
parent 737b41049a
commit 8fffd84cd2

View File

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