From 89ffdce7a6beeba45dc86ef9330086e976cb63c17525f51d220fa6c5da6101fd Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 27 Aug 2021 17:22:58 +0000 Subject: [PATCH] Sync spec file with other versions OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=30 --- postgresql13.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/postgresql13.spec b/postgresql13.spec index 37d65b0..d0f194d 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -72,7 +72,7 @@ BuildRequires: tcl-devel BuildRequires: timezone BuildRequires: zlib-devel %bcond_without selinux -%if %pgmajor > 10 || 0%{?suse_version} <= 1500 +%if 0%{?suse_version} <= 1500 %bcond_without icu %else %bcond_with icu @@ -154,7 +154,9 @@ Patch4: postgresql-plperl-keep-rpath.patch Patch6: postgresql-testsuite-int8.sql.patch Patch8: postgresql-testsuite-keep-results-file.patch Patch9: postgresql-var-run-socket.patch +%if %{with llvm} Patch10: postgresql-llvm-optional.patch +%endif URL: https://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: postgresql = %version-%release @@ -461,7 +463,9 @@ touch -r configure tmp %patch6 %patch8 -p1 %patch9 +%if %{with llvm} %patch10 +%endif touch -r tmp configure rm tmp find src/test/ -name '*.orig' -delete