From ffaa912975f8f31b0daa221a1d604f65fc9b429d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 2 Jun 2018 14:27:43 +0200 Subject: RPM: disable lame support when building on OBS --- redhat/applications/k3b/k3b-14.0.0.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'redhat/applications/k3b') diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec index 9944a1fa6..9970464d2 100644 --- a/redhat/applications/k3b/k3b-14.0.0.spec +++ b/redhat/applications/k3b/k3b-14.0.0.spec @@ -191,6 +191,7 @@ BuildRequires: libmad-devel %endif # LAME support +%if 0%{?opensuse_bs} == 0 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %define with_lame 1 %if 0%{?mgaversion} || 0%{?mdkversion} @@ -211,6 +212,7 @@ BuildRequires: libmp3lame-devel BuildRequires: lame-devel %endif %endif +%endif # FFMPEG support %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} @@ -445,6 +447,7 @@ fi -DWITH_MUSICBRAINZ="OFF" \ -DWITH_FFMPEG_ALL_CODECS="ON" \ -DWITH_MUSEPACK="ON" \ + -DWITH_LAME="%{!?with_lame:OFF}%{?with_lame:ON}" \ .. %__make %{?_smp_mflags} || %__make -- cgit v1.2.1