mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-05 07:52:23 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fafd0b1bef | |||
| 6d49e1f164 | |||
| ba7b5c8d05 |
+16
-11
@@ -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: 1%{?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
|
||||||
@@ -31,12 +31,10 @@ BuildRequires: go-md2man
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: glib2-devel
|
|
||||||
BuildRequires: libseccomp-devel
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: systemd-devel
|
|
||||||
BuildRequires: systemd-libs
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(libseccomp)
|
||||||
Requires: glib2
|
Requires: glib2
|
||||||
Requires: systemd-libs
|
Requires: systemd-libs
|
||||||
Requires: libseccomp
|
Requires: libseccomp
|
||||||
@@ -49,10 +47,10 @@ 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} DEBUGFLAG="-g" LDFLAGS="-Wl,-z,relro -Wl,-z,now" bin/conmon
|
%make_build bin/conmon CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%{__make} GOMD2MAN=go-md2man -C docs
|
%make_build GOMD2MAN=go-md2man -C docs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -62,9 +60,6 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
|||||||
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
|
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#define license tag if not already defined
|
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@@ -75,8 +70,18 @@ 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
|
||||||
|
- 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
|
* 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
|
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
|
||||||
|
- enable RELRO
|
||||||
- Related: RHEL-122178
|
- Related: RHEL-122178
|
||||||
|
|
||||||
* Tue Feb 03 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.0-1
|
* Tue Feb 03 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.0-1
|
||||||
|
|||||||
Reference in New Issue
Block a user