Sync 22.03-LTS for fix build error
(cherry picked from commit b0bce5b7dbebda0748c633c0fb191c24e573ef87)
This commit is contained in:
parent
c0029bd901
commit
db51cb194d
17
fftw.spec
17
fftw.spec
@ -11,12 +11,12 @@
|
||||
|
||||
Name: fftw
|
||||
Version: 3.3.8
|
||||
Release: 8
|
||||
Release: 11
|
||||
Summary: A C subroutine library for computing the discrete Fourier transform
|
||||
License: GPLv2+
|
||||
URL: http://www.fftw.org
|
||||
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
|
||||
# disable quad-precision compile tempoary
|
||||
@ -305,6 +305,9 @@ done
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
%delete_la
|
||||
|
||||
find %{buildroot} -type f -name '*.so*' -exec strip '{}' ';'
|
||||
find %{buildroot} -type f -name 'fftw*-wisdom*' -exec strip '{}' ';'
|
||||
|
||||
%check
|
||||
%if %{with mpich} || %{with openmpi}
|
||||
source /etc/profile.d/modules.sh
|
||||
@ -359,6 +362,7 @@ fi
|
||||
|
||||
%files
|
||||
%{_bindir}/fftw*-wisdom*
|
||||
%exclude /usr/lib/debug/usr/bin/fftw*-wisdom*
|
||||
|
||||
%files libs
|
||||
|
||||
@ -457,6 +461,15 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Mar 28 2022 baizhonggui <baizhonggui@huawei.com> - 3.3.8-11
|
||||
- Strip the binary fftw*-wisdom* symbol
|
||||
|
||||
* Mon Mar 7 2022 liyanan <liyanan32@huawei.com> - 3.3.8-10
|
||||
- Fix self build fail
|
||||
|
||||
* Fri Mar 4 2022 baizhonggui <baizhonggui@huawei.com> - 3.3.8-9
|
||||
- Strip the symbol table
|
||||
|
||||
* Fri Jan 7 2022 baizhonggui <baizhonggui@huawei.com> - 3.3.8-8
|
||||
- disable the unused debuginfo to fix build fail
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user