RHEL-33500 - apply hardening ldflags for localepaper
Resolves: RHEL-33500
This commit is contained in:
parent
3387625161
commit
d4e022a62d
@ -1,6 +1,6 @@
|
||||
Name: libpaper
|
||||
Version: 2.1.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
# Needed to replace separate paper package
|
||||
Epoch: 1
|
||||
Summary: Library and tools for handling papersize
|
||||
@ -66,7 +66,7 @@ sed -i '/doc\/INSTALL/d' bootstrap
|
||||
|
||||
# localepaper
|
||||
pushd src
|
||||
%{__cc} %{optflags} -I.. -Ilibgnu -o localepaper localepaper.c libgnu/.libs/libgnupaper.a
|
||||
%{__cc} %{optflags} -I.. -Ilibgnu -o localepaper localepaper.c libgnu/.libs/libgnupaper.a %{_hardening_ldflags}
|
||||
popd
|
||||
|
||||
%check
|
||||
@ -113,6 +113,9 @@ install -m0755 src/localepaper %{buildroot}%{_libexecdir}
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 23 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.1.1-4
|
||||
- RHEL-33500 - apply hardening ldflags for localepaper
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user