!21 [sync] PR-20: 同步22.03-LTS分支修复解决自编译失败

From: @openeuler-sync-bot 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-11-28 11:18:01 +00:00 committed by Gitee
commit f5ea914bfc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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