Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package flake-pilot for openSUSE:Factory 
checked in at 2026-04-17 21:03:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flake-pilot (Old)
 and      /work/SRC/openSUSE:Factory/.flake-pilot.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flake-pilot"

Fri Apr 17 21:03:28 2026 rev:20 rq:1347309 version:3.1.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/flake-pilot/flake-pilot.changes  2026-03-20 
21:20:31.707300799 +0100
+++ /work/SRC/openSUSE:Factory/.flake-pilot.new.11940/flake-pilot.changes       
2026-04-17 21:04:07.613513004 +0200
@@ -1,0 +2,14 @@
+Wed Apr 15 14:11:56 CEST 2026 - Marcus Schäfer <[email protected]>
+
+- Update spec file due to new package restrictions
+
+  On SUSE new package restrictions where added to support the
+  concept of the so called immutable mode. The new guideline
+  says "Any files in the RPM spec %files section that are not
+  in /usr or /etc is likely to break in Immutable Mode". For
+  the flake-pilot packaging this applies to the flake-pilot-firecracker
+  sub package. This commit implements the suggested solution based
+  on systemd-tmpfiles and only applies for SUSE.
+  This Fixes jira#PCT-1054
+
+-------------------------------------------------------------------

New:
----
  systemd-tmpfiles-for-suse.conf

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

Other differences:
------------------
++++++ flake-pilot.spec ++++++
--- /var/tmp/diff_new_pack.uouM9j/_old  2026-04-17 21:04:08.589552960 +0200
+++ /var/tmp/diff_new_pack.uouM9j/_new  2026-04-17 21:04:08.593553123 +0200
@@ -31,6 +31,8 @@
 Source0:        %{name}.tar.gz
 Source1:        cargo_config
 Source2:        %{name}-rpmlintrc
+# SUSE-specific source additions (1001+)
+Source1001:     systemd-tmpfiles-for-suse.conf
 %if 0%{?debian} || 0%{?ubuntu}
 Requires:       golang-github-containers-common
 %endif
@@ -141,9 +143,12 @@
 mkdir -p %{buildroot}/overlayroot
 mkdir -p %{buildroot}/usr/lib/flake-pilot
 
+%if 0%{?suse_version} >= 1600
+install -D -m 755 %{SOURCE1001} 
%{buildroot}%{_tmpfilesdir}/flake-pilot-firecracker.conf
+%else
 mkdir -p %{buildroot}/var/lib/firecracker/images
-
 mkdir -p %{buildroot}/var/lib/firecracker/storage
+%endif
 
 mkdir -p %{buildroot}/etc/dracut.conf.d
 mkdir -p %{buildroot}/usr/lib/dracut/modules.d/80netstart
@@ -180,9 +185,16 @@
 %doc /usr/share/man/man8/podman-pilot.8.gz
 
 %files -n flake-pilot-firecracker
+%if 0%{?suse_version} >= 1600
+%{_tmpfilesdir}/flake-pilot-firecracker.conf
+%ghost %dir /var/lib/firecracker
+%ghost %dir /var/lib/firecracker/images
+%ghost %dir /var/lib/firecracker/storage
+%else
 %dir /var/lib/firecracker
 %dir /var/lib/firecracker/images
 %dir /var/lib/firecracker/storage
+%endif
 %dir /usr/lib/flake-pilot
 %config /etc/flakes/firecracker-flake.yaml
 %config /etc/flakes/firecracker.json

++++++ flake-pilot.tar.gz ++++++
/work/SRC/openSUSE:Factory/flake-pilot/flake-pilot.tar.gz 
/work/SRC/openSUSE:Factory/.flake-pilot.new.11940/flake-pilot.tar.gz differ: 
char 5, line 1

++++++ systemd-tmpfiles-for-suse.conf ++++++
d /var/lib/firecracker
d /var/lib/firecracker/images
d /var/lib/firecracker/storage

Reply via email to