%define debug_package %{nil} Name: flightctl Version: 0.3.0 Release: 1.20241116035206463006.pr653.31.g0fa6c77%{?dist} Summary: Flightctl CLI License: XXX URL: https://github.com/flightctl/flightctl Source0: flightctl-0.3.0.tar.gz BuildRequires: golang BuildRequires: make BuildRequires: git BuildRequires: openssl-devel Requires: openssl %description Flightctl is a command line interface for managing edge device fleets. %package agent Summary: Flightctl Agent %description agent Flightctl Agent is a component of the flightctl tool. %prep %setup -q -n flightctl-0.3.0 %build # if this is a buggy version of go we need to set GOPROXY as workaround # see https://github.com/golang/go/issues/61928 GOENVFILE=$(go env GOROOT)/go.env if [[ ! -f "{$GOENVFILE}" ]]; then export GOPROXY='https://proxy.golang.org,direct' fi make build %install mkdir -p %{buildroot}/usr/bin cp bin/flightctl %{buildroot}/usr/bin mkdir -p %{buildroot}/usr/lib/systemd/system mkdir -p %{buildroot}/%{_sharedstatedir}/flightctl mkdir -p %{buildroot}/usr/lib/greenboot/check/required.d install -m 0755 packaging/greenboot/flightctl-agent-running-check.sh %{buildroot}/usr/lib/greenboot/check/required.d/20_check_flightctl_agent.sh cp bin/flightctl-agent %{buildroot}/usr/bin cp packaging/must-gather/flightctl-must-gather %{buildroot}/usr/bin cp packaging/systemd/flightctl-agent.service %{buildroot}/usr/lib/systemd/system bin/flightctl completion bash > flightctl-completion.bash install -Dpm 0644 flightctl-completion.bash -t %{buildroot}/%{_datadir}/bash-completion/completions/flightctl-completion.bash bin/flightctl completion fish > flightctl-completion.fish install -Dpm 0644 flightctl-completion.fish -t %{buildroot}/%{_datadir}/fish/vendor_completions.d/flightctl-completion.fish bin/flightctl completion zsh > _flightctl-completion install -Dpm 0644 _flightctl-completion -t %{buildroot}/%{_datadir}/zsh/site-functions/_flightctl-completion %files /usr/bin/flightctl %{_datadir}/bash-completion/completions/flightctl-completion.bash %{_datadir}/fish/vendor_completions.d/flightctl-completion.fish %{_datadir}/zsh/site-functions/_flightctl-completion %files agent /usr/bin/flightctl-agent /usr/bin/flightctl-must-gather /usr/lib/systemd/system/flightctl-agent.service %{_sharedstatedir}/flightctl /usr/lib/greenboot/check/required.d/20_check_flightctl_agent.sh %changelog * Sat Nov 16 2024 Packit - 0.3.0-1.20241116035206463006.pr653.31.g0fa6c77 - EDM-424: expose local system timezone via status (Sam Batschelet) - EDM-694: Add Valkey key value store service (Ricardo Noriega) - EDM-694: Use primary IP and nip.io domains (Ricardo Noriega) - EDM-694: Add FlightCtl Network to slice (Ricardo Noriega) - EDM-694: Add Makefile Quadlet targets for deploy and clean (Ricardo Noriega) - EDM-694: Initial FlightCtl deployment with Quadlets (Ricardo Noriega) - NO-ISSUE: Update config storage API (Avishay Traeger) - EDM-578: Remove templateversion populate task (Avishay Traeger) - EDM-582: Freeze HTTP configurations (Avishay Traeger) - EDM-583: Freeze k8s secret configurations (Avishay Traeger) - EDM-581: Freeze git configurations (Avishay Traeger) - NO-ISSUE: Remove device's TV annotation if removed from fleet (Avishay Traeger) - EDM-580: Deploy Valkey for frozen configurations (Avishay Traeger) - EDM-578: Separate fleet validate and device render logic (Avishay Traeger) - EDM-420: Enable to run devicesimulator on multiple hosts (#650) (Gregory Shilin) - NO-ISSUE: Improve UpdateDeviceWithRetries to handle all errors (Miguel Angel Ajo) - EDM-446: device/fileio: ensure readable paths in PathExists (Sam Batschelet) - EDM-656: agent: clarify completed status (Sam Batschelet) - EDM-656: agent: ensure Shutdown is threadsafe (Sam Batschelet) - EDM-656: agent/device improve systemd status reporting (Sam Batschelet) - NO-ISSUE: console: simplify exec test case (Sam Batschelet) - EDM-673: Enable exposing APIs via Gateway (rawagner) * Mon Nov 4 2024 Miguel Angel Ajo - 0.3.0-1 - Move the Release field to -1 so we avoid auto generating packages with -5 all the time. * Wed Aug 21 2024 Sam Batschelet - 0.0.1-5 - Add must-gather script to provide a simple mechanism to collect agent debug * Wed Aug 7 2024 Sam Batschelet - 0.0.1-4 - Add basic greenboot support for failed flightctl-agent service * Wed Mar 13 2024 Ricardo Noriega - 0.0.1-3 - New specfile for both CLI and agent packages