Add c++ buildrequires

Only build extras on fedora
This commit is contained in:
Wim Taymans 2018-07-20 10:57:10 +02:00
parent f7aea0915c
commit 35ffefd415

View File

@ -1,7 +1,7 @@
%global majorminor 1.0
# Turn off extras package on RHEL.
%if 0%{?fedora} || 0%{?rhel} > 7
# Only build extras on fedora
%if 0%{?fedora}
%bcond_without extras
%else
%bcond_with extras
@ -13,7 +13,7 @@
Name: gstreamer1-plugins-good
Version: 1.14.1
Release: 4%{?gitcommit:.git%{shortcommit}}%{?dist}
Release: 5%{?gitcommit:.git%{shortcommit}}%{?dist}
Summary: GStreamer plugins with good code and licensing
License: LGPLv2+
@ -34,6 +34,7 @@ Source0: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugin
Source1: gstreamer-good.appdata.xml
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gstreamer1-plugins-base-devel >= %{version}
@ -263,6 +264,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%changelog
* Fri Jul 20 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-5
- Add c++ buildrequires
- Only build extras on fedora
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild