From 22cc719777955e91cc37c754bca52e991aeef802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Novotn=C3=BD?= Date: Thu, 12 Mar 2020 15:42:37 +0100 Subject: [PATCH] Fix missing requirements - fix FTBFS due to named opcodes disabled in perl - fix missing requirements for server-devel package regarding the llvmjit --- postgresql.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/postgresql.spec b/postgresql.spec index 975e679..3246a9f 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -61,7 +61,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 12 Version: %{majorversion}.2 -Release: 1%{?dist} +Release: 2%{?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. @@ -113,6 +113,7 @@ Patch9: postgresql-server-pg_config.patch BuildRequires: gcc BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk BuildRequires: perl(ExtUtils::Embed), perl-devel +BuildRequires: perl(Opcode) %if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: perl-generators %endif @@ -241,6 +242,9 @@ Requires: libicu-devel %if %kerberos Requires: krb5-devel %endif +%if %llvmjit +Requires: clang-devel llvm-devel +%endif %description server-devel The postgresql-server-devel package contains the header files and configuration @@ -1254,6 +1258,10 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Thu Mar 12 2020 Patrik Novotný - 12.2-2 +- Fix requirements for JIT in postgresql-server-devel +- Fix build issues regarding new perl update + * Fri Feb 14 2020 Patrik Novotný - 12.2-1 - Rebase to upstream release 12.2