mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-04 23:42:20 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d6e4068651 |
+11
-16
@@ -21,7 +21,7 @@ Epoch: 2
|
||||
%endif
|
||||
Version: 2.2.1
|
||||
License: Apache-2.0
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: OCI container runtime monitor
|
||||
URL: https://github.com/containers/%{name}
|
||||
# Tarball fetched from upstream
|
||||
@@ -31,10 +31,12 @@ BuildRequires: go-md2man
|
||||
%endif
|
||||
BuildRequires: gcc
|
||||
BuildRequires: git-core
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: systemd-libs
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(libseccomp)
|
||||
Requires: glib2
|
||||
Requires: systemd-libs
|
||||
Requires: libseccomp
|
||||
@@ -47,10 +49,10 @@ Requires: libseccomp
|
||||
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
||||
|
||||
%build
|
||||
%make_build bin/conmon CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||
%{__make} DEBUGFLAG="-g" LDFLAGS="-Wl,-z,relro -Wl,-z,now" bin/conmon
|
||||
|
||||
%if %{with docs}
|
||||
%make_build GOMD2MAN=go-md2man -C docs
|
||||
%{__make} GOMD2MAN=go-md2man -C docs
|
||||
%endif
|
||||
|
||||
%install
|
||||
@@ -60,6 +62,9 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
||||
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
|
||||
%endif
|
||||
|
||||
#define license tag if not already defined
|
||||
%{!?_licensedir:%global license %doc}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
@@ -70,18 +75,8 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
||||
%endif
|
||||
|
||||
%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
|
||||
- use proper macros in spec file and simplify
|
||||
- Related: RHEL-111917
|
||||
|
||||
* Thu Feb 12 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-1
|
||||
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
|
||||
- enable RELRO
|
||||
- Related: RHEL-122178
|
||||
|
||||
* Tue Feb 03 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.0-1
|
||||
|
||||
Reference in New Issue
Block a user