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:21:28 +0100
commit762b2007b3ebbbdd9a915d860087aef4286d7b26 (patch)
tree0e75a04c09cf0f70a86b28462cdb9e1c069a7ee1 /redhat/applications/amarok/amarok.spec
parent8de06a7bb918a3938935f28f0415305e1806f9cd (diff)
downloadtde-packaging-762b2007b3ebbbdd9a915d860087aef4286d7b26.tar.gz
tde-packaging-762b2007b3ebbbdd9a915d860087aef4286d7b26.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 78814bef7..8b9c2ba4f 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}