From 8098d1881ee82d8e842ae03f9db330167f5186a9 Mon Sep 17 00:00:00 2001 From: griznog Date: Thu, 23 Nov 2023 09:10:12 -0600 Subject: [PATCH 1/2] Minor fixes to enable building rpms for Fedora --- warewulf.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/warewulf.spec.in b/warewulf.spec.in index ca163e34..83ad5034 100644 --- a/warewulf.spec.in +++ b/warewulf.spec.in @@ -10,6 +10,11 @@ %global wwgroup warewulf +%if 0%{?fedora} +%define _build_id_links none +%endif + + Name: warewulf Summary: A provisioning system for large clusters of bare metal and/or virtual systems Version: @VERSION@ @@ -47,7 +52,7 @@ Requires: tftp-server Requires: nfs-utils %endif -%if 0%{?rhel} >= 8 || 0%{?suse_version} +%if 0%{?rhel} >= 8 || 0%{?suse_version} || 0%{?fedora} Requires: dhcp-server %else # rhel < 8 From 5651861c83dca99f160bed44166d8eabc5f30b59 Mon Sep 17 00:00:00 2001 From: griznog Date: Thu, 23 Nov 2023 09:12:37 -0600 Subject: [PATCH 2/2] Updating Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d9da817..87cae42a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New build for Rocky Linux 9 ### Fixed +- Enable spec file to work with Fedora - Fix hard CPU architecture on proto's installation in the Makefile - More aggressive `make clean`. - Replace deprecated `io.utils` functions with new `os` functions.