From 5ec966f5e9eba5877d12202b8030848a6fcda8f4 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 6 Nov 2019 14:52:45 -0500 Subject: [PATCH] Fix incorrect comparison Signed-off-by: Stephen Gallagher --- nodejs.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodejs.spec b/nodejs.spec index ef5a0f3..1659e90 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -8,7 +8,7 @@ # This is used by both the nodejs package and the npm subpackage thar # has a separate version - the name is special so that rpmdev-bumpspec # will bump this rather than adding .1 to the end. -%global baserelease 6 +%global baserelease 7 %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} @@ -78,7 +78,7 @@ %global sys_icu_version %(/usr/bin/icu-config --version) -%if sys_icu_version >= icu_version +%if "%{sys_icu_version}" >= "%{icu_version}" %global bundled_icu 0 %global icu_flag system-icu %else