From abd4ed33ea50cfca01b02b0c882ce004cfd76cd471e731dc300658b4aee3ac4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 15 Jul 2017 07:33:40 +0000 Subject: [PATCH] Factoryauto name detection fix OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaexpat?expand=0&rev=8 --- lua-luaexpat.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua-luaexpat.spec b/lua-luaexpat.spec index 8772d82..1a68f51 100644 --- a/lua-luaexpat.spec +++ b/lua-luaexpat.spec @@ -20,7 +20,6 @@ %define flavor @BUILD_FLAVOR@ %define mod_name luaexpat -Name: %{flavor}-%{mod_name} Version: 1.3.0 Release: 0 License: MIT @@ -32,10 +31,12 @@ BuildRequires: libexpat-devel BuildRequires: %{flavor}-devel Requires: %{flavor} %if "%{flavor}" == "" +Name: lua-%{mod_name} ExclusiveArch: do_not_build +%else +Name: %{flavor}-%{mod_name} %endif - %description LuaExpat is a SAX XML parser based on the Expat library.