4c1e46
Summary: OCI runtime written in C
4c1e46
Name: crun
67a202
Version: 1.8.4
1eb55e
Release: 2%{?dist}
c92cc1
Source0: https://github.com/containers/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
67a202
Patch0: 0001-criu-check-if-the-criu_join_ns_add-function-exists.patch
4c1e46
License: GPLv2+
4c1e46
URL: https://github.com/containers/crun
c92cc1
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
c92cc1
ExclusiveArch: %{go_arches}
4c1e46
# We always run autogen.sh
4c1e46
BuildRequires: autoconf
4c1e46
BuildRequires: automake
4c1e46
BuildRequires: gcc
4c1e46
BuildRequires: python3
4c1e46
BuildRequires: git
4c1e46
BuildRequires: libcap-devel
4c1e46
BuildRequires: systemd-devel
4c1e46
BuildRequires: yajl-devel
4c1e46
BuildRequires: libseccomp-devel
4c1e46
BuildRequires: libselinux-devel
1eb55e
BuildRequires: criu-devel
4c1e46
BuildRequires: python3-libmount
4c1e46
BuildRequires: libtool
ce7497
BuildRequires: /usr/bin/go-md2man
1eb55e
BuildRequires: libgcrypt-devel
d20568
Provides: oci-runtime
1eb55e
Recommends: criu >= 3.17.1
1eb55e
Recommends: criu-libs
4c1e46
4c1e46
%description
4c1e46
crun is a runtime for running OCI containers
4c1e46
4c1e46
%prep
c92cc1
%autosetup -Sgit -n %{name}-%{version}
4c1e46
4c1e46
%build
4c1e46
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
4c1e46
./autogen.sh
4c1e46
%configure --disable-silent-rules
4c1e46
4c1e46
%make_build
4c1e46
4c1e46
%install
4c1e46
%make_install
d20568
rm -rf %{buildroot}%{_prefix}/lib*
4c1e46
4c1e46
%files
4c1e46
%license COPYING
4c1e46
%{_bindir}/%{name}
4c1e46
%{_mandir}/man1/*
4c1e46
4c1e46
%changelog
67a202
* Mon Apr 17 2023 Jindrich Novy <jnovy@redhat.com> - 1.8.4-2
67a202
- Apply additional criu fix
67a202
- Resolves: #2184221
67a202
67a202
* Fri Apr 14 2023 Jindrich Novy <jnovy@redhat.com> - 1.8.4-1
67a202
- update to https://github.com/containers/crun/releases/tag/1.8.4
67a202
- Resolves: #2184221
67a202
67a202
* Tue Apr 04 2023 Jindrich Novy <jnovy@redhat.com> - 1.8.1-3
67a202
- fix could not find symbol criu_set_lsm_mount_context in libcriu.so
67a202
- Resolves: #2184221
67a202
1eb55e
* Mon Mar 20 2023 Jindrich Novy <jnovy@redhat.com> - 1.8.1-2
1eb55e
- add BR: criu-devel
1eb55e
- Resolves: #2179195
1eb55e
1eb55e
* Tue Feb 28 2023 Jindrich Novy <jnovy@redhat.com> - 1.8.1-1
1eb55e
- update to https://github.com/containers/crun/releases/tag/1.8.1
1eb55e
- Related: #2123641
1eb55e
1eb55e
* Thu Feb 02 2023 Jindrich Novy <jnovy@redhat.com> - 1.8-1
1eb55e
- update to https://github.com/containers/crun/releases/tag/1.8
1eb55e
- Related: #2123641
1eb55e
1eb55e
* Thu Jan 05 2023 Jindrich Novy <jnovy@redhat.com> - 1.7.2-2
1eb55e
- require libgcrypt-devel and add criu weak dep
1eb55e
- Resolves: #2158084
1eb55e
1eb55e
* Wed Nov 30 2022 Jindrich Novy <jnovy@redhat.com> - 1.7.2-1
1eb55e
- update to https://github.com/containers/crun/releases/tag/1.7.2
1eb55e
- Related: #2123641
1eb55e
1eb55e
* Mon Nov 28 2022 Jindrich Novy <jnovy@redhat.com> - 1.7.1-1
1eb55e
- update to https://github.com/containers/crun/releases/tag/1.7.1
1eb55e
- Related: #2123641
1eb55e
1eb55e
* Tue Nov 08 2022 Jindrich Novy <jnovy@redhat.com> - 1.7-1
1eb55e
- update to https://github.com/containers/crun/releases/tag/1.7
1eb55e
- Related: #2123641
1eb55e
1eb55e
* Thu Sep 08 2022 Jindrich Novy <jnovy@redhat.com> - 1.6-1
1eb55e
- update to https://github.com/containers/crun/releases/tag/1.6
1eb55e
- Related: #2123641
1eb55e
1f8706
* Tue Jul 26 2022 Jindrich Novy <jnovy@redhat.com> - 1.5-1
2b94f1
- update to https://github.com/containers/crun/releases/tag/1.5
2b94f1
- Related: #2061390
2b94f1
1f8706
* Wed May 11 2022 Jindrich Novy <jnovy@redhat.com> - 1.4.5-2
ce7497
- BuildRequires: /usr/bin/go-md2man
ce7497
- Related: #2061390
d738fd
ce7497
* Wed Apr 27 2022 Jindrich Novy <jnovy@redhat.com> - 1.4.5-1
ce7497
- update to https://github.com/containers/crun/releases/tag/1.4.5
ce7497
- Related: #2061390
d738fd
ce7497
* Thu Mar 24 2022 Jindrich Novy <jnovy@redhat.com> - 1.4.4-1
ce7497
- update to https://github.com/containers/crun/releases/tag/1.4.4
1f8706
- Related: #2061390
ce7497
ce7497
* Mon Mar 07 2022 Jindrich Novy <jnovy@redhat.com> - 1.4.3-1
ce7497
- update to https://github.com/containers/crun/releases/tag/1.4.3
1f8706
- Related: #2061390
044934
1f8706
* Wed Jan 26 2022 Jindrich Novy <jnovy@redhat.com> - 1.4.2-1
ce7497
- update to https://github.com/containers/crun/releases/tag/1.4.2
d738fd
- Related: #2001445
044934
1f8706
* Fri Jan 14 2022 Jindrich Novy <jnovy@redhat.com> - 1.4.1-1
1f8706
- update to https://github.com/containers/crun/releases/tag/1.4.1
1f8706
- Related: #2001445
1f8706
1f8706
* Wed Dec 22 2021 Jindrich Novy <jnovy@redhat.com> - 1.4-1
1f8706
- update to https://github.com/containers/crun/releases/tag/1.4
1f8706
- Related: #2001445
1f8706
d738fd
* Mon Nov 08 2021 Jindrich Novy <jnovy@redhat.com> - 1.3-1
044934
- update to https://github.com/containers/crun/releases/tag/1.3
044934
- Related: #2001445
044934
d738fd
* Mon Oct 11 2021 Jindrich Novy <jnovy@redhat.com> - 1.2-1
d738fd
- update to https://github.com/containers/crun/releases/tag/1.2
d738fd
- Related: #2001445
d738fd
d738fd
* Mon Sep 27 2021 Jindrich Novy <jnovy@redhat.com> - 1.1-1
d738fd
- update to https://github.com/containers/crun/releases/tag/1.1
d738fd
- Related: #2001445
d738fd
d20568
* Thu Aug 26 2021 Jindrich Novy <jnovy@redhat.com> - 1.0-1
d20568
- update to https://github.com/containers/crun/releases/tag/1.0
d20568
- Related: #1934415
d20568
d20568
* Fri Aug 06 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-3
d20568
- remove BR: criu-devel and leave it just for RHEL9
d20568
- Related: #1934415
d20568
d20568
* Fri Aug 06 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-2
d20568
- do not use versioned provide
d20568
- BR: criu-devel
d20568
- Related: #1934415
d20568
d20568
* Tue Jul 27 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-1
d20568
- update to https://github.com/containers/crun/releases/tag/0.21
d20568
- Related: #1934415
d20568
d20568
* Thu Jun 10 2021 Jindrich Novy <jnovy@redhat.com> - 0.20.1-1
87dc39
- update to https://github.com/containers/crun/releases/tag/0.20.1
d20568
- Related: #1934415
87dc39
d20568
* Wed Jun 02 2021 Jindrich Novy <jnovy@redhat.com> - 0.20-1
d20568
- update to https://github.com/containers/crun/releases/tag/0.20
d20568
- Related: #1934415
661c13
d20568
* Mon Apr 26 2021 Jindrich Novy <jnovy@redhat.com> - 0.19.1-1
661c13
- update to https://github.com/containers/crun/releases/tag/0.19.1
d20568
- Related: #1934415
d20568
d20568
* Wed Apr 07 2021 Jindrich Novy <jnovy@redhat.com> - 0.19-2
d20568
- remove unused patch reference from spec
d20568
- Related: #1934415
d20568
d20568
* Tue Apr 06 2021 Jindrich Novy <jnovy@redhat.com> - 0.19-1
d20568
- update to https://github.com/containers/crun/releases/tag/0.19
d20568
- Related: #1934415
661c13
c92cc1
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.18-1
c92cc1
- allow to build without glibc-static (thanks to Giuseppe Scrivano)
c92cc1
- Related: #1883490
c92cc1
c92cc1
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.17-2
c92cc1
- reverting back to 0.17 as there's no glibc-static in RHEL
c92cc1
- Related: #1883490
c92cc1
c92cc1
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.18-1
c92cc1
- update to https://github.com/containers/crun/releases/tag/0.18
c92cc1
- Related: #1883490
c92cc1
c92cc1
* Fri Jan 22 2021 Jindrich Novy <jnovy@redhat.com> - 0.17-1
c92cc1
- update to https://github.com/containers/crun/releases/tag/0.17
c92cc1
- Related: #1883490
c92cc1
9d1ca5
* Thu Dec 03 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-2
9d1ca5
- exclude i686 because of build failures
c92cc1
- Related: #1883490
9d1ca5
9d1ca5
* Wed Nov 25 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-1
9d1ca5
- update to https://github.com/containers/crun/releases/tag/0.16
c92cc1
- Related: #1883490
9d1ca5
9d1ca5
* Wed Nov 04 2020 Jindrich Novy <jnovy@redhat.com> - 0.15.1-1
9d1ca5
- update to https://github.com/containers/crun/releases/tag/0.15.1
c92cc1
- Related: #1883490
9d1ca5
9d1ca5
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-2
c92cc1
- synchronize with stream-container-tools-rhel8
c92cc1
- Related: #1883490
9d1ca5
c92cc1
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-1
c92cc1
- synchronize with stream-container-tools-rhel8
c92cc1
- Related: #1883490
9d1ca5
4c1e46
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-2
4c1e46
- use proper CFLAGS
4c1e46
- Related: #1821193
4c1e46
4c1e46
* Wed Jul 08 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-1
4c1e46
- update to https://github.com/containers/crun/releases/tag/v0.14.1
4c1e46
- Related: #1821193
4c1e46
4c1e46
* Thu Jul 02 2020 Jindrich Novy <jnovy@redhat.com> - 0.14-1
4c1e46
- update to https://github.com/containers/crun/releases/tag/v0.14
4c1e46
- Related: #1821193
4c1e46
4c1e46
* Tue Jun 16 2020 Giuseppe Scrivano <gscrivan@redhat.com> - 0.13-1
4c1e46
- initial import