mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-05 07:52:23 +00:00
Compare commits
6 Commits
cbc4754026
...
c10s
| Author | SHA1 | Date | |
|---|---|---|---|
| fafd0b1bef | |||
| 6d49e1f164 | |||
| ba7b5c8d05 | |||
| 4b1b6e1f1b | |||
| ab6d86141e | |||
| 6e8b268157 |
+39
-19
@@ -7,32 +7,34 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%if %{defined rhel}
|
||||
%bcond_with docs
|
||||
%else
|
||||
%bcond_without docs
|
||||
%endif
|
||||
|
||||
Name: conmon
|
||||
%if %{defined rhel}
|
||||
Epoch: 3
|
||||
%else
|
||||
Epoch: 2
|
||||
Version: 2.1.12
|
||||
%endif
|
||||
Version: 2.2.1
|
||||
License: Apache-2.0
|
||||
Release: %autorelease
|
||||
Release: 3%{?dist}
|
||||
Summary: OCI container runtime monitor
|
||||
URL: https://github.com/containers/%{name}
|
||||
# Tarball fetched from upstream
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
%if %{with docs}
|
||||
ExclusiveArch: %{golang_arches_future}
|
||||
BuildRequires: go-md2man
|
||||
%endif
|
||||
BuildRequires: gcc
|
||||
BuildRequires: git-core
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
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
|
||||
@@ -41,37 +43,55 @@ Requires: libseccomp
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit %{name}-%{built_tag_strip}
|
||||
%autosetup -Sgit %{name}-%{version}
|
||||
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
||||
sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
||||
|
||||
%build
|
||||
%{__make} DEBUGFLAG="-g" bin/conmon
|
||||
%make_build bin/conmon CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||
|
||||
%if %{with docs}
|
||||
%{__make} GOMD2MAN=go-md2man -C docs
|
||||
%make_build GOMD2MAN=go-md2man -C docs
|
||||
%endif
|
||||
|
||||
%install
|
||||
%{__make} PREFIX=%{buildroot}%{_prefix} install.bin install.crio
|
||||
%{__make} PREFIX=%{buildroot}%{_prefix} install.bin
|
||||
|
||||
%if %{with docs}
|
||||
%{__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
|
||||
%{_bindir}/%{name}
|
||||
%{_libexecdir}/crio/%{name}
|
||||
%dir %{_libexecdir}/crio
|
||||
|
||||
%if %{with docs}
|
||||
%{_mandir}/man8/%{name}.8.gz
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* 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
|
||||
- update to https://github.com/containers/conmon/releases/tag/v2.2.0
|
||||
- Related: RHEL-122178
|
||||
|
||||
* Wed Feb 26 2025 Jindrich Novy <jnovy@redhat.com> - 2:2.1.13-1
|
||||
- update to https://github.com/containers/conmon/releases/tag/v2.1.13
|
||||
- Resolves: RHEL-80818
|
||||
|
||||
* Fri Jan 17 2025 Jindrich Novy <jnovy@redhat.com> - 3:2.1.12-4
|
||||
- Fix spec file, remove crio
|
||||
- Related: RHEL-58990
|
||||
|
||||
@@ -1 +1 @@
|
||||
SHA512 (v2.1.12.tar.gz) = 06668aa35f5752e3d383f0a2cdf88f7c5056bdef96756aa230279ae25ef1d6b6bfd14888d35907062404670ae85d71d2d7258577abff70b74fa49bff6c2d9d20
|
||||
SHA512 (v2.2.1.tar.gz) = 52513fc25b0db0b7c9c99aa63f6be4c495add350b9269fad67136f728d3399dbb54c5fa526d52c158c67956ded8980f1cc3624fc531a152b16c09caa3399be3b
|
||||
|
||||
Reference in New Issue
Block a user