From 3de008322dba28aea7a6ea3c345c1f9d4346ff546158d557684f7a952bb7bf97 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 19 Feb 2021 15:59:21 +0000 Subject: [PATCH] - boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=15 --- postgresql13.changes | 5 +++++ postgresql13.spec | 4 ++++ 2 files changed, 9 insertions(+) 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