diff --git a/velociraptor.changes b/velociraptor.changes index 1021217..4a982d2 100644 --- a/velociraptor.changes +++ b/velociraptor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 27 15:40:56 UTC 2025 - Darragh O'Reilly + +- Don't try to build or use system-user-velociraptor on SLE12 + ------------------------------------------------------------------- Fri Jan 17 17:37:39 UTC 2025 - Antonio Teixeira diff --git a/velociraptor.spec b/velociraptor.spec index 0b6c8a7..a5cd60b 100644 --- a/velociraptor.spec +++ b/velociraptor.spec @@ -235,7 +235,7 @@ https://docs.velociraptor.app/ This package contains only the endpoint agent. For the full server and GUI console, please install the 'velociraptor' package. -%if 0%{?suse_version} +%if 0%{?suse_version} && !0%{?pre_create_group} %package -n system-user-velociraptor Summary: System user and group 'velociraptor' Version: 1.0.0 @@ -320,7 +320,7 @@ sysconfig_file_source=%{SOURCE7} config_file=server.config %else -%if 0%{?suse_version} +%if 0%{?suse_version} && !0%{?pre_create_group} install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysusersdir}/system-user-velociraptor.conf %endif service_file_source=%{SOURCE5} @@ -362,7 +362,7 @@ install -D -m 0755 output/velociraptor-v%{VERSION}-linux-* %buildroot/%{_bindir} %dir %attr(%{state_dir_perms}) %{_sharedstatedir}/%{name}/tmp %if %{build_client} -%if 0%{?suse_version} +%if 0%{?suse_version} && !0%{?pre_create_group} %files -n system-user-velociraptor %defattr(-, root, root) %{_sysusersdir}/system-user-velociraptor.conf