Add macro for llvmjit settings

This commit is contained in:
Honza Horak 2021-04-20 21:18:15 +02:00
parent 34a02d67d8
commit 0b7d13d457
1 changed files with 8 additions and 1 deletions

View File

@ -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 <<EOF >> $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 <hhorak@redhat.com> - 13.2-5
- Add macro for llvmjit settings
* Wed Feb 17 2021 Honza Horak <hhorak@redhat.com> - 13.2-4
- Remove plpython2 entirely, same as upstream did
Resolves: #1913681