Enable baresip-mpa subpackage on RHEL 8 since twolame-devel is available since RHEL >= 8.4 (#1843275)

This commit is contained in:
Robert Scheck 2021-06-02 01:25:19 +02:00
parent 9e2a2300d0
commit b1f300a2cb

View File

@ -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 <robert@fedoraproject.org> 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 <robert@fedoraproject.org> 1.1.0-1
- Upgrade to 1.1.0 (#1953196)
- Added upstream feature patch for GTK+ call history