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