# The release profile strips the binary, so there is no debug info to extract. %global debug_package %{nil} %global bin_name conmonrs Name: conmon-rs # Copr builds keep a higher Epoch to always win over distro packages. %if %{defined copr_username} Epoch: 101 %endif Version: 1.0.1 Release: 1.20261020111124184590.pr3453.208.g0d53ef1a%{?dist} Summary: OCI container runtime monitor written in Rust License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT URL: https://github.com/containers/%{name} Source0: conmon-rs-1.0.1.tar.gz BuildRequires: capnproto BuildRequires: cargo BuildRequires: make Provides: %{bin_name} = %{?epoch:%{epoch}:}%{version}-%{release} ExclusiveArch: %{rust_arches} %description conmon-rs is a pod level OCI container runtime monitor. It keeps track of the containers of a pod and serves their logs, attach and exec sessions over a Cap'n Proto RPC interface. %prep %autosetup -n conmon-rs-1.0.1 %build # The source tarball has no git metadata, the tag shows up in --version. # Copr builds of untagged commits report the spec version as tag, their # Release carries the commit. BUILD_TAG=v%{version} %{__make} release %install %{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install %files %license LICENSE %doc README.md %{_bindir}/%{bin_name} %changelog %autochangelog