From 64555c8811779e20009947e460074721b065bfbc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Wed, 3 Nov 2021 13:35:15 -0400 Subject: [PATCH] import crun-1.0-1.module+el9.0.0+12467+378c8264 --- .crun.metadata | 1 + .gitignore | 1 + SPECS/crun.spec | 130 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 .crun.metadata create mode 100644 .gitignore create mode 100644 SPECS/crun.spec diff --git a/.crun.metadata b/.crun.metadata new file mode 100644 index 0000000..36de69d --- /dev/null +++ b/.crun.metadata @@ -0,0 +1 @@ +c34de35a8489e23778b9c7b860945b870b3f3339 SOURCES/crun-1.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db0840a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/crun-1.0.tar.gz diff --git a/SPECS/crun.spec b/SPECS/crun.spec new file mode 100644 index 0000000..26a611d --- /dev/null +++ b/SPECS/crun.spec @@ -0,0 +1,130 @@ +Summary: OCI runtime written in C +Name: crun +Version: 1.0 +Release: 1%{?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 + +%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 %{buildroot}%{_prefix}/lib* + +%files +%license COPYING +%{_bindir}/%{name} +%{_mandir}/man1/* + +%changelog +* Thu Aug 26 2021 Jindrich Novy - 1.0-1 +- update to https://github.com/containers/crun/releases/tag/1.0 +- Related: #1970747 + +* Wed Aug 25 2021 Jindrich Novy - 0.21-5 +- add BR: criu-devel back +- Related: #1970747 + +* Mon Aug 16 2021 Jindrich Novy - 0.21-4 +- temporarily disable BR: criu-devel +- Related: #1970747 + +* Fri Aug 06 2021 Jindrich Novy - 0.21-3 +- do not use versioned provide +- Resolves: #1974951 +- Related: #1970747 + +* Wed Aug 04 2021 Jindrich Novy - 0.21-2 +- update to https://github.com/containers/crun/releases/tag/0.21 +- Related: #1970747 + +* Tue Jul 27 2021 Jindrich Novy - 0.21-1 +- update to https://github.com/containers/crun/releases/tag/0.21 +- Related: #1970747 + +* Tue Jun 15 2021 Jindrich Novy - 0.20.1-2 +- add BR: criu-devel +- Resolves: #1944964 + +* Thu Jun 10 2021 Jindrich Novy - 0.20.1-1 +- update to https://github.com/containers/crun/releases/tag/0.20.1 + +* Wed Jun 02 2021 Jindrich Novy - 0.20-1 +- update to https://github.com/containers/crun/releases/tag/0.20 + +* Fri May 07 2021 Jindrich Novy - 0.19.1-1 +- update to https://github.com/containers/crun/releases/tag/0.19.1 + +* Tue Apr 06 2021 Jindrich Novy - 0.19-1 +- update to https://github.com/containers/crun/releases/tag/0.19 + +* Fri Feb 19 2021 Jindrich Novy - 0.18-2 +- allow to build without glibc-static (thanks to Giuseppe Scrivano) + +* Fri Feb 19 2021 Jindrich Novy - 0.18-1 +- update to https://github.com/containers/crun/releases/tag/0.18 + +* Tue Jan 26 2021 Jindrich Novy - 0.17-1 +- update to https://github.com/containers/crun/releases/tag/0.17 + +* Thu Dec 03 2020 Jindrich Novy - 0.16-2 +- exclude i686 because of build failures +- Related: #1883490 + +* Wed Nov 25 2020 Jindrich Novy - 0.16-1 +- update to https://github.com/containers/crun/releases/tag/0.16 + +* Wed Nov 04 2020 Jindrich Novy - 0.15.1-1 +- update to https://github.com/containers/crun/releases/tag/0.15.1 + +* Thu Oct 29 2020 Jindrich Novy - 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 - 0.15-1 +- update to https://github.com/containers/crun/releases/tag/0.15 + +* Tue Aug 11 2020 Jindrich Novy - 0.14.1-2 +- use proper CFLAGS +- Related: #1821193 + +* Wed Jul 08 2020 Jindrich Novy - 0.14.1-1 +- update to https://github.com/containers/crun/releases/tag/v0.14.1 +- Related: #1821193 + +* Thu Jul 02 2020 Jindrich Novy - 0.14-1 +- update to https://github.com/containers/crun/releases/tag/v0.14 +- Related: #1821193 + +* Tue Jun 16 2020 Giuseppe Scrivano - 0.13-1 +- initial import