# Build configuration flags: by default enable all packages # To disable use: --without services %bcond_without services %bcond_without observability # Disable debug information package creation %define debug_package %{nil} # Define the Go Import Path %global goipath github.com/flightctl/flightctl # SELinux specifics %global selinuxtype targeted %define selinux_policyver 3.14.3-67 Name: flightctl # Version and Release are automatically updated by Packit during build # Do not manually change these values - they will be overwritten Version: 1.0.0~main~140~g5c6d4502 Release: 1.20251022111332315315.pr1834.140.g5c6d4502%{?dist} Summary: Flight Control service %gometa License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT URL: %{gourl} Source0: flightctl-1.0.0~main~140~g5c6d4502.tar.gz BuildRequires: golang BuildRequires: make BuildRequires: git BuildRequires: openssl-devel BuildRequires: systemd-rpm-macros Requires: openssl %global flightctl_target flightctl.target # --- Restart these on upgrade --- %global flightctl_services_restart flightctl-api.service flightctl-ui.service flightctl-worker.service flightctl-alertmanager.service flightctl-alert-exporter.service flightctl-alertmanager-proxy.service flightctl-cli-artifacts.service flightctl-periodic.service flightctl-db-migrate.service flightctl-db-wait.service %description # Main package is empty and not created. # File listings # No %%files section for the main package, so it won't be built # cli sub-package %package cli Summary: Flight Control CLI %description cli flightctl is the CLI for controlling the Flight Control service. %files cli -f licenses.list %{_bindir}/flightctl %{_bindir}/flightctl-restore %license LICENSE %{_datadir}/bash-completion/completions/flightctl-completion.bash %{_datadir}/fish/vendor_completions.d/flightctl-completion.fish %{_datadir}/zsh/site-functions/_flightctl-completion # %include packaging/rpm/packages/main.spec # %include packaging/rpm/packages/cli.spec # %include packaging/rpm/packages/agent.spec # %include packaging/rpm/packages/selinux.spec # %include packaging/rpm/packages/telemetry-gateway.spec # %include packaging/rpm/packages/services.spec # %include packaging/rpm/packages/observability.spec %prep %goprep -A %setup -q %{forgesetupargs} -n flightctl-1.0.0~main~140~g5c6d4502 %build echo -n "Current directory: " pwd # %include packaging/rpm/build/build.spec %install # %include packaging/rpm/install/licences.spec # %include packaging/rpm/install/flightctl.spec # %include packaging/rpm/install/selinux.spec # %include packaging/rpm/install/services.spec # %include packaging/rpm/install/observability.spec %check %{buildroot}%{_bindir}/flightctl-agent version %changelog * Wed Oct 22 2025 Packit - 1.0.0~main~140~g5c6d4502-1.20251022111332315315.pr1834.140.g5c6d4502 - EDM-2017: Phase 1 - split RPM to make it manageable (Gregory Shilin) - EDM-2017: Phase 1 - split RPM to make it manageable (Gregory Shilin) - EDM-2017: Phase 1 - split RPM to make it manageable (Gregory Shilin) - EDM-2017: Phase 1 - split RPM to make it manageable (Gregory Shilin) - EDM-2017: Phase 1 - split RPM to make it manageable (Gregory Shilin) - EDM-2017: Phase 1 - split RPM to make it manageable (Gregory Shilin) - NO-ISSUE: Fix commit message check for backport branches (Avishay Traeger) - EDM-2322: Flightctl is using the Internal database when enabling the … (#1797) (Gregory Shilin) - EDM-2354: agent: remove klog as dependency (Sam Batschelet) - EDM-2354: device/systeminfo: improve context handling (Sam Batschelet) - EDM-2354: packaging/greenboot: bump timeout (Sam Batschelet) - EDM-2354: test/agent: use drop-in for system-info config (Sam Batschelet) - EDM-2350-v2: Fix documentation to reference correct telemetery gateway export listen port (9464) for prometheus (Ori Amizur) - NO-ISSUE: move files (JasonN3) - EDM-2350: [documenttion] Telemetry quadlets configuration is wrong in the doc (Ori Amizur) - EDM-2236: use require package for approve command tests (Gal Elharar) - EDM-2351: Update doc refs from new utilty usage, accept stdin input in py yaml utility (Dakota Crowder) - EDM-2253: Add hostname support to systeminfo and improve agent config (Gal Elharar) - EDM-2251: remove start condition for db-migrate (#1815) (Ilya) - NO-ISSUE: workflow disk cleanup config update (Ilya) - EDM-2367: Separate last seen from device (Ori Amizur) - EDM-2161: detect integration tests base (#1809) (Ilya) - EDM-2236: Add support for space-separated approve command syntax (Gal Elharar) - EDM-2341: flightctl-userinfo-proxy container doesn't support the Memory setting (Ori Amizur) - EDM-1834: Agent attempts to reconcile before reboot on OS upgrade (noga-magen) - EDM-2351: Add python utility for transforming yaml (Dakota Crowder) - EDM-2352: improve e2e beforeEach stability (sserafin) - EDM-1392: Add fallback for immediate /var/lib/flightctl creation (Gal Elharar) - EDM-2214: create migration pod just once and retry without a limit (#1794) (Ilya) - EDM-2288: remove yq dependency (Siddarth R) - EDM-1601: Prevent Invalid Memory monitor type path fields (Gal Elharar) - EDM-1601: Add unit tests for ResourceMonitor validation (Gal Elharar) - EDM-1601: Prevent duplicate monitorType and invalid CPU path fields (Gal Elharar) - EDM-1601: Add validation to prevent duplicate monitorType in fleet resources (Gal Elharar) - NO-ISSUE: dont shutdown deployments in ACM (#1793) (Ilya) - NO-ISSUE: fix broken link (#1796) (Ilya) - NO-ISSUE: Fix custom-info examples in agent-vm (Celia Amador) - NO-ISSUE: Fix git container on deploy (#1772) (Siddarth Royapally) - EDM-2214: helm add migration wait init containers to services (#1785) (Siddarth Royapally) - EDM-2286: Add correct selinux policy to custom-info directory (#1788) (kkyrazis) - EDM-2259: Fix draining workloads on shutdown (#1786) (kkyrazis) - NO-ISSUE: deploy/helm: fix doc links (Sam Batschelet) - EMD-2207: Remove Docs and duplicate licenses from RPMs (#1781) (kkyrazis) - Merge pull request #1779 from keitwb/rhel-build-note (Ben Keith) - EDM-2254: Fix directory drop in reference for db/kv (Dakota Crowder) - Add doc on how to access downstream builds (#1774) (Ben Keith) - NO-ISSUE: Various doc fixes (Frank A. Zdarsky) - EDM-2043: Create SSH known_hosts file during installation (#1775) (Siddarth Royapally) - EDM-2273: device/dependency: ensure stale images are removed on version change (Sam Batschelet) - EDM-2271: Fix TPM Activate Credential with tracing disabled (#1763) (kkyrazis) - EDM-2255: added flightctl-restore to the rpm (Asaf Ben Natan) - EDM-2272: device/application/podman: ensure pods are cleaned up on removal (Sam Batschelet) - EDM-2266: Append org id param to console requests from cli and address outdated const refs (Dakota Crowder) - EDM-1870: automation of quadlets installation in RHEL9 vm (sserafin) - NO-ISSUE: Update repo to rpm.flightctl.io (Frank A. Zdarsky) - EDM-2254: fixed quadlets docs, added restore version option (Asaf Ben Natan) - EDM-1183: Encapsulate template detection logic (Gal Elharar) - EDM-2171: Update dry run script (Siddarth R) - EDM-2043: bypass known_hosts check for skip verification (#1602) (Siddarth Royapally) - EDM-2036: CLI Update Flightctl completion (#1601) (Siddarth Royapally) - EDM-2211: docs: clarify bootc image building dep (Sam Batschelet) - EDM-2248: Replace yq dep with jq/pyyaml (Dakota Crowder) - EDM-2246: Ensure alertmanager-proxy tag is updated from :latest when installing rpm (Dakota Crowder) - NO-ISSUE: agent: remove stop and unnecessary locking (Sam Batschelet) - EDM-2088: docs: revert downgrade support (Sam Batschelet) - EDM-2232: Explicitly set device fields unset by ApplyJSONPatch (Dakota Crowder) - NO-ISSUE: fixed race condition when stop is called before start is finished on agent (Asaf Ben Natan) - NO-ISSUE: create clean snap and verify snapshot revert (Asaf Ben Natan) - EDM-2224: setting awaitingReconnect annotation on ERs based on renderedVersion parameter ( new parameter) (Asaf Ben Natan) - EDM-2169: ERs marked when restoring (Asaf Ben Natan) - EDM-1246: Add FIPS validator (Frank A. Zdarsky) - NO-ISSUE: Fix mismatch in RPM version calculation across builds (#1729) (#1730) (Assaf Albo) - NO-ISSUE: agent: clarify concurrency model (Sam Batschelet) - EDM-959: Add documentation for device observability with Telemetry Gateway and otelcol (#1695) (Assaf Albo) - EDM-552: support for cli format (Asaf Ben Natan) - EDM-2228: Installation fails when using an external database with sslmode verify-ca (#1716) (Gregory Shilin) - Bump tj-actions/changed-files from 44 to 46 in /.github/workflows (dependabot[bot]) - EDM-1183: Add comprehensive unit tests for template OCI image validation (Gal Elharar) - EDM-1183: Enhance OCI image reference validation to support template parameters (Gal Elharar) - EDM-1392: Remove test containerfiles (Gal Elharar) - EDM-1392: Fix bootc linting issue with tmpfiles.d configuration (Gal Elharar) * Wed Oct 8 2025 Ilya Skornyakov - 0.10.0 - Add pre-upgrade database migration dry-run capability * Tue Jul 15 2025 Sam Batschelet - 0.9.0-2 - Improve selinux policy deps and install * Sun Jul 6 2025 Ori Amizur - 0.9.0-1 - Add support for Flight Control standalone observability stack * Tue Apr 15 2025 Dakota Crowder - 0.6.0-4 - Add ability to create an AAP Oauth Application within flightctl-services sub-package * Fri Apr 11 2025 Dakota Crowder - 0.6.0-3 - Add versioning to container images within flightctl-services sub-package * Thu Apr 3 2025 Ori Amizur - 0.6.0-2 - Add sos report plugin support * Mon Mar 31 2025 Dakota Crowder - 0.6.0-1 - Add services sub-package for installation of containerized flightctl services * Fri Feb 7 2025 Miguel Angel Ajo - 0.4.0-1 - Add selinux support for console pty access * 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