fix build error due to GNU version mismatch

This commit is contained in:
wang--ge 2022-01-11 16:43:28 +08:00
parent dc56a805d2
commit c80cb7adf6

View File

@ -1,6 +1,6 @@
Name: farstream02
Version: 0.2.8
Release: 5
Release: 6
Summary: Audio/Video Communications Framework
License: LGPLv2+ and GPLv2+
URL: http://www.freedesktop.org/wiki/Software/Farstream
@ -10,6 +10,7 @@ Patch0001: build-Adapt-to-backwards-incompatible-change-in-GNU-Make-4.
BuildRequires: libnice-devel >= 0.1.3 gstreamer1-devel >= 1.0.0 python3-devel autoconf
BuildRequires: gstreamer1-plugins-base-devel >= 1.0.0 gupnp-igd-devel gobject-introspection-devel
BuildRequires: gtk-doc
Requires: gstreamer1-plugins-good >= 1.0.0 gstreamer1-plugins-bad-free >= 1.0.0 libnice-gstreamer1
%description
@ -26,6 +27,7 @@ Development files of farstream.
%prep
%autosetup -n farstream-%{version} -p1
sed -i 's/-lgstrtp-@GST_API_VERSION@/-lgstrtp-@GST_API_VERSION@ -lm/g' ./tests/rtp/Makefile.am
%build
autoreconf --force --install
@ -67,6 +69,9 @@ autoreconf --force --install
%{_datadir}/gtk-doc/html/farstream-plugins-0.2/
%changelog
* Tue Jan 11 2022 Ge Wang <wangge20@huawei.com> - 0.2.8-6
- Fix build fail due to GNU make version mismatch
* Tue Oct 27 2020 jialei <jialei17@huawei.com> - 0.2.8-5
- change python2 to python3