!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:
commit
f5ea914bfc
17
fftw.spec
17
fftw.spec
@ -11,12 +11,12 @@
|
|||||||
|
|
||||||
Name: fftw
|
Name: fftw
|
||||||
Version: 3.3.8
|
Version: 3.3.8
|
||||||
Release: 8
|
Release: 11
|
||||||
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
|
||||||
@ -359,6 +362,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/fftw*-wisdom*
|
%{_bindir}/fftw*-wisdom*
|
||||||
|
%exclude /usr/lib/debug/usr/bin/fftw*-wisdom*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
|
|
||||||
@ -457,6 +461,15 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jan 7 2022 baizhonggui <baizhonggui@huawei.com> - 3.3.8-8
|
||||||
- disable the unused debuginfo to fix build fail
|
- disable the unused debuginfo to fix build fail
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user