Name: cockpit-cron Version: 0.0.2pre.31.g4a48ae2 Release: 1.20261011120031212837.pr58.31.g4a48ae2%{?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.0.2pre.31.g4a48ae2.tar.xz Source1: cockpit-cron-node-0.0.2pre.31.g4a48ae2.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.6.1 Provides: bundled(npm(@patternfly/react-icons)) = 6.6.1 Provides: bundled(npm(@patternfly/react-styles)) = 6.6.1 Provides: bundled(npm(@patternfly/react-tokens)) = 6.6.1 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.0 Provides: bundled(npm(tslib)) = 2.8.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 %make_install PREFIX=/usr # 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 * Sun Oct 11 2026 Packit - 0.0.2pre.31.g4a48ae2-1.20261011120031212837.pr58.31.g4a48ae2 - chore(deps-dev): bump stylelint (dependabot[bot]) - Makefile: Update Cockpit lib to acde760e23ad82b7d84b25e847586e1e (Cockpit Project) - chore(deps-dev): bump qunit from 2.26.0 to 3.0.0 (dependabot[bot]) - cockpit-ci: Update container to 2026-09-19 (Cockpit Project) - Makefile: Update Cockpit lib to 78afe1d587afb6b380e1b8999a0955ad (Cockpit Project) - chore(deps): bump argparse from 3.0.1 to 3.0.2 (dependabot[bot]) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - cockpit-ci: Update container to 2026-09-12 (Cockpit Project) - Makefile: Update Cockpit lib to 1c5c77efa9645309462f4399db6fab4f (Cockpit Project) - chore(deps-dev): bump stylelint in the stylelint group (dependabot[bot]) - chore(deps): bump argparse from 3.0.0 to 3.0.1 (dependabot[bot]) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - docs: update README with screenshot (yashjawale) - Makefile: Update Cockpit lib to eceba97aae742fc4c7de86d6da6f8fdf (Cockpit Project) - cockpit-ci: Update container to 2026-08-22 (Cockpit Project) - Makefile: Update Cockpit lib to dc336f08357f570f17012a1e15bf36a7 (Cockpit Project)