diff --git a/.gitignore b/.gitignore index ce20ab0..a7cc6fe 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,17 @@ crun-0.1.1.tar.gz /crun-0.13.tar.gz /crun-0.14.tar.gz /crun-0.14.1.tar.gz +/crun-0.15.tar.gz +/crun-0.15.1.tar.gz +/crun-0.16.tar.gz +/crun-0.17.tar.gz +/crun-0.18.tar.gz +/3e7fa1db14a3c4ad0605f1cb2851ec134f4ccc07.patch +/f642968ec5ae05b33f2545da6edf135c338b34d1.patch +/crun-0.19.tar.gz +/crun-0.19.1.tar.gz +/crun-0.19.1.tar.xz +/crun-0.20.tar.xz +/crun-0.20.1.tar.xz +/crun-0.21.tar.xz +/crun-1.0.tar.xz diff --git a/crun.spec b/crun.spec index b2aea90..d67b17c 100644 --- a/crun.spec +++ b/crun.spec @@ -1,32 +1,49 @@ +%global git0 https://github.com/containers/%{name} + +# Used for comparing with latest upstream tag +# to decide whether to autobuild and set download_url (non-rawhide only) +%global built_tag 1.0 + Summary: OCI runtime written in C Name: crun -Version: 0.14.1 -Release: 2%{?dist} -Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz -License: GPLv3+ -URL: https://github.com/containers/crun +Version: 1.0 +Release: 1%{?dist} +URL: %{git0} +Source0: %{name}-%{version}.tar.xz +License: GPLv2+ # We always run autogen.sh BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc +%if 0%{?centos} +BuildRequires: python3 +%else +BuildRequires: python3-libmount BuildRequires: python -BuildRequires: git +%endif +BuildRequires: git-core BuildRequires: libcap-devel BuildRequires: systemd-devel BuildRequires: yajl-devel BuildRequires: libseccomp-devel BuildRequires: libselinux-devel -BuildRequires: python3-libmount BuildRequires: libtool BuildRequires: go-md2man -Provides: oci-runtime = 2 +BuildRequires: make +BuildRequires: glibc-static +%if ! 0%{?centos} +%ifnarch %ix86 +BuildRequires: criu-devel >= 3.15 +%endif +%endif +Provides: oci-runtime %description crun is a runtime for running OCI containers %prep -%autosetup -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} %build ./autogen.sh @@ -36,7 +53,7 @@ crun is a runtime for running OCI containers %install %make_install -rm -rf $RPM_BUILD_ROOT/usr/lib* +rm -rf %{buildroot}%{_usr}/lib* %files %license COPYING @@ -44,6 +61,110 @@ rm -rf $RPM_BUILD_ROOT/usr/lib* %{_mandir}/man1/* %changelog +* Wed Aug 25 2021 RH Container Bot - 1.0-1 +- autobuilt 1.0 + +* Tue Aug 10 2021 RH Container Bot - 0.21-1 +- autobuilt 0.21 + +* Wed Jun 09 2021 Lokesh Mandvekar - 0.20.1-1 +- Fixes: https://github.com/containers/crun/issues/687 + +* Wed Jun 02 2021 Lokesh Mandvekar - 0.20-1 +- bump to 0.20 + +* Mon May 17 2021 Lokesh Mandvekar - 0.19.1-3 +- rebuild to fix prior build downgrades + +* Fri May 07 2021 RH Container Bot - 0.19.1-1 +- autobuilt 0.19.1 + +* Thu Apr 22 2021 Lokesh Mandvekar - 0.19.1-2 +- rebuild for new bodhi + +* Thu Apr 22 2021 Giuseppe Scrivano - 0.19.1-1 +- built version 0.19.1 + +* Tue Apr 13 2021 Lokesh Mandvekar - 0.19-2 +- unversioned Provides: oci-runtime +- runc package will also provide an unversioned Provides: oci-runtime. +- user should pull in runc separately or else it will install crun by default + (alphabetical order) +- similar situation as caddy, httpd, lighttpd and nginx having Provides: +webserver + +* Tue Apr 06 2021 Giuseppe Scrivano - 0.19-1 +- built version 0.19 + +* Wed Mar 31 2021 Lokesh Mandvekar - 0.18-5 +- linux: always remount bind mounts ghpr#640 + +* Thu Mar 25 2021 Lokesh Mandvekar - 0.18-4 +- Requires: libcap >= 2.48 + +* Thu Feb 25 2021 Lokesh Mandvekar - 0.18-3 +- bump for centos + +* Wed Feb 24 2021 Lokesh Mandvekar - 0.18-2 +- bump to make centos happy + +* Fri Feb 19 2021 Giuseppe Scrivano - 0.18-1 +- built version 0.18 + +* Thu Feb 04 2021 Lokesh Mandvekar - 0.17-3 +- use deprecated changelog format + +* Thu Feb 04 2021 Lokesh Mandvekar - 0.17-2 +- bump for centos on obs + +* Thu Jan 21 2021 Giuseppe Scrivano - 0.17-1 +- built version 0.17 + +* Thu Dec 17 2020 Giuseppe Scrivano - 0.16-3 +- build with CRIU + +* Wed Nov 25 2020 Jindrich Novy - 0.16-2 +- fix license + +* Tue Nov 24 2020 Giuseppe Scrivano - 0.16-1 +- built version 0.16 + +* Wed Nov 04 2020 Giuseppe Scrivano - 0.15.1-1 +- built version 0.15.1 + +* Wed Sep 30 2020 Lokesh Mandvekar - 0.15-5 +- rebuild to bump release tag ahead of older fedoras + +* Wed Sep 30 2020 Giuseppe Scrivano - 0.15-4 +- backport "exec: check read bytes from sync" + +* Thu Sep 24 2020 Lokesh Mandvekar - 0.15-3 +- release tag ahead of f32 + +* Wed Sep 23 2020 RH Container Bot - 0.15-1 +- autobuilt 0.15 + +* Wed Sep 23 2020 Giuseppe Scrivano - 0.15-2 +- rebuild + +* Wed Sep 23 2020 RH Container Bot - 0.15-1 +- autobuilt 0.15 + +* Mon Sep 14 2020 Giuseppe Scrivano - 0.14.1-5 +- backport 4453af4c060e380051552ee589af5cad37f2ae82 + +* Fri Sep 11 2020 RH Container Bot - 0.14.1-1 +- autobuilt 0.14.1 + +* Mon Aug 31 2020 Lokesh Mandvekar - 0.14.1-4 +- rebuild + +* Thu Aug 27 2020 Giuseppe Scrivano - 0.14.1-3 +- backport ed9c3e6f466dfb6d2e79802060fabd5f4b66f78e + +* Mon Aug 17 2020 RH Container Bot - 0.14.1-1 +- autobuilt 0.14.1 + * Mon Jul 27 2020 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 0d91064..3601d11 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crun-0.14.1.tar.gz) = 420f1713653cbd17df83b2a63d163aaa41baf78115b093877a2241305e10b2ceeaf08ea6700658eca894729ff8a20cbc66f868d18d27fba3fbedf1a9993b122e +SHA512 (crun-1.0.tar.xz) = 4e9c9cc5a448d28d6b11f27b9750c408ffa6fe9a27fb6acc2c87211fa2c1a04f573a94636c53ada39d7415ec0cc89eb0a26a585aeb5d7c94c357ccdf0192fe69