From 15e5f2042d406591e98abff299951b3c3a562e33 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Fri, 9 Feb 2018 16:50:16 +0100 Subject: [PATCH] avoid build failure if gstreamer-plugins-base-devel is installed --- libnice.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libnice.spec b/libnice.spec index d6bb439..1575942 100644 --- a/libnice.spec +++ b/libnice.spec @@ -77,7 +77,12 @@ autoreconf -fiv %build -%configure --disable-static +%configure --disable-static \ +%if %{with gst010} + --with-gstreamer-0.10 +%else + --without-gstreamer-0.10 +%endif sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} @@ -123,6 +128,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog * Fri Feb 09 2018 Kamil Dudka - 0.1.14-4.20171128gitfb2f1f7 +- avoid build failure if gstreamer-plugins-base-devel is installed - move autoreconf invocation to %%prep - use Name Version Release that explicitly identifies an SCM snapshot (#1541646)