From 1eff2e64456eb5481975549cac5ab23deb5e3936 Mon Sep 17 00:00:00 2001 From: SaltyFruit Date: Thu, 13 Apr 2023 18:35:25 +0800 Subject: [PATCH] Fix CC compiler support Signed-off-by: shafeipaozi (cherry picked from commit e16d43dc4b64db60e1f47312f77994e5fe649803) --- ed.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ed.spec b/ed.spec index 9b1a7b6..562d8bb 100644 --- a/ed.spec +++ b/ed.spec @@ -1,7 +1,7 @@ Summary: A line-oriented text editor Name: ed Version: 1.19 -Release: 1 +Release: 2 License: GPLv3+ and GFDL-1.3 # Note: Upstream provides only lzip compressed tarballs so we repacked from: #Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz @@ -33,7 +33,7 @@ Man pages and other related documents. %setup -q %build -%configure +%configure CC=%{__cc} %make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %install @@ -60,6 +60,9 @@ fi %{_infodir}/ed.info* %changelog +* Thu Apr 13 2023 Xiaoya Huang - 1.19-2 +- Fix CC compiler support + * Tue Jan 17 2023 dillon chen - 1.19-1 - update to 1.19