RPM: fix build kaffeine-mozilla, arts, tqtinterface, fileshareset for Fedora 27

pull/3/head
François Andriot 7 years ago
parent ac47427ea4
commit d649bfbf62

@ -37,6 +37,9 @@
%define _docdir %{tde_docdir} %define _docdir %{tde_docdir}
%if 0%{?fedora} >= 27
%define debug_package %{nil}
%endif
Name: trinity-%{tde_pkg} Name: trinity-%{tde_pkg}
Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity]

@ -77,7 +77,9 @@ BuildRequires: libvorbis-devel
# ESOUND support # ESOUND support
%define with_esound 1 %define with_esound 1
%if 0%{?with_esound}
BuildRequires: esound-devel BuildRequires: esound-devel
%endif
# JACK support # JACK support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
@ -174,7 +176,7 @@ Obsoletes: arts-devel
Requires: alsa-lib-devel Requires: alsa-lib-devel
Requires: audiofile-devel Requires: audiofile-devel
Requires: libvorbis-devel Requires: libvorbis-devel
Requires: esound-devel %{?with_esound:Requires: esound-devel}
%{?with_libmad:Requires: %{mad_devel}} %{?with_libmad:Requires: %{mad_devel}}
%{?with_jack:Requires: %{jack_devel}} %{?with_jack:Requires: %{jack_devel}}

@ -77,7 +77,10 @@ BuildRequires: pkgconfig
# PTHREAD support # 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 BuildRequires: pth-devel
%endif %endif
%if 0%{?suse_version} && 0%{?suse_version} != 1330 %if 0%{?suse_version} && 0%{?suse_version} != 1330

@ -19,6 +19,10 @@
#copyright : (C) 2003 SuSE AG #copyright : (C) 2003 SuSE AG
#email : Uwe.Gansert@suse.de #email : Uwe.Gansert@suse.de
%if 0%{?fedora} >= 27
%define debug_package %{nil}
%endif
Name: fileshareset Name: fileshareset
Version: 2.0 Version: 2.0
Release: 1%{?dist} Release: 1%{?dist}

Loading…
Cancel
Save