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