Use glob instead of macro

This commit is contained in:
Pete Walter 2024-01-29 14:36:29 +00:00
parent 0475e32d65
commit 8701a17e9d

View File

@ -3,8 +3,6 @@
# Set to 0 when upgrading to a new ICU release that contains up-to-date timezone data. # Set to 0 when upgrading to a new ICU release that contains up-to-date timezone data.
# (or update the timezone data update..). # (or update the timezone data update..).
%global use_tzdata_update 0 %global use_tzdata_update 0
# Adjust to version major; used in tzdata update.
%global icu_major 73
Name: icu Name: icu
Version: 73.2 Version: 73.2
@ -78,7 +76,7 @@ BuildArch: noarch
%if 0%{?use_tzdata_update} %if 0%{?use_tzdata_update}
pushd source pushd source
unzip -o %{SOURCE1} 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 cp -v -f %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} data/misc
popd popd
%endif %endif