From 8701a17e9dbf0d90221a122faa7be61e45a66c8b Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Mon, 29 Jan 2024 14:36:29 +0000 Subject: [PATCH] Use glob instead of macro --- icu.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/icu.spec b/icu.spec index 647ca8c..541c083 100644 --- a/icu.spec +++ b/icu.spec @@ -3,8 +3,6 @@ # Set to 0 when upgrading to a new ICU release that contains up-to-date timezone data. # (or update the timezone data update..). %global use_tzdata_update 0 -# Adjust to version major; used in tzdata update. -%global icu_major 73 Name: icu Version: 73.2 @@ -78,7 +76,7 @@ BuildArch: noarch %if 0%{?use_tzdata_update} pushd source unzip -o %{SOURCE1} -rm -f data/in/icudt%{icu_major}l.dat +rm -f data/in/icudt*l.dat cp -v -f %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} data/misc popd %endif