From 35ffefd41535bd59dea0408ba17f2e184b4f65b2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 20 Jul 2018 10:57:10 +0200 Subject: [PATCH] Add c++ buildrequires Only build extras on fedora --- gstreamer1-plugins-good.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gstreamer1-plugins-good.spec b/gstreamer1-plugins-good.spec index 0e2a6ce..af19327 100644 --- a/gstreamer1-plugins-good.spec +++ b/gstreamer1-plugins-good.spec @@ -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 - 1.14.1-5 +- Add c++ buildrequires +- Only build extras on fedora + * Fri Jul 13 2018 Fedora Release Engineering - 1.14.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild