summaryrefslogtreecommitdiffstats
path: root/redhat/applications/amarok/amarok.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2022-01-30 19:21:28 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2022-01-30 19:23:19 +0100
commit2682eb1cd2a194fbf002a590db08780727fffc86 (patch)
treecaa53d08b6c5d61e602ddbf06c4dda1f2da67be2 /redhat/applications/amarok/amarok.spec
parent29ac54d3d0b69ef6331c27b1d4ce3bb86fbd8dfa (diff)
downloadtde-packaging-2682eb1cd2a194fbf002a590db08780727fffc86.tar.gz
tde-packaging-2682eb1cd2a194fbf002a590db08780727fffc86.zip
RPM: various updates for upcoming 14.0.12 release
Diffstat (limited to 'redhat/applications/amarok/amarok.spec')
-rw-r--r--redhat/applications/amarok/amarok.spec14
1 files changed, 13 insertions, 1 deletions
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}