Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package noisetorch for openSUSE:Factory 
checked in at 2026-08-11 17:16:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/noisetorch (Old)
 and      /work/SRC/openSUSE:Factory/.noisetorch.new.17972 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "noisetorch"

Tue Aug 11 17:16:47 2026 rev:6 rq:1370631 version:0.12.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/noisetorch/noisetorch.changes    2026-07-21 
23:00:08.369178241 +0200
+++ /work/SRC/openSUSE:Factory/.noisetorch.new.17972/noisetorch.changes 
2026-08-11 17:17:52.071907537 +0200
@@ -1,0 +2,11 @@
+Mon Aug 10 08:21:17 UTC 2026 - Matthias Gerstner <[email protected]>
+
+- make the package work with the permissions package capability assignment:
+  - add %set_permissions / %verify_permissions to apply capability settings
+    during %post.
+  - have %verify ignore caps/mode differences for the noisetorch binary.
+  - drop explicit capability assignment from spec file. This is no longer
+    allowed.
+  - add permissions preqrequisite.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ noisetorch.spec ++++++
--- /var/tmp/diff_new_pack.hNVdn1/_old  2026-08-11 17:17:53.131952456 +0200
+++ /var/tmp/diff_new_pack.hNVdn1/_new  2026-08-11 17:17:53.135952626 +0200
@@ -27,6 +27,7 @@
 # osc service disabledrun
 Source1:        vendor.tar.gz
 Patch0:         remove-self-cap-assignment.patch
+Requires(pre):  permissions
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
 BuildRequires:  git-core
@@ -62,10 +63,16 @@
 install -D -m 644 assets/noisetorch.desktop 
%{buildroot}/%{_datadir}/applications/noisetorch.desktop
 install -D -m 755 noisetorch %{buildroot}/%{_bindir}/noisetorch
 
+%post
+%set_permissions %{_bindir}/noisetorch
+
+%verifyscript
+%verify_permissions -e %{_bindir}/noisetorch
+
 %files
 %license LICENSE
 %doc README.md
-%caps(cap_sys_resource+ep) %{_bindir}/noisetorch
+%verify(not caps mode) %{_bindir}/noisetorch
 %{_datadir}/applications/noisetorch.desktop
 %{_datadir}/icons/hicolor/256x256/apps/noisetorch.png
 

Reply via email to