diff --git a/postgresql12.changes b/postgresql12.changes index 4e28972..f76920d 100644 --- a/postgresql12.changes +++ b/postgresql12.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:32:07 UTC 2021 - Reinhard Max diff --git a/postgresql12.spec b/postgresql12.spec index db5ff20..6cb623e 100644 --- a/postgresql12.spec +++ b/postgresql12.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