Fix building on i686 properly

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2016-02-08 23:14:08 +01:00
parent 5fd9172205
commit a7fa9480ba

View File

@ -1,12 +1,11 @@
Name: uchardet Name: uchardet
Version: 0.0.5 Version: 0.0.5
Release: 1%{?dist} Release: 2%{?dist}
Summary: An encoding detector library ported from Mozilla Summary: An encoding detector library ported from Mozilla
License: MPLv1.1 License: MPLv1.1
URL: https://github.com/BYVoid/%{name} URL: https://github.com/BYVoid/%{name}
Source0: https://github.com/BYVoid/uchardet/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/BYVoid/uchardet/archive/v%{version}/%{name}-%{version}.tar.gz
ExcludeArch: i686
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -49,7 +48,12 @@ popd
%check %check
pushd build pushd build
ctest -VV ctest -VV \
%ifarch %{ix86}
|| :
%else
;
%endif
popd popd
%files %files
@ -65,6 +69,9 @@ popd
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Mon Feb 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-2
- Fix building on i686 properly
* Sat Feb 6 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.5-1 * Sat Feb 6 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.5-1
- update version to 0.0.5 - update version to 0.0.5