f2470a
Summary: OCI runtime written in C
f2470a
Name: crun
f2470a
Version: 0.18
47ecc2
Release: 3%{?dist}
f2470a
Source0: https://github.com/containers/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
f2470a
Patch0: 0001-revert-tests-build-init-always-statically.patch
47ecc2
Patch1: 0001-spec-do-not-set-inheritable-capabilities.patch
47ecc2
Patch2: 0002-exec-cap-do-not-set-inheritable-capabilities.patch
f2470a
License: GPLv2+
f2470a
URL: https://github.com/containers/crun
f2470a
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
f2470a
ExclusiveArch: %{go_arches}
f2470a
# We always run autogen.sh
f2470a
BuildRequires: autoconf
f2470a
BuildRequires: automake
f2470a
BuildRequires: gcc
f2470a
BuildRequires: python3
f2470a
BuildRequires: git
f2470a
BuildRequires: libcap-devel
f2470a
BuildRequires: systemd-devel
f2470a
BuildRequires: yajl-devel
f2470a
BuildRequires: libseccomp-devel
f2470a
BuildRequires: libselinux-devel
f2470a
BuildRequires: python3-libmount
f2470a
BuildRequires: libtool
f2470a
BuildRequires: go-md2man
f2470a
Provides: oci-runtime = 2
f2470a
f2470a
%description
f2470a
crun is a runtime for running OCI containers
f2470a
f2470a
%prep
f2470a
%autosetup -Sgit -n %{name}-%{version}
f2470a
f2470a
%build
f2470a
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
f2470a
./autogen.sh
f2470a
%configure --disable-silent-rules
f2470a
f2470a
%make_build
f2470a
f2470a
%install
f2470a
%make_install
f2470a
rm -rf $RPM_BUILD_ROOT/usr/lib*
f2470a
f2470a
%files
f2470a
%license COPYING
f2470a
%{_bindir}/%{name}
f2470a
%{_mandir}/man1/*
f2470a
f2470a
%changelog
47ecc2
* Fri Apr 01 2022 Jindrich Novy <jnovy@redhat.com> - 0.18-3
47ecc2
- fix CVE-2022-27650
47ecc2
- Resolves: #2067565
47ecc2
f2470a
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.18-2
f2470a
- allow to build without glibc-static (thanks to Giuseppe Scrivano)
f2470a
- Related: #1883490
f2470a
f2470a
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.18-1
f2470a
- update to https://github.com/containers/crun/releases/tag/0.18
f2470a
- Related: #1883490
f2470a
f2470a
* Fri Jan 22 2021 Jindrich Novy <jnovy@redhat.com> - 0.17-1
f2470a
- update to https://github.com/containers/crun/releases/tag/0.17
f2470a
- Related: #1883490
f2470a
f2470a
* Thu Dec 03 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-2
f2470a
- exclude i686 because of build failures
f2470a
- Related: #1883490
f2470a
f2470a
* Wed Nov 25 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-1
f2470a
- update to https://github.com/containers/crun/releases/tag/0.16
f2470a
- Related: #1883490
f2470a
f2470a
* Wed Nov 04 2020 Jindrich Novy <jnovy@redhat.com> - 0.15.1-1
f2470a
- update to https://github.com/containers/crun/releases/tag/0.15.1
f2470a
- Related: #1883490
f2470a
f2470a
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-2
f2470a
- synchronize with stream-container-tools-rhel8
f2470a
- Related: #1883490
f2470a
f2470a
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-1
f2470a
- synchronize with stream-container-tools-rhel8
f2470a
- Related: #1883490
f2470a
f2470a
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-2
f2470a
- use proper CFLAGS
f2470a
- Related: #1821193
f2470a
f2470a
* Wed Jul 08 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-1
f2470a
- update to https://github.com/containers/crun/releases/tag/v0.14.1
f2470a
- Related: #1821193
f2470a
f2470a
* Thu Jul 02 2020 Jindrich Novy <jnovy@redhat.com> - 0.14-1
f2470a
- update to https://github.com/containers/crun/releases/tag/v0.14
f2470a
- Related: #1821193
f2470a
f2470a
* Tue Jun 16 2020 Giuseppe Scrivano <gscrivan@redhat.com> - 0.13-1
f2470a
- initial import