700535
%global with_check 0
700535
700535
%global _find_debuginfo_dwz_opts %{nil}
700535
%global _dwz_low_mem_die_limit 0
c7844d
700535
# https://github.com/containers/conmon
c7844d
%global import_path github.com/containers/%{name}
700535
%global git0 https://%{import_path}
700535
c7844d
Name: conmon
700535
Epoch: 2
340f01
Version: 2.0.25
340f01
Release: 1%{?dist}
700535
Summary: OCI container runtime monitor
700535
License: ASL 2.0
700535
URL: %{git0}
700535
Source0: %{git0}/archive/v%{version}.tar.gz
a125cd
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
a125cd
#ExclusiveArch: %%{go_arches}
a125cd
# still use arch exclude as the macro above still refers %%{ix86} in RHEL8.4:
a125cd
# https://bugzilla.redhat.com/show_bug.cgi?id=1905383
a125cd
ExcludeArch: %{ix86}
700535
BuildRequires: gcc
700535
BuildRequires: git
700535
BuildRequires: glib2-devel
700535
BuildRequires: systemd-devel
a125cd
BuildRequires: golang >= 1.12.12-4
a125cd
BuildRequires: go-md2man
700535
700535
%description
700535
%{summary}.
700535
700535
%prep
700535
%autosetup -Sgit
700535
700535
%build
2f36aa
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
c7844d
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
700535
%{__make} all
700535
700535
%install
700535
%{__make} PREFIX=%{buildroot}%{_prefix} install
700535
700535
#define license tag if not already defined
700535
%{!?_licensedir:%global license %doc}
700535
700535
%files
700535
%license LICENSE
700535
%doc README.md
700535
%{_bindir}/%{name}
a125cd
%{_mandir}/man8/*
700535
700535
%changelog
340f01
* Thu Jan 21 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.25-1
340f01
- update to https://github.com/containers/conmon/releases/tag/v2.0.25
340f01
- Related: #1883490
340f01
340f01
* Fri Jan 15 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.24-1
340f01
- update to https://github.com/containers/conmon/releases/tag/v2.0.24
340f01
- Related: #1883490
340f01
a125cd
* Mon Jan 04 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-3
a125cd
- exclude i686 as golang is not suppoerted there
3a1087
- Related: #1883490
a125cd
a125cd
* Sat Dec 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-2
a125cd
- add BR: golang, go-md2man
a125cd
- add man pages
3a1087
- Related: #1883490
a125cd
a125cd
* Mon Dec 21 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.22-1
a125cd
- update to https://github.com/containers/conmon/releases/tag/v2.0.22
3a1087
- Related: #1883490
a125cd
c7844d
* Tue Dec 08 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.21-3
c7844d
- simplify spec
3a1087
- Related: #1883490
c7844d
c7844d
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.21-2
c7844d
- be sure to harden the linked binary
c7844d
- compile with debuginfo enabled
3a1087
- Related: #1883490
c7844d
3a1087
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.21-1
3a1087
- synchronize with stream-container-tools-rhel8
3a1087
- Related: #1883490
1ed100
2f36aa
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.20-2
2f36aa
- use proper CFLAGS
2f36aa
- Related: #1821193
2f36aa
2f36aa
* Wed Jul 29 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.20-1
2f36aa
- update to https://github.com/containers/conmon/releases/tag/v2.0.20
2f36aa
- Related: #1821193
2f36aa
2f36aa
* Wed Jul 15 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.19-1
2f36aa
- update to https://github.com/containers/conmon/releases/tag/v2.0.19
2f36aa
- Related: #1821193
2f36aa
d4f871
* Tue Jun 16 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.18-1
d4f871
- update to https://github.com/containers/conmon/releases/tag/v2.0.18
d4f871
- Related: #1821193
d4f871
d4f871
* Tue May 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.17-1
d4f871
- update to https://github.com/containers/conmon/releases/tag/v2.0.17
d4f871
- Related: #1821193
d4f871
700535
* Wed May 13 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.16-1
700535
- update to https://github.com/containers/conmon/releases/tag/v2.0.16
700535
- Related: #1821193
700535
700535
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.15-2
700535
- synchronize containter-tools 8.3.0 with 8.2.1
700535
- Related: #1821193
700535
700535
* Mon Apr 06 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.15-1
700535
- update to 2.0.15
700535
- Related: #1821193
700535
700535
* Wed Dec 11 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.6-1
700535
- update to 2.0.6
700535
- Related: RHELPLAN-25139
700535
700535
* Tue Dec 10 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.5-1
700535
- update to 2.0.5
700535
- Related: RHELPLAN-25139
700535
700535
* Mon Dec 09 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.4-1
700535
- update to 2.0.4 bugfix release
700535
- Related: RHELPLAN-25139
700535
700535
* Mon Nov 25 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.3-2.giteb5fa88
700535
- BR: systemd-devel
700535
- Related: RHELPLAN-25139
700535
700535
* Wed Nov 20 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.3-1.giteb5fa88
700535
- update to 2.0.3
700535
- Related: RHELPLAN-25139
700535
700535
* Wed Sep 25 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.2-0.1.dev.git422ce21
700535
- build latest upstream master
700535
700535
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-2
700535
- remove BR: go-md2man since no manpages yet
700535
700535
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-1
700535
- bump to v2.0.0
700535
700535
* Fri May 31 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:0.2.0-1
700535
- initial package