Append --disable-fatal-warnings to %configure to prevent

building from aborting for negligible warnings (Fix F24FTBFS)
- Append --disable-silent-rules to %configure to make
  building verbose.
- Don't remove buildroot before installing.
This commit is contained in:
Ralf Corsépius 2016-02-04 18:37:56 +01:00
parent 7b3cdbdbad
commit 444805c972

View File

@ -14,7 +14,7 @@
Name: gstreamer1-plugins-bad-free Name: gstreamer1-plugins-bad-free
Version: 1.7.1 Version: 1.7.1
Release: 3%{?gitcommit:.git%{shortcommit}}%{?dist} Release: 4%{?gitcommit:.git%{shortcommit}}%{?dist}
Summary: GStreamer streaming media framework "bad" plugins Summary: GStreamer streaming media framework "bad" plugins
License: LGPLv2+ and LGPLv2 License: LGPLv2+ and LGPLv2
@ -169,7 +169,7 @@ aren't tested well enough, or the code is not of good enough quality.
%build %build
%configure \ %configure --disable-silent-rules --disable-fatal-warnings \
--with-package-name="Fedora GStreamer-plugins-bad package" \ --with-package-name="Fedora GStreamer-plugins-bad package" \
--with-package-origin="http://download.fedoraproject.org" \ --with-package-origin="http://download.fedoraproject.org" \
%{!?with_extras:--disable-fbdev --disable-decklink --disable-linsys} \ %{!?with_extras:--disable-fbdev --disable-decklink --disable-linsys} \
@ -184,7 +184,6 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
# Register as an AppStream component to be visible in the software center # Register as an AppStream component to be visible in the software center
@ -467,6 +466,13 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbadvideo-%{majorminor}.so
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
%changelog %changelog
* Thu Feb 04 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.7.1-4
- Append --disable-fatal-warnings to %%configure to prevent
building from aborting for negligible warnings (Fix F24FTBFS)
- Append --disable-silent-rules to %%configure to make
building verbose.
- Don't remove buildroot before installing.
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild