Strip the symbol table, Fix self build fail and Strip the binary fftw*-wisdom* symbol

This commit is contained in:
starlet-dx 2022-07-30 14:31:57 +08:00
parent 47f6937f4d
commit 3bdbfd67e8

View File

@ -11,12 +11,12 @@
Name: fftw Name: fftw
Version: 3.3.8 Version: 3.3.8
Release: 8 Release: 9
Summary: A C subroutine library for computing the discrete Fourier transform Summary: A C subroutine library for computing the discrete Fourier transform
License: GPLv2+ License: GPLv2+
URL: http://www.fftw.org URL: http://www.fftw.org
Source0: http://www.fftw.org/fftw-%{version}.tar.gz Source0: http://www.fftw.org/fftw-%{version}.tar.gz
BuildRequires: gcc-gfortran autoconf automake libtool time perl-interpreter BuildRequires: gcc-gfortran autoconf automake libtool time perl-interpreter gcc_secure make
%global quad 0 %global quad 0
# disable quad-precision compile tempoary # disable quad-precision compile tempoary
@ -305,6 +305,9 @@ done
rm -f %{buildroot}%{_infodir}/dir rm -f %{buildroot}%{_infodir}/dir
%delete_la %delete_la
find %{buildroot} -type f -name '*.so*' -exec strip '{}' ';'
find %{buildroot} -type f -name 'fftw*-wisdom*' -exec strip '{}' ';'
%check %check
%if %{with mpich} || %{with openmpi} %if %{with mpich} || %{with openmpi}
source /etc/profile.d/modules.sh source /etc/profile.d/modules.sh
@ -459,6 +462,11 @@ fi
%endif %endif
%changelog %changelog
* Sat Jul 30 2022 yaoxin <yaoxin30@h-partners.com> - 3.3.8-9
- Strip the symbol table
- Fix self build fail
- Strip the binary fftw*-wisdom* symbol
* Mon Mar 28 2022 baizhonggui <baizhonggui@huawei.com> - 3.3.8-8 * Mon Mar 28 2022 baizhonggui <baizhonggui@huawei.com> - 3.3.8-8
- fix build fail - fix build fail