change_v1
This commit is contained in:
parent
ccd178b52f
commit
5fd9172205
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user