Sync spec file with other versions

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=49
This commit is contained in:
Reinhard Max 2021-08-27 17:22:37 +00:00 committed by Git OBS Bridge
parent eab86d3b60
commit df48f463ed

View File

@ -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