From 3617f1c97fb394f637319a68530e6ba24f07a93f119894b304528e6ce9102ea0 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Sun, 17 Nov 2019 06:21:11 +0000 Subject: [PATCH] - Ensure %{ff_esr_name} get tested as a string; also, don't compare against an empty string. OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/firefox-esr?expand=0&rev=15 --- firefox-esr.changes | 6 ++++++ firefox-esr.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/firefox-esr.changes b/firefox-esr.changes index 988d6b3..884b33a 100644 --- a/firefox-esr.changes +++ b/firefox-esr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Nov 16 07:47:06 UTC 2019 - Manfred Hollstein + +- Ensure %{ff_esr_name} get tested as a string; also, don't compare + against an empty string. + ------------------------------------------------------------------- Thu Nov 14 09:51:00 UTC 2019 - Antonio Larrosa diff --git a/firefox-esr.spec b/firefox-esr.spec index a6885e2..da5b548 100644 --- a/firefox-esr.spec +++ b/firefox-esr.spec @@ -17,7 +17,7 @@ # # either MozillaFirefox or firefox-esr -%if "%{ff_esr_name}" != "" +%if "0%{?ff_esr_name}" != "0" %define pkgname %{ff_esr_name} %else %if 0%{?suse_version} > 1549