2020-10-14 21:21:29 +00:00
|
|
|
Summary: OCI runtime written in C
|
|
|
|
Name: crun
|
2021-01-26 07:45:45 +00:00
|
|
|
Version: 0.17
|
|
|
|
Release: 1%{?dist}
|
2020-10-14 21:21:29 +00:00
|
|
|
Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz
|
2020-12-04 16:22:14 +00:00
|
|
|
License: GPLv2+
|
2020-10-14 21:21:29 +00:00
|
|
|
URL: https://github.com/containers/crun
|
2020-12-04 16:22:14 +00:00
|
|
|
# build fails on i686 with: No matching package to install: 'go-md2man'
|
|
|
|
ExcludeArch: i686
|
2020-10-14 21:21:29 +00:00
|
|
|
# We always run autogen.sh
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc
|
2020-12-04 16:22:14 +00:00
|
|
|
BuildRequires: python3
|
2020-10-14 21:21:29 +00:00
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
BuildRequires: yajl-devel
|
|
|
|
BuildRequires: libseccomp-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: python3-libmount
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: go-md2man
|
|
|
|
Provides: oci-runtime = 2
|
|
|
|
|
|
|
|
%description
|
|
|
|
crun is a runtime for running OCI containers
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2020-12-04 16:22:14 +00:00
|
|
|
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
2020-10-14 21:21:29 +00:00
|
|
|
./autogen.sh
|
|
|
|
%configure --disable-silent-rules
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/lib*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2021-01-26 07:45:45 +00:00
|
|
|
* Tue Jan 26 2021 Jindrich Novy <jnovy@redhat.com> - 0.17-1
|
|
|
|
- update to https://github.com/containers/crun/releases/tag/0.17
|
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Thu Dec 03 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-2
|
|
|
|
- exclude i686 because of build failures
|
|
|
|
- Related: #1883490
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Wed Nov 25 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-1
|
|
|
|
- update to https://github.com/containers/crun/releases/tag/0.16
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Wed Nov 04 2020 Jindrich Novy <jnovy@redhat.com> - 0.15.1-1
|
|
|
|
- update to https://github.com/containers/crun/releases/tag/0.15.1
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-2
|
|
|
|
- backport "exec: check read bytes from sync" (gscrivan@redhat.com)
|
|
|
|
(https://github.com/containers/crun/issues/511)
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Wed Sep 23 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-1
|
|
|
|
- update to https://github.com/containers/crun/releases/tag/0.15
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-2
|
|
|
|
- use proper CFLAGS
|
|
|
|
- Related: #1821193
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Wed Jul 08 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-1
|
|
|
|
- update to https://github.com/containers/crun/releases/tag/v0.14.1
|
|
|
|
- Related: #1821193
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Thu Jul 02 2020 Jindrich Novy <jnovy@redhat.com> - 0.14-1
|
|
|
|
- update to https://github.com/containers/crun/releases/tag/v0.14
|
|
|
|
- Related: #1821193
|
2020-10-14 21:21:29 +00:00
|
|
|
|
2020-12-04 16:22:14 +00:00
|
|
|
* Tue Jun 16 2020 Giuseppe Scrivano <gscrivan@redhat.com> - 0.13-1
|
|
|
|
- initial import
|