From 2682eb1cd2a194fbf002a590db08780727fffc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 30 Jan 2022 19:21:28 +0100 Subject: RPM: various updates for upcoming 14.0.12 release --- redhat/applications/amarok/amarok.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'redhat/applications/amarok') diff --git a/redhat/applications/amarok/amarok.spec b/redhat/applications/amarok/amarok.spec index 1a66c3a57..e3dbc568a 100644 --- a/redhat/applications/amarok/amarok.spec +++ b/redhat/applications/amarok/amarok.spec @@ -101,11 +101,23 @@ BuildRequires: libtool-ltdl-devel BuildRequires: libusb-devel BuildRequires: mysql-devel -BuildRequires: postgresql-devel BuildRequires: SDL-devel BuildRequires: taglib-devel BuildRequires: sqlite-devel +# POSTGRESQL support +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 +BuildRequires: postgresql10 +BuildRequires: postgresql10-devel +%else +BuildRequires: postgresql +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else +BuildRequires: postgresql-devel +%endif +%endif + # not used anymore, in favor of libvisual ? -- Rex #{?fedora:BuildRequires: xmms-devel} -- cgit v1.2.1