From 4a7f447fed881f8b09005591579d04c47e16d129 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 7 May 2015 00:30:54 +0200 Subject: [PATCH] - enable build on x32 - rel 2 --- mythtv.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mythtv.spec b/mythtv.spec index 005e605..c762c8b 100644 --- a/mythtv.spec +++ b/mythtv.spec @@ -52,7 +52,7 @@ Summary: A personal video recorder (PVR) application Summary(pl.UTF-8): Osobista aplikacja do nagrywania obrazu (PVR) Name: mythtv Version: 0.26.1 -Release: 1 +Release: 2 License: GPL v2 Group: Applications/Multimedia Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2 @@ -111,6 +111,7 @@ BuildRequires: perl-IO-Socket-INET6 %endif %if %{with python} BuildRequires: python-MySQLdb +BuildRequires: python-lxml %endif BuildRequires: pkgconfig %{?with_pulseaudio:BuildRequires: pulseaudio-devel} @@ -130,7 +131,7 @@ BuildRequires: zeromq-devel %{!?with_nvidia_headers:BuildConflicts: xorg-driver-video-nvidia-devel} # for Perl bindings BuildRequires: perl-ExtUtils-MakeMaker -ExclusiveArch: %{ix86} %{x8664} ppc +ExclusiveArch: %{ix86} %{x8664} x32 ppc BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define myth_api_version %(echo %{version} | cut -d. -f1,2) @@ -449,6 +450,9 @@ fi %ifarch %{x8664} --arch=x86_64 \ %endif + %ifarch x32 + --disable-asm \ + %endif %{?with_mmx:--enable-mmx} \ %endif %{?with_dvb:--enable-dvb --dvb-path=%{_includedir}} \ -- 2.44.0