From 0b7d13d457f6d1815ce71ca076ff50c9bf630b23 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Tue, 20 Apr 2021 21:18:15 +0200 Subject: [PATCH] Add macro for llvmjit settings --- postgresql.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/postgresql.spec b/postgresql.spec index 74c2cd2..f2400e5 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -62,7 +62,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 13 Version: %{majorversion}.2 -Release: 4%{?dist} +Release: 5%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI # recognizes it as an independent license, so we do as well. @@ -699,6 +699,10 @@ rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1 EOF %endif +# Let plugins use the same llvmjit settings as server has +cat <> $RPM_BUILD_ROOT%macrosdir/macros.%name +%%postgresql_server_llvmjit %llvmjit +EOF %if %test # tests. There are many files included here that are unnecessary, @@ -1121,6 +1125,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Tue Apr 20 2021 Honza Horak - 13.2-5 +- Add macro for llvmjit settings + * Wed Feb 17 2021 Honza Horak - 13.2-4 - Remove plpython2 entirely, same as upstream did Resolves: #1913681