diff --git a/postgresql13.changes b/postgresql13.changes index a2e46aa..5739cd0 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 19 15:30:08 UTC 2021 - Reinhard Max + +- boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW. + ------------------------------------------------------------------- Wed Feb 10 13:16:32 UTC 2021 - Reinhard Max diff --git a/postgresql13.spec b/postgresql13.spec index 7a3efc1..db96661 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -72,7 +72,11 @@ BuildRequires: tcl-devel BuildRequires: timezone BuildRequires: zlib-devel %bcond_without selinux +%if %pgmajor > 10 || 0%{?suse_version} <= 1500 %bcond_without icu +%else +%bcond_with icu +%endif %if !%buildlibs BuildRequires: %libecpg BuildRequires: %libpq