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