Compilationoptimization

(cherry picked from commit 6e01992062587c1e27b8022c777be77bfbd55ea2)
This commit is contained in:
linker 2021-04-29 15:50:46 +08:00 committed by openeuler-sync-bot
parent 1b7e9b0a0d
commit 1595099538

View File

@ -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 <liuyumeng@huawei.com> 2.2.13-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Compilation optimization
* Tue Sep 1 2020 zhaowei <zhaowei23@huawei.com> 2.2.13-3
- Type:CVE
- ID:CVE-2020-3898