Disable runtime cpu detection for i686

el8
leigh123linux 7 years ago
parent 9af01d273f
commit a71ef72afb

@ -7,9 +7,9 @@
Name: mplayer Name: mplayer
Version: 1.3.0 Version: 1.3.0
%if 0%{?svn} %if 0%{?svn}
Release: 18.%{?pre}%{?dist} Release: 19.%{?pre}%{?dist}
%else %else
Release: 18%{?dist} Release: 19%{?dist}
%endif %endif
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
@ -34,7 +34,6 @@ Patch1: %{name}-manlinks.patch
# use system FFmpeg libraries # use system FFmpeg libraries
Patch3: %{name}-ffmpeg.patch Patch3: %{name}-ffmpeg.patch
ExcludeArch: %{ix86}
BuildRequires: SDL-devel BuildRequires: SDL-devel
BuildRequires: a52dec-devel BuildRequires: a52dec-devel
@ -185,7 +184,7 @@ This package contains various scripts from MPlayer TOOLS directory.
--enable-menu \\\ --enable-menu \\\
--enable-radio \\\ --enable-radio \\\
--enable-radio-capture \\\ --enable-radio-capture \\\
%ifarch %{ix86} x86_64 ppc ppc64 \ %ifarch x86_64 ppc ppc64 \
--enable-runtime-cpudetection \\\ --enable-runtime-cpudetection \\\
%endif \ %endif \
--enable-unrarexec \\\ --enable-unrarexec \\\
@ -306,16 +305,6 @@ desktop-file-install \
install -dm 755 $RPM_BUILD_ROOT%{codecdir} install -dm 755 $RPM_BUILD_ROOT%{codecdir}
%post gui
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database &>/dev/null || :
%postun gui
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database &>/dev/null || :
%files %files
%{_bindir}/mplayer %{_bindir}/mplayer
@ -383,6 +372,10 @@ update-desktop-database &>/dev/null || :
%{_datadir}/mplayer/*.fp %{_datadir}/mplayer/*.fp
%changelog %changelog
* Mon Mar 05 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.3.0-19.20180119svn
- Disable runtime cpu detection for i686
- Remove scriptlets
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux@googlemail.com> - 1.3.0-18.20180119svn * Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux@googlemail.com> - 1.3.0-18.20180119svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save