Skip to content

Commit

Permalink
Narrow yggdrasil version requirements
Browse files Browse the repository at this point in the history
yggdrasil 0.2 used gRPC where 0.4 uses D-Bus. foreman_ygg_worker is only
compatible with yggdrasil over grpc and this narrows the requirement.
This is important because yggdrasil 0.3 is in EPEL 8 & 9 and yggdrasil
0.4 is in CentOS Stream 9.
  • Loading branch information
ekohl authored and ehelms committed Oct 11, 2024
1 parent 43a1104 commit b920a88
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/client/foreman_ygg_worker/foreman_ygg_worker.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Name: foreman_ygg_worker
Version: 0.2.2
Summary: Worker service for yggdrasil that can act as pull client for Foreman Remote Execution
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT

Source0: https://github.com/%{repo_orgname}/%{repo_name}/releases/download/v%{version}/%{repo_name}-%{version}.tar.gz
Expand All @@ -43,7 +43,14 @@ BuildRequires: go
%else
BuildRequires: golang
%endif
Requires: yggdrasil

# Use rich dependencies if available
%if 0%{?rhel} >= 8 || 0%{?fedora}
Requires: (yggdrasil >= 0.2 with yggdrasil < 0.3)
%else
Requires: yggdrasil >= 0.2
Conflicts: yggdrasil >= 0.3
%endif

%description
Worker service for yggdrasil that can act as pull client for Foreman Remote Execution.
Expand Down Expand Up @@ -84,6 +91,9 @@ EOF
%doc README.md

%changelog
* Wed Sep 11 2024 Ewoud Kohl van Wijngaarden <[email protected]> - 0.2.2-4
- Narrow yggdrasil version requirement

* Thu Aug 01 2024 Markus Bucher <[email protected]> - 0.2.2-3
- Fixes for opensuse build service
- Require go and disable hardened go linker on SLES
Expand Down

0 comments on commit b920a88

Please sign in to comment.