Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zram-generator for openSUSE:Factory 
checked in at 2026-11-27 19:44:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zram-generator (Old)
 and      /work/SRC/openSUSE:Factory/.zram-generator.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zram-generator"

Fri Nov 27 19:44:04 2026 rev:8 rq:1401086 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/zram-generator/zram-generator.changes    
2024-12-13 22:41:48.166732764 +0100
+++ 
/work/SRC/openSUSE:Factory/.zram-generator.new.1340718/zram-generator.changes   
    2026-11-27 19:47:27.724066614 +0100
@@ -1,0 +2,5 @@
+Fri Nov 27 10:53:09 UTC 2026 - Dirk Müller <[email protected]>
+
+- autoload the zram module
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ zram-generator.spec ++++++
--- /var/tmp/diff_new_pack.EYcwg5/_old  2026-11-27 19:47:29.084124544 +0100
+++ /var/tmp/diff_new_pack.EYcwg5/_new  2026-11-27 19:47:29.088124715 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zram-generator
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,34 +16,35 @@
 #
 
 
-%global _systemd_util_dir /usr/lib/systemd
-
+%global _systemd_util_dir %{_prefix}/lib/systemd
 Name:           zram-generator
 Version:        1.2.1
 Release:        0
 Summary:        Systemd unit generator for zram swap devices
 License:        MIT
 Group:          Development/Libraries/Rust
-
 # Upstream license specification: MIT
 URL:            https://github.com/systemd/zram-generator
 Source0:        %{name}-%{version}.tar.xz
 Source1:        vendor.tar.xz
-
 # pregenerated man-pages to avoid dependency on ronn
 Source2:        zram-generator.conf.5
 Source3:        zram-generator.8
-
 BuildRequires:  cargo
 BuildRequires:  cargo-packaging
+BuildRequires:  pkgconfig
+BuildRequires:  suse-module-tools
 BuildRequires:  pkgconfig(systemd)
 
 %description
-This is a systemd unit generator that enables swap on zram.
-(With zram, there is no physical swap device. Part of the avaialable RAM
-is used to store compressed pages, essentially trading CPU cycles for memory.)
-
-To configure and activate swap and zram devices with file-systems,  create a 
configuration file in /etc/systemd/zram-generator.conf. You can consult  
%{_datadir}/doc/%{name}/zram-generator.conf.example for an example and a list 
of available settings.
+This is a systemd unit generator that enables swap on zram.  (With zram, there
+is no physical swap device. Part of the avaialable RAM is used to store
+compressed pages, essentially trading CPU cycles for memory.)
+
+To configure and activate swap and zram devices with file-systems,  create a
+configuration file in %{_sysconfdir}/systemd/zram-generator.conf. You can 
consult
+%{_datadir}/doc/%{name}/zram-generator.conf.example for an example and a list
+of available settings.
 
 %prep
 %autosetup -a1 -p1 -n %{name}-%{version}
@@ -59,6 +60,8 @@
 
 %install
 %make_install SYSTEMD_SYSTEM_UNIT_DIR=%{_unitdir} 
SYSTEMD_SYSTEM_GENERATOR_DIR=%{_systemdgeneratordir} NOBUILD=1
+install -d %{buildroot}/%{_modulesloaddir}
+printf "zram\n" > %{buildroot}/%{_modulesloaddir}/%{name}.conf
 
 %check
 export SYSTEMD_UTIL_DIR=%{_systemd_util_dir}
@@ -71,6 +74,7 @@
 %dir %{_systemdgeneratordir}
 %{_systemdgeneratordir}/zram-generator
 %{_unitdir}/[email protected]
-%{_mandir}/man8/zram-generator.8*
-%{_mandir}/man5/zram-generator.conf.5*
+%{_modulesloaddir}/%{name}.conf
+%{_mandir}/man8/zram-generator.8%{?ext_man}
+%{_mandir}/man5/zram-generator.conf.5%{?ext_man}
 

Reply via email to