Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4432a177eb | ||
|
|
b15c2d97fc | ||
|
|
84e1bf7dd4 | ||
|
|
f8c8176718 | ||
|
|
91a0f5939c | ||
|
|
072e995f18 |
6 changed files with 62 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,3 +3,6 @@
|
|||
/yggdrasil-0.3.2.tar.gz
|
||||
/yggdrasil-0.3.2.tar.xz
|
||||
/yggdrasil-0.4.1.tar.xz
|
||||
/yggdrasil-0.4.2.tar.xz
|
||||
/yggdrasil-0.4.3.tar.xz
|
||||
/yggdrasil-0.4.4.tar.xz
|
||||
|
|
|
|||
17
.packit.yaml
Normal file
17
.packit.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
upstream_project_url: https://github.com/RedhatInsights/yggdrasil
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-40
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-40
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-40
|
||||
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.1.tar.xz) = 0329b969b7441363cf376cd8b9adf163e0d7f9ecf89db54128a3d8062c887676ac9903e911397bb6eef84238423705352138e0ff1d1ceec0d088c0514222a2f0
|
||||
SHA512 (yggdrasil-0.4.4.tar.xz) = 138df3b4eeb4815fda5d7c60001d75a29596508c9c7de5a0e29aa4b54f4df73024e42cf26f8afcd19671a552199452c81d920873d839044ed1a7f509e6671875
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# https://github.com/redhatinsights/yggdrasil
|
||||
%global goipath github.com/redhatinsights/yggdrasil
|
||||
Version: 0.4.1
|
||||
%global tag %{version}
|
||||
Version: 0.4.4
|
||||
%global tag v%{version}
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
|
@ -21,21 +21,32 @@ Summary: Remote data transmission and processing client
|
|||
|
||||
License: GPL-3.0-only
|
||||
URL: %{gourl}
|
||||
Source: %{url}/releases/download/%{version}/yggdrasil-%{version}.tar.xz
|
||||
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}
|
||||
|
||||
%package devel
|
||||
Summary: %{name} development files
|
||||
|
||||
%description devel
|
||||
%{common_description}
|
||||
|
||||
Contains files needed for yggdrasil worker development.
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep %{?rhel:-k}
|
||||
%autopatch -p1
|
||||
|
||||
%if %{undefined rhel}
|
||||
%generate_buildrequires
|
||||
|
|
@ -59,6 +70,21 @@ export %gomodulesmode
|
|||
%gocheck
|
||||
%endif
|
||||
|
||||
%pre
|
||||
%sysusers_create_compat %{SOURCE1}
|
||||
|
||||
%post
|
||||
%systemd_post %{name}.service
|
||||
%systemd_user_post %{name}.service
|
||||
|
||||
%preun
|
||||
%systemd_preun %{name}.service
|
||||
%systemd_user_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart %{name}.service
|
||||
%systemd_user_postun_with_restart %{name}.service
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%if %{defined rhel}
|
||||
|
|
@ -69,11 +95,15 @@ export %gomodulesmode
|
|||
%config(noreplace) %{_sysconfdir}/%{name}
|
||||
%{_unitdir}/*
|
||||
%{_userunitdir}/*
|
||||
%{_sysusersdir}/*
|
||||
%{_datadir}/bash-completion/completions/*
|
||||
%{_datadir}/dbus-1/{interfaces,system-services,system.d}/*
|
||||
%{_datadir}/doc/%{name}/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
|
|
|
|||
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