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