Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crun for openSUSE:Factory checked in at 2021-08-25 20:58:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crun (Old) and /work/SRC/openSUSE:Factory/.crun.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crun" Wed Aug 25 20:58:01 2021 rev:4 rq:914071 version:0.21 Changes: -------- --- /work/SRC/openSUSE:Factory/crun/crun.changes 2021-08-11 11:47:32.389723214 +0200 +++ /work/SRC/openSUSE:Factory/.crun.new.1899/crun.changes 2021-08-25 20:59:29.393060234 +0200 @@ -1,0 +2,7 @@ +Mon Aug 23 15:22:18 UTC 2021 - Dario Faggioli <[email protected]> + +- make libkrun support conditional, so we can have crun (without + libkrun, of course) on all arches, which may help with + bsc#1188914. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crun.spec ++++++ --- /var/tmp/diff_new_pack.RIomHK/_old 2021-08-25 20:59:29.861059620 +0200 +++ /var/tmp/diff_new_pack.RIomHK/_new 2021-08-25 20:59:29.865059614 +0200 @@ -24,7 +24,6 @@ Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: crun-rpmlintrc URL: https://github.com/containers/crun -ExclusiveArch: x86_64 aarch64 # We always run autogen.sh BuildRequires: autoconf BuildRequires: automake @@ -33,7 +32,6 @@ BuildRequires: glibc-devel-static BuildRequires: go-md2man BuildRequires: libcap-devel -BuildRequires: libkrun >= 0.1.4 BuildRequires: libseccomp-devel BuildRequires: libselinux-devel BuildRequires: libtool @@ -44,7 +42,10 @@ %ifnarch %ix86 BuildRequires: criu-devel >= 3.15 %endif +%ifarch x86_64 aarch64 +BuildRequires: libkrun >= 0.1.4 Requires: libkrun >= 0.1.7 +%endif %description crun is a runtime for running OCI containers. It is built with libkrun support @@ -53,15 +54,20 @@ %autosetup -p1 %build +%ifarch x86_64 aarch64 +export LIBKRUN="--with-libkrun" +%endif ./autogen.sh -%configure --disable-silent-rules --with-libkrun CFLAGS='-I /usr/include/libseccomp' +%configure --disable-silent-rules $LIBKRUN CFLAGS='-I /usr/include/libseccomp' %make_build %install %make_install rm -rf %{buildroot}/%{_libdir}/lib* +%ifarch x86_64 aarch64 # allow easy krun usage with podman ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun +%endif %files %defattr(-,root,root) @@ -69,7 +75,9 @@ %doc README.md %doc SECURITY.md %{_bindir}/%{name} +%ifarch x86_64 aarch64 %{_bindir}/krun +%endif %{_mandir}/man1/* %changelog
