conmon-2.1.12-4.el10
- Fix spec file, remove crio - Related: RHEL-58990 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
f6671a8174
commit
6e8b268157
19
conmon.spec
19
conmon.spec
@ -7,17 +7,21 @@
|
||||
%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
|
||||
%endif
|
||||
Version: 2.1.12
|
||||
License: Apache-2.0
|
||||
Release: %autorelease
|
||||
Release: 4%{?dist}
|
||||
Summary: OCI container runtime monitor
|
||||
URL: https://github.com/containers/%{name}
|
||||
# Tarball fetched from upstream
|
||||
@ -41,9 +45,8 @@ 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
|
||||
@ -53,7 +56,7 @@ sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
||||
%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
|
||||
@ -66,12 +69,12 @@ sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
||||
%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 Jan 17 2025 Jindrich Novy <jnovy@redhat.com> - 3:2.1.12-4
|
||||
- Fix spec file, remove crio
|
||||
- Related: RHEL-58990
|
||||
|
Loading…
Reference in New Issue
Block a user