catatonit-0.2.1-4.el10

- remove conflicting -all-static when building with -static-pie
- Resolves: RHEL-152948

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2026-03-03 17:29:31 +01:00
parent 15690a5c5a
commit fe7cfcf6e0

View File

@ -2,7 +2,7 @@ Name: catatonit
Version: 0.2.1
Summary: A signal-forwarding process manager for containers
License: GPL-3.0-or-later
Release: 3%{?dist}
Release: 4%{?dist}
# Bump epoch to 5 for RHEL
# Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2257446
Epoch: 5
@ -44,7 +44,8 @@ autoreconf -fi
%ifarch x86_64 aarch64
%{__make} %{?_smp_mflags} \
CFLAGS="%{optflags} -fPIE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \
LDFLAGS="%{build_ldflags} -static-pie"
LDFLAGS="%{build_ldflags} -static-pie" \
catatonit_LDFLAGS=
%else
%{__make} %{?_smp_mflags}
%endif
@ -72,6 +73,10 @@ ln -s %{_libexecdir}/%{name}/%{name} %{buildroot}%{_libexecdir}/podman/%{name}
%{_libexecdir}/podman/%{name}
%changelog
* Tue Mar 03 2026 Jindrich Novy <jnovy@redhat.com> - 5:0.2.1-4
- remove conflicting -all-static when building with -static-pie
- Resolves: RHEL-152948
* Fri Feb 27 2026 Jindrich Novy <jnovy@redhat.com> - 5:0.2.1-3
- skip annocheck false positives for a static binary
- Related: RHEL-152096