public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/anaconda-webui] rawhide: Update to 89 upstream release
Date: Tue, 13 Oct 2026 13:40:18 GMT [thread overview]
Message-ID: <179189881804.1.3134357823177947845.rpms-anaconda-webui-2311c99ee03d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/anaconda-webui
Branch : rawhide
Commit : 2311c99ee03d821a534d674631efc22de0b3156b
Author : Packit <hello@packit.dev>
Date : 2026-10-13T12:51:08+02:00
Stats : +39/-13 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/anaconda-webui/c/2311c99ee03d821a534d674631efc22de0b3156b?branch=rawhide
Log:
Update to 89 upstream release
Upstream tag: 89
Upstream commit: b497d7b6
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index adef467..8c05060 100644
--- a/.gitignore
+++ b/.gitignore
@@ -85,3 +85,5 @@
/anaconda-webui-86.tar.xz
/anaconda-webui-87.tar.xz
/anaconda-webui-88.tar.xz
+/anaconda-webui-89.tar.xz
+/anaconda-webui-node-89.tar.xz
diff --git a/anaconda-webui.spec b/anaconda-webui.spec
index 77ea6c8..99a17e3 100644
--- a/anaconda-webui.spec
+++ b/anaconda-webui.spec
@@ -1,11 +1,19 @@
Name: anaconda-webui
-Version: 88
+Version: 89
Release: 1%{?dist}
Summary: Anaconda installer Web interface
License: LGPL-2.1-or-later AND MIT
URL: https://github.com/rhinstaller/%{name}
+# distributions which ship nodejs-esbuild can rebuild the bundle during package build
+%if 0%{?fedora} >= 42
+%define rebuild_bundle 1
+%endif
+
Source0: https://github.com/rhinstaller/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
+%if %{defined rebuild_bundle}
+Source1: https://github.com/rhinstaller/%{name}/releases/download/%{version}/%{name}-node-%{version}.tar.xz
+%endif
BuildArch: noarch
BuildRequires: libappstream-glib
BuildRequires: make
@@ -13,6 +21,11 @@ BuildRequires: gettext
# Needed for the unitdir macro
BuildRequires: systemd-rpm-macros
+%if %{defined rebuild_bundle}
+BuildRequires: /usr/bin/node
+BuildRequires: nodejs-esbuild
+%endif
+
%global anacondacorever 0
%if 0%{?fedora} > 41
@@ -42,27 +55,21 @@ Requires: system-logos
%endif
BuildRequires: desktop-file-utils
-Provides: bundled(npm(@patternfly/patternfly)) = 6.6.1
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-table)) = 6.6.1
Provides: bundled(npm(@patternfly/react-tokens)) = 6.6.1
Provides: bundled(npm(attr-accept)) = 2.2.5
-Provides: bundled(npm(dequal)) = 2.0.3
Provides: bundled(npm(error-stack-parser)) = 2.1.4
Provides: bundled(npm(file-selector)) = 2.1.2
Provides: bundled(npm(focus-trap)) = 7.6.6
-Provides: bundled(npm(js-tokens)) = 4.0.0
Provides: bundled(npm(lodash)) = 4.18.1
-Provides: bundled(npm(loose-envify)) = 1.4.0
Provides: bundled(npm(luxon)) = 3.7.2
-Provides: bundled(npm(object-assign)) = 4.1.1
Provides: bundled(npm(prop-types)) = 15.8.1
+Provides: bundled(npm(react)) = 18.3.1
Provides: bundled(npm(react-dom)) = 18.3.1
Provides: bundled(npm(react-dropzone)) = 14.4.1
-Provides: bundled(npm(react-is)) = 16.13.1
-Provides: bundled(npm(react)) = 18.3.1
Provides: bundled(npm(scheduler)) = 0.23.2
Provides: bundled(npm(source-map)) = 0.5.6
Provides: bundled(npm(stack-generator)) = 2.0.10
@@ -78,9 +85,17 @@ Anaconda installer Web interface
%prep
%setup -q -n %{name}
+%if %{defined rebuild_bundle}
+%setup -q -D -T -a 1 -n %{name}
+%endif
%build
-# Nothing to build
+%if %{defined rebuild_bundle}
+rm -rf dist
+NODE_ENV=production NODE_PATH=/usr/lib/node_modules ./build.js
+%else
+# Use pre-built bundle on distributions without nodejs-esbuild
+%endif
%install
%make_install PREFIX=/usr
@@ -147,6 +162,9 @@ exit 0
# The changelog is automatically generated and merged
%changelog
+* Mon Oct 12 2026 Packit <hello@packit.dev> - 89-1
+- packaging: Rebuild our bundle during Fedora package build
+
* Tue Oct 06 2026 Packit <hello@packit.dev> - 88-1
- storage: match btrfs subvolumes by type and parent volume (Resolves: rhbz#254485)
diff --git a/packit.yaml b/packit.yaml
index d4c7839..8178712 100644
--- a/packit.yaml
+++ b/packit.yaml
@@ -8,12 +8,17 @@ downstream_package_name: anaconda-webui
copy_upstream_release_description: true
srpm_build_deps:
-- npm
+- jq
+- nodejs
- make
actions:
- post-upstream-clone: make anaconda-webui.spec
- create-archive: make dist
+ post-upstream-clone:
+ - make node-cache dist
+
+ fix-spec-file:
+ # our locally built tarballs are not on the upstream releases page, point to the local files
+ sed -i 's|^\(Source[0-9]*:\s*\).*\/|\1|' anaconda-webui.spec
jobs:
- job: tests
diff --git a/sources b/sources
index 219ff62..afa8c1f 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (anaconda-webui-88.tar.xz) = 12e947f6de2c9712af592ffe6af56952ae9827f64142dd9a4958affadafa122fb77dd89b7fb162336053c1be4f6498a06c220304df8ef2092696efe9c542b36e
+SHA512 (anaconda-webui-89.tar.xz) = 142ae415d4b21ad296340731dbd99da5c8ea668e8e64872c40d2cb9a3b64f423811e749fa6c317bc41d82c74a6386db38cb4ec9f03741b3909bdafdaeaf95e4e
+SHA512 (anaconda-webui-node-89.tar.xz) = 325d9c692e4b8190f9dc47d30d44e62609499d673edceae8e0fe74c4cde8b82d558db93f4e2821dd43e6c27ff4131edd783a3804aeb7055b872e6d5755533e60
reply other threads:[~2026-10-13 13:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179189881804.1.3134357823177947845.rpms-anaconda-webui-2311c99ee03d@fedoraproject.org \
--to=hello@packit.dev \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox