Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package systemd-presets-branding-Aeon for 
openSUSE:Factory checked in at 2026-01-02 14:30:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd-presets-branding-Aeon (Old)
 and      /work/SRC/openSUSE:Factory/.systemd-presets-branding-Aeon.new.1928 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemd-presets-branding-Aeon"

Fri Jan  2 14:30:01 2026 rev:8 rq:1325093 version:20231005

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/systemd-presets-branding-Aeon/systemd-presets-branding-Aeon.changes
      2025-09-14 18:50:55.603985419 +0200
+++ 
/work/SRC/openSUSE:Factory/.systemd-presets-branding-Aeon.new.1928/systemd-presets-branding-Aeon.changes
    2026-01-02 14:31:53.168792899 +0100
@@ -1,0 +2,7 @@
+Tue Dec 30 14:46:23 UTC 2025 - Callum Farmer <[email protected]>
+
+- Modernize specfile
+- Update Supplements to new RPM format
+- Use RPM macros provided by systemd-presets-common-SUSE-devel
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ systemd-presets-branding-Aeon.spec ++++++
--- /var/tmp/diff_new_pack.EWb0JH/_old  2026-01-02 14:31:53.684814198 +0100
+++ /var/tmp/diff_new_pack.EWb0JH/_new  2026-01-02 14:31:53.688814364 +0100
@@ -27,18 +27,18 @@
 Source0:        50-default-Aeon.preset
 Source1:        50-default-Aeon-user.preset
 BuildRequires:  systemd-presets-branding-openSUSE
+BuildRequires:  systemd-presets-common-SUSE-devel
 BuildRequires:  pkgconfig(systemd)
 #!BuildIgnore:  systemd-presets-branding
-Requires:       systemd-presets-common-SUSE
-PreReq:         coreutils
+Requires(pre):  coreutils
 # systemd-presets-common-SUSE provides
-Requires(pre):  systemd-presets-common-SUSE
-Supplements:    packageand(systemd:branding-MicroOS)
+Supplements:    (systemd and branding-MicroOS)
 Conflicts:      systemd-presets-branding
 Provides:       systemd-presets-branding = %{version}
 Obsoletes:      systemd-presets-branding-CAASP < 15.1
 Obsoletes:      systemd-presets-branding-MicroOS < 20231005
 BuildArch:      noarch
+%{?systemd_preset_requires}
 
 %description
 Default presets for systemd on openSUSE Aeon
@@ -58,40 +58,16 @@
 install -m644 %{_prefix}/lib/systemd/system-preset/90-default-openSUSE.preset 
%{buildroot}%{_prefix}/lib/systemd/system-preset/
 
 %pre
-# On initial installation, branding-preset-states does not yet exist,
-# which is why we also check for the file to be present/executable
-if [ $1 -gt 1 -a -x %{_prefix}/lib/%{generic_name}/branding-preset-states ] ; 
then
-        #
-        # Save the old state so we can detect which package have its
-        # default changed later.
-        #
-        # Note: the old version of the script is used here.
-        #
-        %{_prefix}/lib/%{generic_name}/branding-preset-states save
-        %{_prefix}/lib/%{generic_name}/branding-preset-states save user
-elif [ $1 -eq 1 ]; then
-  touch /run/rpm-%{name}-preset-all
-fi
+%systemd_preset_pre
+%systemd_user_preset_pre
 
 %post
-if [ $1 -gt 1 ] ; then
-        #
-        # Now that the updated presets are installed, find the ones
-        # that have been changed and apply "systemct preset" on them.
-        #
-        %{_prefix}/lib/%{generic_name}/branding-preset-states apply-changes
-        %{_prefix}/lib/%{generic_name}/branding-preset-states apply-changes 
user
-fi
+%systemd_preset_post
+%systemd_user_preset_post
 
 %posttrans
-if [ -f /run/rpm-%{name}-preset-all ]; then
-  # Enable all services, which were installed before systemd
-  # Don't disable services, since this would disable the
-  # complete network stack.
-  systemctl preset-all --preset-mode=enable-only
-  systemctl preset-all --preset-mode=enable-only --global
-fi
-rm -f /run/rpm-%{name}-preset-all
+%systemd_preset_posttrans
+%systemd_user_preset_posttrans
 
 %files
 %defattr(-,root,root)

Reply via email to