diff --git a/.conmon.metadata b/.conmon.metadata new file mode 100644 index 0000000..4ae4d23 --- /dev/null +++ b/.conmon.metadata @@ -0,0 +1 @@ +67059124d613d91cc3f6a8727802213c2930f229 SOURCES/conmon-5ca7df2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2182569 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/conmon-5ca7df2.tar.gz diff --git a/SPECS/conmon.spec b/SPECS/conmon.spec new file mode 100644 index 0000000..6c4aaee --- /dev/null +++ b/SPECS/conmon.spec @@ -0,0 +1,59 @@ +%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 5ca7df27cb3a6f1edaab1a40fcc61cc6c16d9308 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global git0 https://%{import_path} + +Name: %{repo} +Epoch: 2 +Version: 2.0.8 +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 + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} + +%changelog +* Mon Dec 16 2019 Jindrich Novy - 2.0.8-1 +- update to 2.0.8 + +* Wed Dec 11 2019 Jindrich Novy - 2:2.0.6-1 +- import conmon 2.0.6 to extras-rhel-7.8