mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-04 23:42:20 +00:00
conmon-2.2.1-3.el10
- pass %%{optflags} and %%{build_ldflags} to enable stack protector
and FORTIFY_SOURCE hardening flags
- Resolves: RHEL-152224
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
+7
-2
@@ -21,7 +21,7 @@ Epoch: 2
|
|||||||
%endif
|
%endif
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: OCI container runtime monitor
|
Summary: OCI container runtime monitor
|
||||||
URL: https://github.com/containers/%{name}
|
URL: https://github.com/containers/%{name}
|
||||||
# Tarball fetched from upstream
|
# Tarball fetched from upstream
|
||||||
@@ -47,7 +47,7 @@ Requires: libseccomp
|
|||||||
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build bin/conmon
|
%make_build bin/conmon CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%make_build GOMD2MAN=go-md2man -C docs
|
%make_build GOMD2MAN=go-md2man -C docs
|
||||||
@@ -70,6 +70,11 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 27 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-3
|
||||||
|
- pass %%{optflags} and %%{build_ldflags} to enable stack protector
|
||||||
|
and FORTIFY_SOURCE hardening flags
|
||||||
|
- Resolves: RHEL-152224
|
||||||
|
|
||||||
* Mon Feb 16 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-2
|
* Mon Feb 16 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-2
|
||||||
- use proper macros in spec file and simplify
|
- use proper macros in spec file and simplify
|
||||||
- Related: RHEL-111917
|
- Related: RHEL-111917
|
||||||
|
|||||||
Reference in New Issue
Block a user