Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lact for openSUSE:Factory checked in 
at 2026-07-01 16:39:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lact (Old)
 and      /work/SRC/openSUSE:Factory/.lact.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lact"

Wed Jul  1 16:39:50 2026 rev:4 rq:1362766 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/lact/lact.changes        2026-06-30 
15:13:38.024448338 +0200
+++ /work/SRC/openSUSE:Factory/.lact.new.11887/lact.changes     2026-07-01 
16:39:50.639756438 +0200
@@ -1,0 +2,6 @@
+Wed Jul  1 04:08:20 UTC 2026 - Jehu Marcos Herrera Puentes 
<[email protected]>
+
+- Added prevent-strip.patch to stop stripping binaries after compilation
+- Added fix-clang-args.patch to fix lact-daemon build
+
+-------------------------------------------------------------------

New:
----
  fix-clang-args.patch
  prevent-strip.patch

----------(New B)----------
  New:- Added prevent-strip.patch to stop stripping binaries after compilation
- Added fix-clang-args.patch to fix lact-daemon build
  New:
- Added prevent-strip.patch to stop stripping binaries after compilation
- Added fix-clang-args.patch to fix lact-daemon build
----------(New E)----------

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

Other differences:
------------------
++++++ lact.spec ++++++
--- /var/tmp/diff_new_pack.F5HZxa/_old  2026-07-01 16:39:51.943801826 +0200
+++ /var/tmp/diff_new_pack.F5HZxa/_new  2026-07-01 16:39:51.951802105 +0200
@@ -38,12 +38,16 @@
 
 # Get the source from tar_scm
 Source0:        %{sname}-%{version}.tar.xz
+
 # Additional sources for rust vendor and sysusers configuration
 Source1:        vendor.tar.xz
+
 # Sysusers configuration for creating the "lact" system user and group to 
manage the daemon's permissions
 Source2:        system-user-%{sname}.conf
+
 # Handle exclusions
 Source3:        %{sname}.rpmlintrc
+
 # LACT configuration file
 # The LACT config file is located in /etc/lact/config.yaml,
 # and contains all of the GPU settings that are typically edited in the GUI,
@@ -53,10 +57,17 @@
 # This configuration file provides a specific setting for the admin user and 
group that the daemon will use for permissions management.
 # Instead of using "wheel" or "sudo", it creates a dedicated "lact" system 
user and group for this purpose, and specify them in the config file.
 Source4:        %{sname}.config.yaml
+
 # Post-installation/unistallation guide for users
 Source5:        install-guide.txt
 Source6:        uninstall-guide.txt
 
+# PATCH-FIX-OPENSUSE prevent-strip.patch -- Prevent stripping binaries after 
compilation.
+Patch0:         prevent-strip.patch
+
+# PATCH-FIX-OPENSUSE fix-clang-args.patch -- Fix clang args for bindgen to 
find vendored DRM headers.
+Patch1:         fix-clang-args.patch
+
 # Rust is only available on these architectures
 ExclusiveArch:  x86_64 aarch64
 
@@ -142,15 +153,6 @@
 # Copy the post-installation/uninstallation guides
 cp %_sourcedir/*install-guide.txt .
 
-# lact-daemon vendors its own DRM uapi headers (include/drm/) for the
-# NVIDIA bindgen target, but its build.rs never adds them to clang's
-# search path. This works by accident on distros whose kernel-headers
-# package ships /usr/include/drm/ (e.g. openSUSE Factory/Tumbleweed),
-# but fails where it doesn't (e.g. Leap 16's SLFO-derived headers),
-# with: fatal error: 'drm/drm.h' file not found. Force the vendored
-# copy explicitly so the build doesn't depend on that.
-export BINDGEN_EXTRA_CLANG_ARGS="-Iinclude"
-
 %if %{with headless}
 # Build headless flavor (daemon + CLI only)
 %{cargo_build} -p lact --no-default-features --features nvidia

++++++ fix-clang-args.patch ++++++
Index: lact-0.9.1/lact-daemon/build.rs
===================================================================
--- lact-0.9.1.orig/lact-daemon/build.rs
+++ lact-0.9.1/lact-daemon/build.rs
@@ -41,6 +41,7 @@
         .header("include/nvidia.h")
         .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
         .generate_comments(false)
+        .clang_arg("-Iinclude")
         .clang_arg("-Iinclude/nvidia/src/common/sdk/nvidia/inc")
         .generate()
         .expect("Unable to generate nvidia bindings")

++++++ prevent-strip.patch ++++++
Index: lact-0.9.1/Cargo.toml
===================================================================
--- lact-0.9.1.orig/Cargo.toml
+++ lact-0.9.1/Cargo.toml
@@ -41,9 +41,7 @@
 rust-embed = { version = "8.11.0", features = ["debug-embed"] }
 
 [profile.release]
-strip = "symbols"
 codegen-units = 1
-opt-level = "s"
 lto = true
 
 [profile.release.package.cairo-rs]

Reply via email to