Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package velociraptor for openSUSE:Factory 
checked in at 2024-04-18 22:12:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/velociraptor (Old)
 and      /work/SRC/openSUSE:Factory/.velociraptor.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "velociraptor"

Thu Apr 18 22:12:21 2024 rev:8 rq:1168852 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/velociraptor/velociraptor.changes        
2024-04-05 20:29:09.841534357 +0200
+++ /work/SRC/openSUSE:Factory/.velociraptor.new.26366/velociraptor.changes     
2024-04-18 22:13:25.067271374 +0200
@@ -1,0 +2,12 @@
+Wed Apr 17 21:53:20 UTC 2024 - Jeff Mahoney <je...@suse.com>
+
+- Fix unresolveable Debian group-velociraptor dependency.
+
+-------------------------------------------------------------------
+Wed Apr 17 15:52:52 UTC 2024 - Jeff Mahoney <je...@suse.com>
+
+- Restore velociraptor group for client
+- Add %{name}(project:%_project) Provides for SLE15 and newer
+- Fixed SLE12-SP5 build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ velociraptor.spec ++++++
--- /var/tmp/diff_new_pack.w6a2fR/_old  2024-04-18 22:13:26.867337563 +0200
+++ /var/tmp/diff_new_pack.w6a2fR/_new  2024-04-18 22:13:26.871337710 +0200
@@ -103,7 +103,6 @@
 Patch4:         CVE-2024-28849-follow-redirects-drop-proxy-authorization.patch
 BuildRequires:  fileb0x
 %if 0%{?suse_version}
-BuildRequires:  golang-packaging
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  golang(API) >= 1.19
 BuildRequires:  pkgconfig(libsystemd)
@@ -164,16 +163,24 @@
 %endif
 
 %if 0%{?suse_version}
+# SLE12 doesn't support sysusers
+%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
+Requires(pre):  pwdutils
+%define pre_create_group 1
+%else
+Requires:       group(velociraptor)
+%endif
+%endif
+
 %if %{build_server}
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
 ExclusiveArch:  x86_64
-%endif
 %else
-%if %{build_server}
 ExclusiveArch:  do_not_build
+%endif
 %else
 ExclusiveArch:  x86_64 ppc64le aarch64 s390x
 %endif
-%endif
 
 %if 0%{?rhel}
 # RHEL builds aren't working yet
@@ -183,6 +190,10 @@
 # Not *required* but without it, we spam the system log
 Recommends:     auditd
 
+%if 0%{?_project:1} && (0%{?suse_version} > 1500 || 0%{?sle_version} > 150000)
+Provides:       %{name}(project:%_project)
+%endif
+
 %if "%{vendor}" == "debbuild"
 %define mtag Packager: https://www.suse.com
 %mtag
@@ -346,6 +357,10 @@
 
 %if 0%{?suse_version}
 %pre
+%if 0%{?pre_create_group}
+# create velociraptor group if it doesn't exist
+groupadd -f -r velociraptor  2>/dev/null || :
+%endif
 %service_add_pre %{name}.service
 
 %post

Reply via email to