!11 [sync] PR-10: Fix CC compiler support

From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2024-04-02 07:41:13 +00:00 committed by Gitee
commit 8f21864a5f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Summary: A line-oriented text editor Summary: A line-oriented text editor
Name: ed Name: ed
Version: 1.19 Version: 1.19
Release: 1 Release: 2
License: GPLv3+ and GFDL-1.3 License: GPLv3+ and GFDL-1.3
# Note: Upstream provides only lzip compressed tarballs so we repacked from: # Note: Upstream provides only lzip compressed tarballs so we repacked from:
#Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz #Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
@ -33,7 +33,7 @@ Man pages and other related documents.
%setup -q %setup -q
%build %build
%configure %configure CC=%{__cc}
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
%install %install
@ -60,6 +60,9 @@ fi
%{_infodir}/ed.info* %{_infodir}/ed.info*
%changelog %changelog
* Thu Apr 13 2023 Xiaoya Huang <huangxiaoya@iscas.ac.cn> - 1.19-2
- Fix CC compiler support
* Tue Jan 17 2023 dillon chen <dillon.chen@gmail.com> - 1.19-1 * Tue Jan 17 2023 dillon chen <dillon.chen@gmail.com> - 1.19-1
- update to 1.19 - update to 1.19