634cc1
%global with_check 0
634cc1
634cc1
%global _find_debuginfo_dwz_opts %{nil}
634cc1
%global _dwz_low_mem_die_limit 0
017830
634cc1
# https://github.com/containers/conmon
017830
%global import_path github.com/containers/%{name}
634cc1
%global git0 https://%{import_path}
5b383f
%global commit0 158b5421dbac6bda96b1457955cf2e3c34af29bc
95def7
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
634cc1
017830
Name: conmon
49b1aa
Epoch: 3
5b383f
Version: 2.1.6
5b383f
Release: 1%{?dist}
634cc1
Summary: OCI container runtime monitor
634cc1
License: ASL 2.0
634cc1
URL: %{git0}
95def7
%if 0%{?branch:1}
95def7
Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz
95def7
%else
95def7
Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
95def7
%endif
017830
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
017830
#ExclusiveArch: %%{go_arches}
017830
# still use arch exclude as the macro above still refers %%{ix86} in RHEL8.4:
017830
# https://bugzilla.redhat.com/show_bug.cgi?id=1905383
017830
ExcludeArch: %{ix86}
634cc1
BuildRequires: gcc
634cc1
BuildRequires: git
634cc1
BuildRequires: glib2-devel
634cc1
BuildRequires: systemd-devel
49b1aa
BuildRequires: golang >= 1.17.7
49b1aa
BuildRequires: /usr/bin/go-md2man
95def7
BuildRequires: libseccomp-devel
634cc1
634cc1
%description
634cc1
%{summary}.
634cc1
634cc1
%prep
95def7
%if 0%{?branch:1}
95def7
%autosetup -Sgit -n containers-%{name}-%{shortcommit0}
95def7
%else
95def7
%autosetup -Sgit -n %{name}-%{commit0}
95def7
%endif
634cc1
634cc1
%build
017830
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
017830
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
634cc1
%{__make} all
634cc1
634cc1
%install
634cc1
%{__make} PREFIX=%{buildroot}%{_prefix} install
634cc1
634cc1
#define license tag if not already defined
634cc1
%{!?_licensedir:%global license %doc}
634cc1
634cc1
%files
634cc1
%license LICENSE
634cc1
%doc README.md
634cc1
%{_bindir}/%{name}
017830
%{_mandir}/man8/*
634cc1
634cc1
%changelog
5b383f
* Tue Feb 07 2023 Jindrich Novy <jnovy@redhat.com> - 3:2.1.6-1
5b383f
- update to https://github.com/containers/conmon/releases/tag/v2.1.6
5b383f
- Related: #2123641
5b383f
5b383f
* Mon Nov 07 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.1.5-1
5b383f
- update to https://github.com/containers/conmon/releases/tag/v2.1.5
5b383f
- Related: #2123641
5b383f
5b383f
* Tue Aug 30 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.1.4-1
5b383f
- update to https://github.com/containers/conmon/releases/tag/v2.1.4
5b383f
- Related: #2061390
5b383f
49b1aa
* Fri Aug 26 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.1.2-2
49b1aa
- revert conmon to 2.1.2
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Tue Jul 26 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.3-1
49b1aa
- update to https://github.com/containers/conmon/releases/tag/v2.1.3
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Thu Jun 16 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.2-2
49b1aa
- update to latest content of https://github.com/containers/conmon/releases/tag/2.1.2
49b1aa
  (https://github.com/containers/conmon/commit/2bc95ee697e87d5f7b77063cf83fc32739addafe)
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Wed Jun 15 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.2-1
49b1aa
- update to https://github.com/containers/conmon/releases/tag/v2.1.2
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Mon Jun 06 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.1-2
49b1aa
- fix CVE-2022-1708 - thanks to Peter Hunt
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Tue May 24 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.1-1
49b1aa
- update to https://github.com/containers/conmon/releases/tag/v2.1.1
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Wed May 11 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.0-3
49b1aa
- BuildRequires: /usr/bin/go-md2man
49b1aa
- Related: #2061390
49b1aa
49b1aa
* Fri Apr 08 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.0-2
49b1aa
- bump golang BR to 1.17.7
49b1aa
- Related: #2061390
49b1aa
3f2d51
* Tue Jan 25 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.1.0-1
3f2d51
- update to https://github.com/containers/conmon/releases/tag/v2.1.0
3f2d51
- Related: #2001445
3f2d51
3f2d51
* Wed Jan 12 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.0.32-1
3f2d51
- update to https://github.com/containers/conmon/releases/tag/v2.0.32
3f2d51
- Related: #2001445
3f2d51
3f2d51
* Wed Dec 08 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.31-1
3f2d51
- update to https://github.com/containers/conmon/releases/tag/v2.0.31
3f2d51
- Related: #2001445
3f2d51
3f2d51
* Thu Sep 23 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.30-1
3f2d51
- update to https://github.com/containers/conmon/releases/tag/v2.0.30
3f2d51
- Related: #2001445
3f2d51
95def7
* Thu Jun 03 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.29-1
95def7
- update to https://github.com/containers/conmon/releases/tag/v2.0.29
95def7
- Related: #1934415
95def7
95def7
* Thu Jun 03 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-6
95def7
- update to the latest content of https://github.com/containers/conmon/tree/master
95def7
  (https://github.com/containers/conmon/commit/75e067e)
95def7
- Related: #1934415
95def7
95def7
* Wed Jun 02 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-5
95def7
- update to the latest content of https://github.com/containers/conmon/tree/master
95def7
  (https://github.com/containers/conmon/commit/b033cb5)
95def7
- Related: #1934415
95def7
95def7
* Mon May 17 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-4
95def7
- update to the latest content of https://github.com/containers/conmon/tree/master
95def7
  (https://github.com/containers/conmon/commit/3161452)
95def7
- Related: #1934415
95def7
95def7
* Mon May 10 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-3
95def7
- upload new source tarball
95def7
- Related: #1934415
95def7
95def7
* Mon May 10 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-2
95def7
- switch to master branch to fix /dev/null ownership issues
95def7
  (https://github.com/containers/conmon/commit/372fa19211cfeabdb2bad52a4ab8a4d1b0b0063c)
95def7
- Related: #1934415
95def7
95def7
* Tue Mar 09 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.27-1
95def7
- update to https://github.com/containers/conmon/releases/tag/v2.0.27
95def7
- Related: #1934415
95def7
017830
* Thu Feb 04 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.26-1
017830
- update to https://github.com/containers/conmon/releases/tag/v2.0.26
017830
- Related: #1883490
017830
017830
* Thu Jan 21 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.25-1
017830
- update to https://github.com/containers/conmon/releases/tag/v2.0.25
017830
- Related: #1883490
017830
017830
* Fri Jan 15 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.24-1
017830
- update to https://github.com/containers/conmon/releases/tag/v2.0.24
017830
- Related: #1883490
017830
017830
* Mon Jan 04 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-3
017830
- exclude i686 as golang is not suppoerted there
017830
- Related: #1883490
017830
017830
* Sat Dec 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-2
017830
- add BR: golang, go-md2man
017830
- add man pages
017830
- Related: #1883490
017830
017830
* Mon Dec 21 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-1
017830
- update to https://github.com/containers/conmon/releases/tag/v2.0.22
017830
- Related: #1883490
017830
017830
* Tue Dec 08 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.21-3
017830
- simplify spec
017830
- Related: #1883490
017830
017830
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.21-2
017830
- be sure to harden the linked binary
017830
- compile with debuginfo enabled
017830
- Related: #1883490
017830
017830
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.21-1
017830
- synchronize with stream-container-tools-rhel8
017830
- Related: #1883490
017830
017830
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.20-2
017830
- use proper CFLAGS
017830
- Related: #1821193
017830
017830
* Wed Jul 29 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.20-1
017830
- update to https://github.com/containers/conmon/releases/tag/v2.0.20
017830
- Related: #1821193
017830
017830
* Wed Jul 15 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.19-1
017830
- update to https://github.com/containers/conmon/releases/tag/v2.0.19
017830
- Related: #1821193
017830
07db3e
* Tue Jun 16 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.18-1
07db3e
- update to https://github.com/containers/conmon/releases/tag/v2.0.18
07db3e
- Related: #1821193
07db3e
07db3e
* Tue May 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.17-1
07db3e
- update to https://github.com/containers/conmon/releases/tag/v2.0.17
07db3e
- Related: #1821193
07db3e
07db3e
* Wed May 13 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.16-1
07db3e
- update to https://github.com/containers/conmon/releases/tag/v2.0.16
07db3e
- Related: #1821193
07db3e
07db3e
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.15-2
07db3e
- synchronize containter-tools 8.3.0 with 8.2.1
07db3e
- Related: #1821193
07db3e
07db3e
* Mon Apr 06 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.15-1
07db3e
- update to 2.0.15
07db3e
- Related: #1821193
07db3e
634cc1
* Wed Dec 11 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.6-1
634cc1
- update to 2.0.6
634cc1
- Related: RHELPLAN-25139
634cc1
634cc1
* Tue Dec 10 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.5-1
634cc1
- update to 2.0.5
634cc1
- Related: RHELPLAN-25139
634cc1
634cc1
* Mon Dec 09 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.4-1
634cc1
- update to 2.0.4 bugfix release
634cc1
- Related: RHELPLAN-25139
634cc1
634cc1
* Mon Nov 25 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.3-2.giteb5fa88
634cc1
- BR: systemd-devel
634cc1
- Related: RHELPLAN-25139
634cc1
634cc1
* Wed Nov 20 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.3-1.giteb5fa88
634cc1
- update to 2.0.3
634cc1
- Related: RHELPLAN-25139
634cc1
634cc1
* Wed Sep 25 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.2-0.1.dev.git422ce21
634cc1
- build latest upstream master
634cc1
634cc1
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-2
634cc1
- remove BR: go-md2man since no manpages yet
634cc1
634cc1
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-1
634cc1
- bump to v2.0.0
634cc1
634cc1
* Fri May 31 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:0.2.0-1
634cc1
- initial package