Fix building on i686 properly
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
5fd9172205
commit
a7fa9480ba
@ -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 <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
|
||||
- update version to 0.0.5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user