summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/arts/arts-14.0.0.spec4
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec5
2 files changed, 7 insertions, 2 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}}
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
index 181529f80..dfe89e406 100755
--- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
@@ -77,7 +77,10 @@ BuildRequires: pkgconfig
# PTHREAD support
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 5 || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: pth-devel
+%endif
+%if 0%{?fedora} && 0%{?fedora} <= 26
BuildRequires: pth-devel
%endif
%if 0%{?suse_version} && 0%{?suse_version} != 1330