From 583117e60e1045a03f2f7698e4e32609320b06f8 Mon Sep 17 00:00:00 2001 From: linker Date: Thu, 29 Apr 2021 15:50:46 +0800 Subject: [PATCH] Compilationoptimization (cherry picked from commit 6e01992062587c1e27b8022c777be77bfbd55ea2) --- cups.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cups.spec b/cups.spec index ded5a14..1bd7e4d 100644 --- a/cups.spec +++ b/cups.spec @@ -1,8 +1,8 @@ %global cups_serverbin %{_exec_prefix}/lib/cups Name: cups Epoch: 1 -Version: 2.3.3 -Release: 3 +Version: 2.2.13 +Release: 4 Summary: CUPS is the standards-based, open source printing system for linux operating systems. License: GPLv2+ and LGPLv2+ with exceptions and AML Url: http://www.cups.org/ @@ -97,7 +97,7 @@ aclocal -I config-scripts autoconf -I config-scripts %build -export DSOFLAGS="$DSOFLAGS -L../cgi-bin -L../filter -L../ppdc -L../scheduler -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/%{?_vendor}/%{?_vendor}-hardened-ld -Wl,-z,relro,-z,now -fPIE -pie" +export DSOFLAGS="$DSOFLAGS -L../cgi-bin -L../filter -L../ppdc -L../scheduler -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -Wl,-z,relro,-z,now -fPIE -pie" export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1" # --enable-debug to avoid stripping binaries %configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \ @@ -334,15 +334,15 @@ rm -f %{_exec_prefix}/lib/cups/backend/smb %doc %{_datadir}/%{name}/www/apple-touch-icon.png %changelog -* Tue Sep 29 2020 hanhui - 2.3.3-3 +* Thu Apr 29 2021 liuyumeng 2.2.13-4 - Type:bugfix - ID:NA - SUG:NA -- DESC:fix build bug +- DESC:Compilation optimization -* Wed Sep 9 2020 hanhui - 2.3.3-2 -- Type:bugfix -- ID:NA +* Tue Sep 1 2020 zhaowei 2.2.13-3 +- Type:CVE +- ID:CVE-2020-3898 - SUG:NA - DESC:modify source url -- Gitee