6 |
|
|
7 |
%define tarballver %(echo %version|sed -e 's|\\.|_|g') |
%define tarballver %(echo %version|sed -e 's|\\.|_|g') |
8 |
|
|
9 |
|
# re-enable when upgrading package to new version |
10 |
|
%define with_tests 0 |
11 |
|
|
12 |
Summary: International Components for Unicode |
Summary: International Components for Unicode |
13 |
Name: icu |
Name: icu |
14 |
Version: 59.1 |
Version: 59.1 |
15 |
Release: %mkrel 4 |
Release: %mkrel 5 |
16 |
Epoch: 1 |
Epoch: 1 |
17 |
License: Unicode |
License: Unicode |
18 |
Group: System/Libraries |
Group: System/Libraries |
26 |
Patch15: icu-FF52esr-suppress-warnings.diff |
Patch15: icu-FF52esr-suppress-warnings.diff |
27 |
Patch16: icu-CVE-2017-14952.patch |
Patch16: icu-CVE-2017-14952.patch |
28 |
Patch17: icu-CVE-2017-15422.patch |
Patch17: icu-CVE-2017-15422.patch |
|
# make test pass, remove when upgrading package to new version |
|
|
Patch18: icu-59.1-TestRelDateFmt-jours.patch |
|
29 |
BuildRequires: doxygen |
BuildRequires: doxygen |
30 |
Requires: %{libname} = %{epoch}:%{version} |
Requires: %{libname} = %{epoch}:%{version} |
31 |
|
|
102 |
%patch15 -p2 -b .FF52_icu_suppress-warnings |
%patch15 -p2 -b .FF52_icu_suppress-warnings |
103 |
%patch16 -p1 -b .CVE-2017-14952 |
%patch16 -p1 -b .CVE-2017-14952 |
104 |
%patch17 -p3 -b .CVE-2017-15422 |
%patch17 -p3 -b .CVE-2017-15422 |
|
%patch18 -p0 -b .TestRelDateFmt |
|
105 |
|
|
106 |
mkdir -p docs |
mkdir -p docs |
107 |
pushd docs |
pushd docs |
119 |
%make doc |
%make doc |
120 |
popd |
popd |
121 |
|
|
122 |
|
%if %{with_tests} |
123 |
%check |
%check |
124 |
pushd source |
pushd source |
125 |
make check |
make check |
126 |
popd |
popd |
127 |
|
%endif |
128 |
|
|
129 |
%install |
%install |
130 |
%makeinstall_std -C source |
%makeinstall_std -C source |