15278c
%global with_check 0
15278c
15278c
%global _find_debuginfo_dwz_opts %{nil}
15278c
%global _dwz_low_mem_die_limit 0
15278c
15278c
# https://github.com/containers/conmon
15278c
%global import_path github.com/containers/%{name}
15278c
%global git0 https://%{import_path}
15278c
%global commit0 7e6de6678f6ed8a18661e1d5721b81ccee293b9b
15278c
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
15278c
15278c
Name: conmon
15278c
Epoch: 2
15278c
Version: 2.0.29
15278c
Release: 1%{?dist}
15278c
Summary: OCI container runtime monitor
15278c
License: ASL 2.0
15278c
URL: %{git0}
15278c
%if 0%{?branch:1}
15278c
Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz
15278c
%else
15278c
Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
15278c
%endif
15278c
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
15278c
#ExclusiveArch: %%{go_arches}
15278c
# still use arch exclude as the macro above still refers %%{ix86} in RHEL8.4:
15278c
# https://bugzilla.redhat.com/show_bug.cgi?id=1905383
15278c
ExcludeArch: %{ix86}
15278c
BuildRequires: gcc
15278c
BuildRequires: git
15278c
BuildRequires: glib2-devel
15278c
BuildRequires: systemd-devel
15278c
BuildRequires: golang >= 1.12.12-4
15278c
BuildRequires: go-md2man
15278c
BuildRequires: libseccomp-devel
15278c
15278c
%description
15278c
%{summary}.
15278c
15278c
%prep
15278c
%if 0%{?branch:1}
15278c
%autosetup -Sgit -n containers-%{name}-%{shortcommit0}
15278c
%else
15278c
%autosetup -Sgit -n %{name}-%{commit0}
15278c
%endif
15278c
15278c
%build
15278c
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
15278c
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
15278c
%{__make} all
15278c
15278c
%install
15278c
%{__make} PREFIX=%{buildroot}%{_prefix} install
15278c
15278c
#define license tag if not already defined
15278c
%{!?_licensedir:%global license %doc}
15278c
15278c
%files
15278c
%license LICENSE
15278c
%doc README.md
15278c
%{_bindir}/%{name}
15278c
%{_mandir}/man8/*
15278c
15278c
%changelog
15278c
* Thu Jun 03 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.29-1
15278c
- update to https://github.com/containers/conmon/releases/tag/v2.0.29
15278c
15278c
* Thu Jun 03 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-6
15278c
- update to the latest content of https://github.com/containers/conmon/tree/master
15278c
  (https://github.com/containers/conmon/commit/75e067e)
15278c
15278c
* Wed Jun 02 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-5
15278c
- update to the latest content of https://github.com/containers/conmon/tree/master
15278c
  (https://github.com/containers/conmon/commit/b033cb5)
15278c
15278c
* Mon May 17 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-4
15278c
- update to the latest content of https://github.com/containers/conmon/tree/master
15278c
  (https://github.com/containers/conmon/commit/3161452)
15278c
15278c
* Mon May 10 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-3
15278c
- upload new source tarball
15278c
15278c
* Mon May 10 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-2
15278c
- switch to master branch to fix /dev/null ownership issues
15278c
  (https://github.com/containers/conmon/commit/372fa19211cfeabdb2bad52a4ab8a4d1b0b0063c)
15278c
15278c
* Tue Mar 09 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-1
15278c
- update to https://github.com/containers/conmon/releases/tag/v2.0.27
15278c
15278c
* Thu Feb 04 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.26-1
15278c
- update to https://github.com/containers/conmon/releases/tag/v2.0.26
15278c
15278c
* Tue Jan 26 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.25-1
15278c
- update to https://github.com/containers/conmon/releases/tag/v2.0.25
15278c
15278c
* Mon Jan 04 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-1
15278c
- exclude i686 as golang is not suppoerted there
15278c
15278c
* Fri Nov 13 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.9.dev.git2fbeb9f
15278c
- autobuilt 2fbeb9f
15278c
15278c
* Thu Nov  5 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.8.dev.gita0ddcb9
15278c
- autobuilt a0ddcb9
15278c
15278c
* Sat Oct 10 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.7.dev.gite5e2b93
15278c
- autobuilt e5e2b93
15278c
15278c
* Tue Oct  6 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.6.dev.git162c363
15278c
- autobuilt 162c363
15278c
15278c
* Fri Sep 18 09:34:35 EDT 2020 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.22-0.5.dev.git59c2817
15278c
- build with journald support
15278c
15278c
* Wed Sep 16 16:12:47 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.4.dev.git59c2817
15278c
- autobuilt 59c2817
15278c
15278c
* Tue Sep 15 13:12:54 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.3.dev.gitd213bfa
15278c
- autobuilt d213bfa
15278c
15278c
* Mon Sep 14 14:12:03 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.2.dev.giteb93261
15278c
- autobuilt eb93261
15278c
15278c
* Tue Sep  8 22:12:10 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.22-0.1.dev.gitdd4fc17
15278c
- bump to 2.0.22
15278c
- autobuilt dd4fc17
15278c
15278c
* Tue Sep  8 21:12:42 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.11.dev.gitbc88ac5
15278c
- autobuilt bc88ac5
15278c
15278c
* Thu Sep  3 14:13:45 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.10.dev.git668b748
15278c
- autobuilt 668b748
15278c
15278c
* Wed Sep 02 2020 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.21-0.9.dev.git1d7b3a5
15278c
- Resolves: #1786090 - build with -g for debuginfo
15278c
15278c
* Thu Aug 27 14:14:25 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.8.dev.git1d7b3a5
15278c
- autobuilt 1d7b3a5
15278c
15278c
* Wed Aug 26 13:11:37 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.7.dev.git6eb222d
15278c
- autobuilt 6eb222d
15278c
15278c
* Tue Aug 25 15:11:33 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.6.dev.git9d61f0f
15278c
- autobuilt 9d61f0f
15278c
15278c
* Mon Aug 24 14:11:36 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.5.dev.git76548e1
15278c
- autobuilt 76548e1
15278c
15278c
* Fri Aug 21 15:10:39 UTC 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.4.dev.git7ab6aa1
15278c
- autobuilt 7ab6aa1
15278c
15278c
* Wed Aug 05 16:10:09 GMT 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.3.dev.git5a6b2ac
15278c
- autobuilt 5a6b2ac
15278c
15278c
* Tue Aug 04 2020 Peter Hunt <pehunt@redhat.com> - 2:2.0.21-0.2.dev.gitfe1563c
15278c
- rebuild
15278c
15278c
* Tue Jul 28 14:09:38 GMT 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.21-0.1.dev.gitfe1563c
15278c
- bump to 2.0.21
15278c
- autobuilt fe1563c
15278c
15278c
* Mon Jul 27 21:09:33 GMT 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.20-0.3.dev.git5bc12e0
15278c
- autobuilt 5bc12e0
15278c
15278c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.0.20-0.2.dev.git3c396d4
15278c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
15278c
15278c
* Wed Jul 15 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.20-0.1.dev.git3c396d4
15278c
- bump to 2.0.20
15278c
- autobuilt 3c396d4
15278c
15278c
* Wed Jul 15 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.19-0.6.dev.git4fea27e
15278c
- autobuilt 4fea27e
15278c
15278c
* Wed Jul 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.19-0.5.dev.giteff699e
15278c
- autobuilt eff699e
15278c
15278c
* Mon Jun 29 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.19-0.4.dev.git9a1d403
15278c
- autobuilt 9a1d403
15278c
15278c
* Mon Jun 22 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.19-0.3.dev.git42414b8
15278c
- autobuilt 42414b8
15278c
15278c
* Wed Jun 17 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.19-0.2.dev.gitab8f5e5
15278c
- autobuilt ab8f5e5
15278c
15278c
* Mon Jun 15 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.19-0.1.dev.git96ea3a2
15278c
- bump to 2.0.19
15278c
- autobuilt 96ea3a2
15278c
15278c
* Wed Jun 10 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.8.dev.git2c32b99
15278c
- autobuilt 2c32b99
15278c
15278c
* Mon Jun 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.7.dev.gitf951578
15278c
- autobuilt f951578
15278c
15278c
* Wed Jun 03 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.6.dev.git50aeae4
15278c
- autobuilt 50aeae4
15278c
15278c
* Wed Jun 03 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.5.dev.gitf12e90b
15278c
- autobuilt f12e90b
15278c
15278c
* Tue Jun 02 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.4.dev.gitd951a5a
15278c
- autobuilt d951a5a
15278c
15278c
* Mon Jun 01 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.3.dev.git63d0e3d
15278c
- autobuilt 63d0e3d
15278c
15278c
* Wed May 27 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.2.dev.gitd0f367d
15278c
- autobuilt d0f367d
15278c
15278c
* Tue May 26 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.18-0.1.dev.git27bb67e
15278c
- bump to 2.0.18
15278c
- autobuilt 27bb67e
15278c
15278c
* Tue May 26 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.17-0.3.dev.git27eb304
15278c
- autobuilt 27eb304
15278c
15278c
* Mon May 25 2020 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.17-0.2.dev.git82e9358
15278c
- depend on glib2
15278c
15278c
* Tue May 12 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.17-0.1.dev.git82e9358
15278c
- bump to 2.0.17
15278c
- autobuilt 82e9358
15278c
15278c
* Tue May 12 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.16-0.4.dev.gitedd4aaa
15278c
- autobuilt edd4aaa
15278c
15278c
* Tue May 12 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.16-0.3.dev.git6fa9c2a
15278c
- autobuilt 6fa9c2a
15278c
15278c
* Mon May 11 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.16-0.2.dev.git42cb289
15278c
- autobuilt 42cb289
15278c
15278c
* Thu Apr 02 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.16-0.1.dev.gite34c6d6
15278c
- bump to 2.0.16
15278c
- autobuilt e34c6d6
15278c
15278c
* Wed Apr 01 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.15-0.6.dev.gitb763fdd
15278c
- autobuilt b763fdd
15278c
15278c
* Tue Mar 31 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.15-0.5.dev.git9c9b3e7
15278c
- autobuilt 9c9b3e7
15278c
15278c
* Mon Mar 30 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.15-0.4.dev.git3ea6c68
15278c
- autobuilt 3ea6c68
15278c
15278c
* Wed Mar 25 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.15-0.3.dev.git89b2478
15278c
- autobuilt 89b2478
15278c
15278c
* Mon Mar 23 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.15-0.2.dev.gitff29dd6
15278c
- autobuilt ff29dd6
15278c
15278c
* Fri Mar 20 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.15-0.1.dev.gitb97c274
15278c
- bump to 2.0.15
15278c
- autobuilt b97c274
15278c
15278c
* Fri Mar 20 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.14-0.2.dev.git1b53637
15278c
- autobuilt 1b53637
15278c
15278c
* Tue Mar 17 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.14-0.1.dev.git849ab62
15278c
- bump to 2.0.14
15278c
- autobuilt 849ab62
15278c
15278c
* Mon Mar 16 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.12-0.1.dev.git51c0e7b
15278c
- bump to 2.0.12
15278c
- autobuilt 51c0e7b
15278c
15278c
* Tue Feb 11 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.11-0.6.dev.git86aa80b
15278c
- autobuilt 86aa80b
15278c
15278c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.0.11-0.5.dev.git77f4a51
15278c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
15278c
15278c
* Wed Jan 15 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.11-0.4.dev.git77f4a51
15278c
- autobuilt 77f4a51
15278c
15278c
* Tue Jan 14 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.11-0.3.dev.gitccfdbb6
15278c
- autobuilt ccfdbb6
15278c
15278c
* Sat Jan 11 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.11-0.2.dev.git5039b44
15278c
- autobuilt 5039b44
15278c
15278c
* Wed Jan 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.11-0.1.dev.gitad05887
15278c
- bump to 2.0.11
15278c
- autobuilt ad05887
15278c
15278c
* Tue Jan 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.10-0.3.dev.git26f6817
15278c
- autobuilt 26f6817
15278c
15278c
* Tue Jan 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.10-0.2.dev.git6e39a83
15278c
- autobuilt 6e39a83
15278c
15278c
* Mon Jan 06 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.10-0.1.dev.gitb7bfc7b
15278c
- bump to 2.0.10
15278c
- autobuilt b7bfc7b
15278c
15278c
* Mon Jan 06 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.9-0.3.dev.git1560392
15278c
- autobuilt 1560392
15278c
15278c
* Fri Dec 20 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.9-0.2.dev.gitb17d81b
15278c
- autobuilt b17d81b
15278c
15278c
* Fri Dec 13 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.9-0.1.dev.gitc2e2e67
15278c
- bump to 2.0.9
15278c
- autobuilt c2e2e67
15278c
15278c
* Fri Dec 13 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.8-0.2.dev.gitc8f7443
15278c
- autobuilt c8f7443
15278c
15278c
* Thu Dec 12 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.8-0.1.dev.git036ff29
15278c
- bump to 2.0.8
15278c
- autobuilt 036ff29
15278c
15278c
* Thu Dec 12 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.7-0.3.dev.git4100fb2
15278c
- autobuilt 4100fb2
15278c
15278c
* Thu Dec 12 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.7-0.2.dev.git95ed45a
15278c
- autobuilt 95ed45a
15278c
15278c
* Wed Dec 11 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.7-0.1.dev.git8ba9575
15278c
- bump to 2.0.7
15278c
- autobuilt 8ba9575
15278c
15278c
* Wed Dec 11 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.6-0.2.dev.gitba14d9c
15278c
- autobuilt ba14d9c
15278c
15278c
* Tue Dec 10 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.6-0.1.dev.gitbc9e976
15278c
- bump to 2.0.6
15278c
- autobuilt bc9e976
15278c
15278c
* Tue Dec 10 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.5-0.2.dev.gitc792503
15278c
- autobuilt c792503
15278c
15278c
* Mon Dec 09 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.5-0.1.dev.gitfd5ac47
15278c
- bump to 2.0.5
15278c
- autobuilt fd5ac47
15278c
15278c
* Mon Dec 02 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.4-0.3.dev.gitdf8c6aa
15278c
- autobuilt df8c6aa
15278c
15278c
* Fri Nov 29 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.4-0.2.dev.git42bce45
15278c
- autobuilt 42bce45
15278c
15278c
* Mon Nov 11 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.4-0.1.dev.gitf6d23b5
15278c
- bump to 2.0.4
15278c
- autobuilt f6d23b5
15278c
15278c
* Mon Nov 11 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.3-0.3.dev.git098fcce
15278c
- autobuilt 098fcce
15278c
15278c
* Thu Nov 07 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.0.3-0.2.dev.git002da25
15278c
- autobuilt 002da25
15278c
15278c
* Mon Oct 21 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.3-0.1.dev.gitbc758d8
15278c
- built commit bc758d8
15278c
15278c
* Wed Sep 25 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.2-0.1.dev.git422ce21
15278c
- build latest upstream master
15278c
15278c
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-2
15278c
- remove BR: go-md2man since no manpages yet
15278c
15278c
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-1
15278c
- bump to v2.0.0
15278c
15278c
* Fri May 31 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:0.2.0-1
15278c
- initial package