diff options
Diffstat (limited to 'redhat/applications/amarok/amarok.spec')
-rw-r--r-- | redhat/applications/amarok/amarok.spec | 14 |
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} |