From a704df27d2f6895dda044568ee516049f71007144a02760080df21a724859094 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 19 Mar 2024 09:16:16 +0000 Subject: [PATCH] Accepting request 1159148 from home:yfjiang:branches:GNOME:Factory - Do not use %elif by now since SLE, Leap does not have an rpm supporting the tag. OBS-URL: https://build.opensuse.org/request/show/1159148 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=170 --- libproxy.changes | 6 ++++++ libproxy.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libproxy.changes b/libproxy.changes index f33e805..bf8a0c4 100644 --- a/libproxy.changes +++ b/libproxy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 19 01:59:20 UTC 2024 - Yifan Jiang + +- Do not use %elif by now since SLE, Leap does not have an rpm + supporting the tag. + ------------------------------------------------------------------- Wed Feb 28 16:04:23 UTC 2024 - Dominique Leuenberger diff --git a/libproxy.spec b/libproxy.spec index da93f2e..81eeb98 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -19,7 +19,8 @@ %define flavor @BUILD_FLAVOR@%nil %if "%{flavor}" == "" ExclusiveArch: do-not-build -%elif "%{flavor}" == "client" +%else +%if "%{flavor}" == "client" %define name_suffix %{flavor} %define dash - %define mini -mini @@ -27,6 +28,7 @@ ExclusiveArch: do-not-build %define name_suffix %{flavor} %define dash - %endif +%endif %define _name libproxy Name: libproxy%{?dash}%{?name_suffix}