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