-Fix conditionals

el8
Nicolas Chauvet 14 years ago
parent f1f06a0a02
commit 6c126ef8b1

@ -83,7 +83,7 @@ BuildRequires: libmodplug-devel
BuildRequires: libmp4v2-devel BuildRequires: libmp4v2-devel
BuildRequires: libmpcdec-devel BuildRequires: libmpcdec-devel
BuildRequires: libmtp-devel >= 1.0.0 BuildRequires: libmtp-devel >= 1.0.0
%if 0%{?fedora} < 15 || 0%{?rhel} =< 6 %if 0%{?fedora} < 15
BuildRequires: libnotify-devel BuildRequires: libnotify-devel
%endif %endif
BuildRequires: libprojectM-qt-devel BuildRequires: libprojectM-qt-devel
@ -267,7 +267,7 @@ popd
--disable-rpath \ --disable-rpath \
--with-binary-version=%{version} \ --with-binary-version=%{version} \
--with-tuning=no \ --with-tuning=no \
%if 0%{?fedora} < 15 || 0%{?rhel} =< 6 %if 0%{?fedora} < 15
--disable-notify \ --disable-notify \
%endif %endif
--with-kde-solid=%{_kde4_appsdir}/solid/actions \ --with-kde-solid=%{_kde4_appsdir}/solid/actions \
@ -438,7 +438,7 @@ fi || :
%{_libdir}/vlc/plugins/access/libxcb_screen_plugin.so %{_libdir}/vlc/plugins/access/libxcb_screen_plugin.so
%{_libdir}/vlc/plugins/control/libglobalhotkeys_plugin.so %{_libdir}/vlc/plugins/control/libglobalhotkeys_plugin.so
%{_libdir}/vlc/plugins/misc/libsvg_plugin.so %{_libdir}/vlc/plugins/misc/libsvg_plugin.so
%if 0%{?fedora} < 15 || 0%{?rhel} =< 6 %if 0%{?fedora} < 15
%{_libdir}/vlc/plugins/misc/libnotify_plugin.so %{_libdir}/vlc/plugins/misc/libnotify_plugin.so
%endif %endif
%{_libdir}/vlc/plugins/video_output/libaa_plugin.so %{_libdir}/vlc/plugins/video_output/libaa_plugin.so
@ -474,7 +474,7 @@ fi || :
%exclude %{_libdir}/vlc/plugins/codec/libfluidsynth_plugin.so %exclude %{_libdir}/vlc/plugins/codec/libfluidsynth_plugin.so
%exclude %{_libdir}/vlc/plugins/control/libglobalhotkeys_plugin.so %exclude %{_libdir}/vlc/plugins/control/libglobalhotkeys_plugin.so
%exclude %{_libdir}/vlc/plugins/misc/libsvg_plugin.so %exclude %{_libdir}/vlc/plugins/misc/libsvg_plugin.so
%if 0%{?fedora} < 15 || 0%{?rhel} =< 6 %if 0%{?fedora} < 15
%exclude %{_libdir}/vlc/plugins/misc/libnotify_plugin.so %exclude %{_libdir}/vlc/plugins/misc/libnotify_plugin.so
%endif %endif
%exclude %{_libdir}/vlc/plugins/video_output/libaa_plugin.so %exclude %{_libdir}/vlc/plugins/video_output/libaa_plugin.so

Loading…
Cancel
Save