Only build extras on Fedora

This commit is contained in:
Wim Taymans 2018-07-17 12:56:09 +02:00
parent 7d972a3fa2
commit f2633cfc49
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,8 @@
%global majorminor 1.0
%global _gobject_introspection 1.31.1
# Turn of extras package on older RHEL.
%if 0%{?fedora} || 0%{?rhel} > 7
# Only have extras package on fedora
%if 0%{?fedora}
%bcond_without extras
%else
%bcond_with extras
@ -14,7 +14,7 @@
Name: gstreamer1-plugins-bad-free
Version: 1.14.1
Release: 6%{?gitcommit:.git%{shortcommit}}%{?dist}
Release: 7%{?gitcommit:.git%{shortcommit}}%{?dist}
Summary: GStreamer streaming media framework "bad" plugins
License: LGPLv2+ and LGPLv2
@ -479,6 +479,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%changelog
* Tue Jul 17 2018 Wim Taymans <wtaymans@redhat.org> - 1.14.1-7
- Only build extras on Fedora
* Tue Jul 17 2018 Wim Taymans <wtaymans@redhat.org> - 1.14.1-6
- remove unused liboil BR