Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Link Dupont
ff84a26fcd Use systemd_sysusers_compat 2024-09-23 09:30:36 -04:00
Link Dupont
c2de9ea57a Run systemd-sysusers before installing package 2024-09-20 16:36:57 -04:00
Packit
afa22c90c3 Update to 0.4.4 upstream release
- Resolves: rhbz#2312400

Upstream tag: v0.4.4
Upstream commit: 2a15f834

Commit authored by Packit automation (https://packit.dev/)
2024-09-15 01:42:40 +00:00
5 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
/yggdrasil-0.4.1.tar.xz
/yggdrasil-0.4.2.tar.xz
/yggdrasil-0.4.3.tar.xz
/yggdrasil-0.4.4.tar.xz

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.101.0.

View file

@ -1 +1 @@
SHA512 (yggdrasil-0.4.3.tar.xz) = db7452632dc311dad8a11f5832cfb3138a5f6c8e16097ba9ac415a6b4def8c1b966225b9e8e5d846d57413079cae8fc8e0ac50514c0977780581803d9e2138b7
SHA512 (yggdrasil-0.4.4.tar.xz) = 138df3b4eeb4815fda5d7c60001d75a29596508c9c7de5a0e29aa4b54f4df73024e42cf26f8afcd19671a552199452c81d920873d839044ed1a7f509e6671875

View file

@ -2,7 +2,7 @@
# https://github.com/redhatinsights/yggdrasil
%global goipath github.com/redhatinsights/yggdrasil
Version: 0.4.3
Version: 0.4.4
%global tag v%{version}
%gometa -f
@ -22,12 +22,16 @@ Summary: Remote data transmission and processing client
License: GPL-3.0-only
URL: %{gourl}
Source: %{url}/releases/download/%{tag}/yggdrasil-%{version}.tar.xz
Source1: yggdrasil.sysusers
BuildRequires: systemd-rpm-macros
BuildRequires: meson
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(bash-completion)
%{?sysusers_requires_compat}
%{?systemd_requires}
%description %{common_description}
@ -66,6 +70,9 @@ export %gomodulesmode
%gocheck
%endif
%pre
%sysusers_create_compat %{SOURCE1}
%post
%systemd_post %{name}.service
%systemd_user_post %{name}.service

4
yggdrasil.sysusers Normal file
View file

@ -0,0 +1,4 @@
#Type Name ID GECOS Home directory Shell
u yggdrasil - "yggdrasil system user" /var/lib/yggdrasil -
u yggdrasil-worker - "yggdrasil worker user" - -
m yggdrasil yggdrasil-worker