commit d21ef1cbb6252c3a36707894545791064a45846e
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Oct 12 11:39:48 2020 +0100
fix el8
mpd.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/mpd.spec b/mpd.spec
index ccdfa19..296521a 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -68,9 +68,11 @@ BuildRequires: libnfs-devel
BuildRequires: libsmbclient-devel
BuildRequires: libsndfile-devel
BuildRequires: libupnp-devel
+%if 0%{?fedora}
%ifnarch %{arm}
BuildRequires: liburing-devel
%endif
+%endif
BuildRequires: mpg123-devel
BuildRequires: openal-soft-devel
BuildRequires: python3-sphinx
@@ -134,9 +136,11 @@ sed -i -e 's@sphinx-build@sphinx-build-3@g' doc/meson.build
-Dsystemd_user_unit_dir=%{_userunitdir} \
-Dipv6=enabled \
-Dpipe=true \
+%if 0%{?fedora}
%ifarch %{arm}
-Dio_uring=disabled \
%endif
+%endif
-Ddocumentation=auto \
-Dsolaris_output=disabled \
-Dsndio=disabled \