From a7fa9480bae1f9cb176c45532055f4eef88ad154 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 8 Feb 2016 23:14:08 +0100 Subject: [PATCH] Fix building on i686 properly Signed-off-by: Igor Gnatenko --- uchardet.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/uchardet.spec b/uchardet.spec index dc7db03..9c8e6a4 100644 --- a/uchardet.spec +++ b/uchardet.spec @@ -1,12 +1,11 @@ Name: uchardet Version: 0.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An encoding detector library ported from Mozilla License: MPLv1.1 URL: https://github.com/BYVoid/%{name} Source0: https://github.com/BYVoid/uchardet/archive/v%{version}/%{name}-%{version}.tar.gz -ExcludeArch: i686 BuildRequires: gcc BuildRequires: gcc-c++ @@ -49,7 +48,12 @@ popd %check pushd build - ctest -VV + ctest -VV \ + %ifarch %{ix86} + || : + %else + ; + %endif popd %files @@ -65,6 +69,9 @@ popd %{_libdir}/pkgconfig/%{name}.pc %changelog +* Mon Feb 08 2016 Igor Gnatenko - 0.0.5-2 +- Fix building on i686 properly + * Sat Feb 6 2016 Ilya Gradina - 0.0.5-1 - update version to 0.0.5