From 33034dc643a2560ba3392d593307e3edacfd9746bd77ec588fdffa47dd634f72 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 19 Feb 2021 15:57:01 +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/postgresql12?expand=0&rev=34 --- postgresql12.changes | 5 +++++ postgresql12.spec | 4 ++++ 2 files changed, 9 insertions(+) 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