Add version macros
This commit is contained in:
parent
8701a17e9d
commit
38f4395552
7
icu.spec
7
icu.spec
@ -4,6 +4,9 @@
|
|||||||
# (or update the timezone data update..).
|
# (or update the timezone data update..).
|
||||||
%global use_tzdata_update 0
|
%global use_tzdata_update 0
|
||||||
|
|
||||||
|
%define version_dash %{gsub %{version} %. -}
|
||||||
|
%define version_underscore %{gsub %{version} %. _}
|
||||||
|
|
||||||
Name: icu
|
Name: icu
|
||||||
Version: 73.2
|
Version: 73.2
|
||||||
Release: 5%{?dist}
|
Release: 5%{?dist}
|
||||||
@ -11,9 +14,9 @@ Summary: International Components for Unicode
|
|||||||
|
|
||||||
License: Unicode-DFS-2016 AND BSD-2-Clause AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
|
License: Unicode-DFS-2016 AND BSD-2-Clause AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
|
||||||
URL: http://site.icu-project.org/
|
URL: http://site.icu-project.org/
|
||||||
Source0: https://github.com/unicode-org/icu/releases/download/release-73-2/icu4c-73_2-src.tgz
|
Source0: https://github.com/unicode-org/icu/releases/download/release-%{version_dash}/icu4c-%{version_underscore}-src.tgz
|
||||||
%if 0%{?use_tzdata_update}
|
%if 0%{?use_tzdata_update}
|
||||||
Source1: https://github.com/unicode-org/icu/releases/download/release-73-2/icu4c-73_2-data.zip
|
Source1: https://github.com/unicode-org/icu/releases/download/release-%{version_dash}/icu4c-%{version_underscore}-data.zip
|
||||||
Source2: https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2022b/44/metaZones.txt
|
Source2: https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2022b/44/metaZones.txt
|
||||||
Source3: https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2022b/44/timezoneTypes.txt
|
Source3: https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2022b/44/timezoneTypes.txt
|
||||||
Source4: https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2022b/44/windowsZones.txt
|
Source4: https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2022b/44/windowsZones.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user