summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/arts
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/arts')
-rw-r--r--redhat/dependencies/arts/arts-14.0.0.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec
index 64d3f4972..c5091e55b 100644
--- a/redhat/dependencies/arts/arts-14.0.0.spec
+++ b/redhat/dependencies/arts/arts-14.0.0.spec
@@ -77,7 +77,9 @@ BuildRequires: libvorbis-devel
# ESOUND support
%define with_esound 1
+%if 0%{?with_esound}
BuildRequires: esound-devel
+%endif
# JACK support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
@@ -174,7 +176,7 @@ Obsoletes: arts-devel
Requires: alsa-lib-devel
Requires: audiofile-devel
Requires: libvorbis-devel
-Requires: esound-devel
+%{?with_esound:Requires: esound-devel}
%{?with_libmad:Requires: %{mad_devel}}
%{?with_jack:Requires: %{jack_devel}}