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