avoid build failure if gstreamer-plugins-base-devel is installed

This commit is contained in:
Kamil Dudka 2018-02-09 16:50:16 +01:00
parent 0acfa758ec
commit 15e5f2042d

View File

@ -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 <kdudka@redhat.com> - 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)