Name: cockpit-cron Version: 0.1.0.38.g2839073 Release: 1.20261106170453018396.pr80.38.g2839073%{?dist} Summary: Cockit Plugin for managing cron jobs License: LGPL-2.1-or-later # distributions which ship nodejs-esbuild can rebuild the bundle during package build %if 0%{?fedora} >= 42 %define rebuild_bundle 1 %endif Source0: cockpit-cron-0.1.0.38.g2839073.tar.xz Source1: cockpit-cron-node-0.1.0.38.g2839073.tar.xz BuildArch: noarch %if ! 0%{?suse_version} ExclusiveArch: %{nodejs_arches} noarch %endif BuildRequires: make %if 0%{?suse_version} # Suse's package has a different name BuildRequires: appstream-glib %else BuildRequires: libappstream-glib %endif BuildRequires: gettext %if 0%{?rhel} && 0%{?rhel} <= 8 BuildRequires: libappstream-glib-devel %endif %if %{defined rebuild_bundle} BuildRequires: /usr/bin/node BuildRequires: nodejs-esbuild %endif Requires: cockpit-bridge Provides: bundled(npm(@patternfly/react-core)) = 6.7.0 Provides: bundled(npm(@patternfly/react-icons)) = 6.7.0 Provides: bundled(npm(@patternfly/react-styles)) = 6.7.0 Provides: bundled(npm(@patternfly/react-tokens)) = 6.7.0 Provides: bundled(npm(focus-trap)) = 7.6.6 Provides: bundled(npm(react)) = 18.3.1 Provides: bundled(npm(react-dom)) = 18.3.1 Provides: bundled(npm(scheduler)) = 0.23.2 Provides: bundled(npm(tabbable)) = 6.5.1 Provides: bundled(npm(tslib)) = 2.9.1 %description Cockit Plugin for managing cron jobs %prep %autosetup -n %{name} %if %{defined rebuild_bundle} %setup -q -D -T -a 1 -n cockpit-cron %endif %build %if %{defined rebuild_bundle} rm -rf dist # HACK: node module packaging is broken in Fedora ≤ 43; should be in # common location, not major version specific one NODE_ENV=production NODE_PATH=/usr/lib/node_modules:$(echo /usr/lib/node_modules_*) ./build.js %else # Use pre-built bundle on distributions without nodejs-esbuild %endif %install # The RPM build already rebuilt (Fedora) or ships (other distros) the bundle. %make_install PREFIX=/usr PREBUILT_BUNDLE=1 # drop source maps, they are large and just for debugging find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* # this can't be meaningfully tested during package build; tests happen through # FMF (see plans/all.fmf) during package gating %files %doc README.md %license LICENSE dist/index.js.LEGAL.txt %{_datadir}/cockpit/* %{_datadir}/metainfo/* %changelog * Fri Nov 06 2026 Packit - 0.1.0.38.g2839073-1.20261106170453018396.pr80.38.g2839073 - fix(i18n): nest manual PO workflow trigger (yashjawale) - fix(packaging): avoid rebuilding prebuilt bundle on install (yashjawale) - fix(i18n): harden translation sync workflows (yashjawale) - fix(i18n): retain PO directory in source archives (yashjawale) - fix(i18n): direct source-string reports to GitHub issues (yashjawale) - fix(i18n): add project metadata to gettext template (yashjawale) - fix(i18n): remove shebang from non-executable template check (yashjawale) - feat(i18n): prepare gettext and Weblate translation sync (yashjawale) - Makefile: Update Cockpit lib to aa7920c58b2d7be013705412991eca8f (Cockpit Project) - chore(deps): bump gettext-parser from 9.1.1 to 10.0.0 (dependabot[bot]) - ci: drop disabled Cirrus Fedora target (yashjawale) - ci: add Fedora 45 Packit targets (yashjawale) - ci: test on Fedora 45 (yashjawale) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - cockpit-ci: Update container to 2026-10-31 (Cockpit Project) - Makefile: Update Cockpit lib to 124d811c4519312a43d1ab630c2d9f6e (Cockpit Project) - chore(deps): bump argparse from 3.0.3 to 3.0.4 (dependabot[bot]) - chore(deps): bump the patternfly group across 1 directory with 5 updates (dependabot[bot]) - cockpit-ci: Update container to 2026-10-24 (Cockpit Project) - Makefile: Update Cockpit lib to fd21ab5cf661ec2442eaba80c40cb10f (Cockpit Project) - chore(deps): bump argparse from 3.0.2 to 3.0.3 (dependabot[bot]) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - cockpit-ci: Update container to 2026-10-10 (Cockpit Project)