%global with_debug 0 %global with_check 0 %if 0%{?with_debug} %global _find_debuginfo_dwz_opts %{nil} %global _dwz_low_mem_die_limit 0 %else %global debug_package %{nil} %endif %global provider github %global provider_tld com %global project containers %global repo conmon # https://github.com/containers/conmon %global import_path %{provider}.%{provider_tld}/%{project}/%{repo} %global commit0 60b42f20f222df9da07a01ee444327348b9f54ee %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global git0 https://%{import_path} Name: %{repo} Version: 2.0.9 Release: 1%{?dist} Summary: OCI container runtime monitor License: ASL 2.0 URL: %{git0} Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz BuildRequires: gcc BuildRequires: git BuildRequires: glib2-devel BuildRequires: systemd-devel %description %{summary}. %prep %autosetup -Sgit -n %{name}-%{commit0} %build %{__make} all %install %{__make} PREFIX=%{buildroot}%{_prefix} install install.crio #define license tag if not already defined %{!?_licensedir:%global license %doc} %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_libexecdir}/crio/%{name} %changelog * Tue Jan 07 2020 Jindrich Novy - 2.0.9-1 - update to 2.0.9 * Sat Dec 14 2019 Jindrich Novy - 2.0.8-1 - update to 2.0.8 * Thu Dec 12 2019 Jindrich Novy - 2.0.7-1 - update to 2.0.7 * Wed Dec 11 2019 Jindrich Novy - 2:2.0.6-1 - update to 2.0.6 * Tue Dec 10 2019 Jindrich Novy - 2:2.0.5-1 - update to 2.0.5 * Thu Nov 21 2019 Lokesh Mandvekar - 2.0.3-1 - Resolves: #1769585 - bump to v2.0.3 * Mon Oct 14 2019 Lokesh Mandvekar - 2.0.2-2 - install to /usr/libexecdir/crio as well for now * Sat Oct 12 2019 Lokesh Mandvekar - 2.0.2-1 - build v2.0.2 - first build for rhel