Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crun for openSUSE:Factory checked in 
at 2026-07-09 22:19:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crun (Old)
 and      /work/SRC/openSUSE:Factory/.crun.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crun"

Thu Jul  9 22:19:10 2026 rev:37 rq:1364601 version:1.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/crun/crun.changes        2026-06-15 
19:54:44.575846975 +0200
+++ /work/SRC/openSUSE:Factory/.crun.new.1991/crun.changes      2026-07-09 
22:19:47.190955882 +0200
@@ -1,0 +2,7 @@
+Mon Jul  6 10:59:38 UTC 2026 - Bharti Gautam <[email protected]>
+
+- Add crun-krun subpackage with libkrun support (bsc#1255648)
+- Move libkrun1 dependency from main package to crun-krun subpackage
+- crun-krun provides a /usr/bin/krun symlink to usr/bin/crun 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crun.spec ++++++
--- /var/tmp/diff_new_pack.wSD2Ys/_old  2026-07-09 22:19:47.918980630 +0200
+++ /var/tmp/diff_new_pack.wSD2Ys/_new  2026-07-09 22:19:47.918980630 +0200
@@ -25,6 +25,11 @@
 %else
 %define with_wasmedge 0
 %endif
+%ifarch x86_64 aarch64
+%define with_krun 1
+%else
+%define with_krun 0
+%endif
 
 Name:           crun
 Version:        1.28
@@ -53,23 +58,33 @@
 %ifnarch %{ix86}
 BuildRequires:  criu-devel >= 3.15
 %endif
-%ifarch x86_64 aarch64
+%if %with_krun
 BuildRequires:  libkrun-devel
-Requires:       libkrun1
 %endif
 %if %with_wasmedge
 BuildRequires:  wasmedge-devel
 %endif
 
 %description
-crun is a runtime for running OCI containers. It is built with libkrun support
+crun is a runtime for running OCI containers.
+
+%if %with_krun
+%package krun
+Summary:        crun with libkrun support
+Requires:       %{name} = %{version}-%{release}
+Requires:       libkrun1
+Provides:       krun = %{version}-%{release}
+
+%description krun
+krun is a symlink to the crun binary, with libkrun as an additional dependency.
+%endif
 
 %prep
 %autosetup -p1
 echo '#define GIT_VERSION "%{version}"' > git-version.h
 
 %build
-%ifarch x86_64 aarch64
+%if %with_krun
 export LIBKRUN="--with-libkrun"
 %endif
 %if %with_wasmedge
@@ -96,11 +111,15 @@
 %doc README.md
 %doc SECURITY.md
 %{_bindir}/%{name}
-%ifarch x86_64 aarch64
-%{_bindir}/krun
-%endif
 %if %with_wasmedge
 %{_bindir}/crun-wasm
 %endif
-%{_mandir}/man1/*
+%{_mandir}/man1/crun.1*
+
+%if %with_krun
+%files krun
+%license COPYING
+%{_bindir}/krun
+%{_mandir}/man1/krun.1*
+%endif
 

Reply via email to