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: timezone
BuildRequires: zlib-devel BuildRequires: zlib-devel
%bcond_without selinux %bcond_without selinux
%if %pgmajor > 10 || 0%{?suse_version} <= 1500 %if 0%{?suse_version} <= 1500
%bcond_without icu %bcond_without icu
%else %else
%bcond_with icu %bcond_with icu
@ -154,7 +154,9 @@ Patch4: postgresql-plperl-keep-rpath.patch
Patch6: postgresql-testsuite-int8.sql.patch Patch6: postgresql-testsuite-int8.sql.patch
Patch8: postgresql-testsuite-keep-results-file.patch Patch8: postgresql-testsuite-keep-results-file.patch
Patch9: postgresql-var-run-socket.patch Patch9: postgresql-var-run-socket.patch
%if %{with llvm}
Patch10: postgresql-llvm-optional.patch Patch10: postgresql-llvm-optional.patch
%endif
URL: https://www.postgresql.org/ URL: https://www.postgresql.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: postgresql = %version-%release Provides: postgresql = %version-%release
@ -461,7 +463,9 @@ touch -r configure tmp
%patch6 %patch6
%patch8 -p1 %patch8 -p1
%patch9 %patch9
%if %{with llvm}
%patch10 %patch10
%endif
touch -r tmp configure touch -r tmp configure
rm tmp rm tmp
find src/test/ -name '*.orig' -delete find src/test/ -name '*.orig' -delete