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