715a97
Summary: OCI runtime written in C
715a97
Name: crun
715a97
Version: 1.0
715a97
Release: 1%{?dist}
715a97
Source0: https://github.com/containers/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
715a97
License: GPLv2+
715a97
URL: https://github.com/containers/crun
715a97
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
715a97
ExclusiveArch: %{go_arches}
715a97
# We always run autogen.sh
715a97
BuildRequires: autoconf
715a97
BuildRequires: automake
715a97
BuildRequires: gcc
715a97
BuildRequires: python3
715a97
BuildRequires: git
715a97
BuildRequires: libcap-devel
715a97
BuildRequires: systemd-devel
715a97
BuildRequires: yajl-devel
715a97
BuildRequires: libseccomp-devel
715a97
BuildRequires: libselinux-devel
715a97
BuildRequires: criu-devel
715a97
BuildRequires: python3-libmount
715a97
BuildRequires: libtool
715a97
BuildRequires: go-md2man
715a97
Provides: oci-runtime
715a97
715a97
%description
715a97
crun is a runtime for running OCI containers
715a97
715a97
%prep
715a97
%autosetup -Sgit -n %{name}-%{version}
715a97
715a97
%build
715a97
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
715a97
./autogen.sh
715a97
%configure --disable-silent-rules
715a97
715a97
%make_build
715a97
715a97
%install
715a97
%make_install
715a97
rm -rf %{buildroot}%{_prefix}/lib*
715a97
715a97
%files
715a97
%license COPYING
715a97
%{_bindir}/%{name}
715a97
%{_mandir}/man1/*
715a97
715a97
%changelog
715a97
* Thu Aug 26 2021 Jindrich Novy <jnovy@redhat.com> - 1.0-1
715a97
- update to https://github.com/containers/crun/releases/tag/1.0
715a97
- Related: #1970747
715a97
715a97
* Wed Aug 25 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-5
715a97
- add BR: criu-devel back
715a97
- Related: #1970747
715a97
715a97
* Mon Aug 16 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-4
715a97
- temporarily disable BR: criu-devel
715a97
- Related: #1970747
715a97
715a97
* Fri Aug 06 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-3
715a97
- do not use versioned provide
715a97
- Resolves: #1974951
715a97
- Related: #1970747
715a97
715a97
* Wed Aug 04 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-2
715a97
- update to https://github.com/containers/crun/releases/tag/0.21
715a97
- Related: #1970747
715a97
715a97
* Tue Jul 27 2021 Jindrich Novy <jnovy@redhat.com> - 0.21-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.21
715a97
- Related: #1970747
715a97
715a97
* Tue Jun 15 2021 Jindrich Novy <jnovy@redhat.com> - 0.20.1-2
715a97
- add BR: criu-devel
715a97
- Resolves: #1944964
715a97
715a97
* Thu Jun 10 2021 Jindrich Novy <jnovy@redhat.com> - 0.20.1-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.20.1
715a97
715a97
* Wed Jun 02 2021 Jindrich Novy <jnovy@redhat.com> - 0.20-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.20
715a97
715a97
* Fri May 07 2021 Jindrich Novy <jnovy@redhat.com> - 0.19.1-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.19.1
715a97
715a97
* Tue Apr 06 2021 Jindrich Novy <jnovy@redhat.com> - 0.19-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.19
715a97
715a97
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.18-2
715a97
- allow to build without glibc-static (thanks to Giuseppe Scrivano)
715a97
715a97
* Fri Feb 19 2021 Jindrich Novy <jnovy@redhat.com> - 0.18-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.18
715a97
715a97
* Tue Jan 26 2021 Jindrich Novy <jnovy@redhat.com> - 0.17-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.17
715a97
715a97
* Thu Dec 03 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-2
715a97
- exclude i686 because of build failures
715a97
- Related: #1883490
715a97
715a97
* Wed Nov 25 2020 Jindrich Novy <jnovy@redhat.com> - 0.16-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.16
715a97
715a97
* Wed Nov 04 2020 Jindrich Novy <jnovy@redhat.com> - 0.15.1-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.15.1
715a97
715a97
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-2
715a97
- backport "exec: check read bytes from sync" (gscrivan@redhat.com)
715a97
  (https://github.com/containers/crun/issues/511)
715a97
715a97
* Wed Sep 23 2020 Jindrich Novy <jnovy@redhat.com> - 0.15-1
715a97
- update to https://github.com/containers/crun/releases/tag/0.15
715a97
715a97
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-2
715a97
- use proper CFLAGS
715a97
- Related: #1821193
715a97
715a97
* Wed Jul 08 2020 Jindrich Novy <jnovy@redhat.com> - 0.14.1-1
715a97
- update to https://github.com/containers/crun/releases/tag/v0.14.1
715a97
- Related: #1821193
715a97
715a97
* Thu Jul 02 2020 Jindrich Novy <jnovy@redhat.com> - 0.14-1
715a97
- update to https://github.com/containers/crun/releases/tag/v0.14
715a97
- Related: #1821193
715a97
715a97
* Tue Jun 16 2020 Giuseppe Scrivano <gscrivan@redhat.com> - 0.13-1
715a97
- initial import