From b1f300a2cbe2ea89261023bcd80046351acbd426 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Wed, 2 Jun 2021 01:25:19 +0200 Subject: [PATCH] Enable baresip-mpa subpackage on RHEL 8 since twolame-devel is available since RHEL >= 8.4 (#1843275) --- baresip.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/baresip.spec b/baresip.spec index 51923ba..cc2b929 100644 --- a/baresip.spec +++ b/baresip.spec @@ -1,7 +1,7 @@ Summary: Modular SIP user-agent with audio and video support Name: baresip Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD URL: https://github.com/baresip/baresip Source0: https://github.com/baresip/baresip/archive/v%{version}/%{name}-%{version}.tar.gz @@ -183,8 +183,6 @@ Baresip is a modular SIP user-agent with audio and video support. This module provides the JACK Audio Connection Kit audio driver. -# RHEL 8 doesn't have twolame-devel, see RHBZ#1843275 -%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} < 8) %package mpa Summary: MPA speech and audio codec module for baresip BuildRequires: twolame-devel @@ -201,7 +199,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Baresip is a modular SIP user-agent with audio and video support. This module provides the MPA speech and audio codec. -%endif %package mqtt Summary: MQTT management module for baresip @@ -551,10 +548,8 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || : %files jack %{_libdir}/%{name}/modules/jack.so -%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} < 8) %files mpa %{_libdir}/%{name}/modules/mpa.so -%endif %files mqtt %{_libdir}/%{name}/modules/mqtt.so @@ -612,6 +607,10 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || : %{_libdir}/%{name}/modules/x11grab.so %changelog +* Wed Jun 02 2021 Robert Scheck 1.1.0-2 +- Enable baresip-mpa subpackage on RHEL 8 since twolame-devel is + available since RHEL >= 8.4 (#1843275) + * Sat Apr 24 2021 Robert Scheck 1.1.0-1 - Upgrade to 1.1.0 (#1953196) - Added upstream feature patch for GTK+ call history