Fix library suffix mis-detection on i686
This commit is contained in:
parent
bca203ecc6
commit
7df7ee705e
|
@ -4,7 +4,7 @@
|
|||
%global commit1 d0b219af41ae3da6150645fbc5cc5613b530603f
|
||||
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
||||
|
||||
%global snapdate 20190326
|
||||
%global snapdate 20190327
|
||||
|
||||
%global __python %{__python3}
|
||||
|
||||
|
@ -62,7 +62,7 @@ mv prj%{name}-db-%{commit1} database
|
|||
# (NOTE: "-g1" reduces debuginfo verbosity over "-g", which helps on armv7hl)
|
||||
sed -i '/CMAKE_CXX_FLAGS/s/-O3/-O3 -fPIC -g1/' libtrellis/CMakeLists.txt
|
||||
# prevent "lib64" false positive (e.g., on i386):
|
||||
sed -i 's/"lib64"/${LIB_INSTALL_DIR}/' libtrellis/CMakeLists.txt
|
||||
sed -i 's/"lib64"/"lib${LIB_SUFFIX}"/' libtrellis/CMakeLists.txt
|
||||
# fix shebang lines in Python scripts:
|
||||
find . -name \*.py -exec sed -i 's|/usr/bin/env python3|/usr/bin/python3|' {} \;
|
||||
# remove .gitignore files in examples:
|
||||
|
@ -111,7 +111,8 @@ install -Dpm644 -t %{buildroot}%{_mandir}/man1 man1/*
|
|||
%{_datadir}/%{name}/database
|
||||
|
||||
%changelog
|
||||
* Tue Mar 26 2019 Gabriel Somlo <gsomlo@gmail.com> - 1.0-0.2.20190326gitf1b1b35
|
||||
* Wed Mar 27 2019 Gabriel Somlo <gsomlo@gmail.com> - 1.0-0.2.20190327gitf1b1b35
|
||||
- Update to latest upstream snapshot.
|
||||
- Fix library suffix mis-detection on i686.
|
||||
* Wed Mar 20 2019 Gabriel Somlo <gsomlo@gmail.com> - 1.0-0.1.20190320git26d6667
|
||||
- Initial version.
|
||||
|
|
Loading…
Reference in New Issue