summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-12-02 21:00:23 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2017-12-02 21:01:08 +0100
commitd649bfbf62736daf7261c367e500a50fc28a2739 (patch)
treeb88d2b802a395dba13d90780658c2510b855ab73
parentac47427ea4e008acdbd0fae8cf88a0ec9a387791 (diff)
downloadtde-packaging-d649bfbf62736daf7261c367e500a50fc28a2739.tar.gz
tde-packaging-d649bfbf62736daf7261c367e500a50fc28a2739.zip
RPM: fix build kaffeine-mozilla, arts, tqtinterface, fileshareset for Fedora 27
-rw-r--r--redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec3
-rw-r--r--redhat/dependencies/arts/arts-14.0.0.spec4
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec5
-rw-r--r--redhat/extras/fileshareset/fileshareset.spec4
4 files changed, 14 insertions, 2 deletions
diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec
index 8cc6d5b75..f9d3be544 100644
--- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec
+++ b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec
@@ -37,6 +37,9 @@
%define _docdir %{tde_docdir}
+%if 0%{?fedora} >= 27
+%define debug_package %{nil}
+%endif
Name: trinity-%{tde_pkg}
Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity]
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
diff --git a/redhat/extras/fileshareset/fileshareset.spec b/redhat/extras/fileshareset/fileshareset.spec
index 970ed8510..79567d264 100644
--- a/redhat/extras/fileshareset/fileshareset.spec
+++ b/redhat/extras/fileshareset/fileshareset.spec
@@ -19,6 +19,10 @@
#copyright : (C) 2003 SuSE AG
#email : Uwe.Gansert@suse.de
+%if 0%{?fedora} >= 27
+%define debug_package %{nil}
+%endif
+
Name: fileshareset
Version: 2.0
Release: 1%{?dist}