Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff84a26fcd | ||
|
|
c2de9ea57a | ||
|
|
afa22c90c3 |
5 changed files with 17 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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
3
README.packit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.101.0.
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (yggdrasil-0.4.3.tar.xz) = db7452632dc311dad8a11f5832cfb3138a5f6c8e16097ba9ac415a6b4def8c1b966225b9e8e5d846d57413079cae8fc8e0ac50514c0977780581803d9e2138b7
|
||||
SHA512 (yggdrasil-0.4.4.tar.xz) = 138df3b4eeb4815fda5d7c60001d75a29596508c9c7de5a0e29aa4b54f4df73024e42cf26f8afcd19671a552199452c81d920873d839044ed1a7f509e6671875
|
||||
|
|
|
|||
|
|
@ -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
4
yggdrasil.sysusers
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue