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}
|
%global debug_package %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if %{defined rhel}
|
||||||
%bcond_with docs
|
%bcond_with docs
|
||||||
%else
|
%else
|
||||||
%bcond_without docs
|
%bcond_without docs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: conmon
|
Name: conmon
|
||||||
|
%if %{defined rhel}
|
||||||
|
Epoch: 3
|
||||||
|
%else
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
|
%endif
|
||||||
Version: 2.1.12
|
Version: 2.1.12
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Release: %autorelease
|
Release: 4%{?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
|
||||||
@ -41,9 +45,8 @@ Requires: libseccomp
|
|||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%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.bin: bin\/conmon/install.bin:/' Makefile
|
||||||
sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__make} DEBUGFLAG="-g" bin/conmon
|
%{__make} DEBUGFLAG="-g" bin/conmon
|
||||||
@ -53,7 +56,7 @@ sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} PREFIX=%{buildroot}%{_prefix} install.bin install.crio
|
%{__make} PREFIX=%{buildroot}%{_prefix} install.bin
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
|
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
|
||||||
@ -66,12 +69,12 @@ sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libexecdir}/crio/%{name}
|
|
||||||
%dir %{_libexecdir}/crio
|
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%{_mandir}/man8/%{name}.8.gz
|
%{_mandir}/man8/%{name}.8.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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