!12 [sync] PR-11: [平行宇宙] 小修改:Fix CC compiler support
From: @openeuler-sync-bot Reviewed-by: @sunsuwan Signed-off-by: @sunsuwan
This commit is contained in:
commit
8cb4086eef
7
ftp.spec
7
ftp.spec
@ -1,6 +1,6 @@
|
||||
Name: ftp
|
||||
Version: 0.17
|
||||
Release: 81
|
||||
Release: 82
|
||||
Summary: The standard UNIX FTP (File Transfer Protocol) client
|
||||
License: BSD with advertising
|
||||
URL: https://en.wikipedia.org/wiki/File_Transfer_Portocol
|
||||
@ -98,7 +98,7 @@ Man pages and other related documents.
|
||||
%build
|
||||
sh configure --with-c-compiler=%{__cc} --enable-ipv6
|
||||
perl -pi -e '
|
||||
s,^CC=.*$,CC=cc,;
|
||||
s,^CC=.*$,CC=%{__cc},;
|
||||
s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,;
|
||||
s,^LDFLAGS=.*$,LDFLAGS=\$(RPM_LD_FLAGS),;
|
||||
s,^BINDIR=.*$,BINDIR=%{_bindir},;
|
||||
@ -123,6 +123,9 @@ install -d ${RPM_BUILD_ROOT}%{_mandir}/man5
|
||||
%{_mandir}/man5/netrc.*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 08 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 0.17-82
|
||||
- Fix CC compiler support
|
||||
|
||||
* Fri Apr 28 2023 liweiganga <liweiganga@uniontech.com> - 0.17-81
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user