Add macro for llvmjit settings
This commit is contained in:
parent
34a02d67d8
commit
0b7d13d457
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user