Fix build failure on systems that do not define %{__isa_bits}.

Also fix mixed use of spaces and tabs.  Thank you, rpmlint.
This commit is contained in:
Jerry James 2014-06-19 10:23:17 -06:00
parent 31e34f55e7
commit cf5e266a7a
1 changed files with 10 additions and 10 deletions

View File

@ -75,11 +75,11 @@ make %{?_smp_mflags}
make install DESTDIR=%{buildroot}
# Fix up the libdir install on 64-bit targets
%if %{__isa_bits} == 64
if [ "%{_libdir}" != "%{_prefix}/lib" ]; then
mkdir %{buildroot}%{_libdir}
mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}
mv %{buildroot}%{_prefix}/lib/libstp.so %{buildroot}%{_libdir}
%endif
fi
%files
%{_bindir}/*