From 6e01992062587c1e27b8022c777be77bfbd55ea2 Mon Sep 17 00:00:00 2001 From: linker Date: Thu, 29 Apr 2021 15:50:46 +0800 Subject: [PATCH] Compilationoptimization --- cups.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cups.spec b/cups.spec index 0fb9eb1..251f59f 100644 --- a/cups.spec +++ b/cups.spec @@ -1,7 +1,7 @@ Name: cups Epoch: 1 Version: 2.2.13 -Release: 3 +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/ @@ -85,7 +85,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 \ @@ -326,6 +326,12 @@ rm -f %{_exec_prefix}/lib/cups/backend/smb %doc %{_datadir}/%{name}/www/apple-touch-icon.png %changelog +* Thu Apr 29 2021 liuyumeng 2.2.13-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Compilation optimization + * Tue Sep 1 2020 zhaowei 2.2.13-3 - Type:CVE - ID:CVE-2020-3898 -- Gitee