From 5fd9172205af3d6205c02c95876ac28080b8ef13 Mon Sep 17 00:00:00 2001 From: Ilya Gradina Date: Sun, 7 Feb 2016 14:56:33 +0100 Subject: [PATCH] change_v1 --- uchardet.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uchardet.spec b/uchardet.spec index b973900..dc7db03 100644 --- a/uchardet.spec +++ b/uchardet.spec @@ -6,6 +6,7 @@ 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++ @@ -32,7 +33,9 @@ mkdir build %build pushd build - %cmake .. -DCMAKE_INSTALL_LIBDIR=%{_libdir} + %cmake .. \ + -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ + -DBUILD_STATIC=OFF %make_build popd @@ -41,9 +44,6 @@ pushd build %make_install popd -# remove static library -rm -f %{buildroot}%{_libdir}/lib%{name}.a - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig