Release v2.16.0: Implement bounded-box text layout & geometry audit across all 11 homepage UI quadrant closeups (Plan #61), unified homepage-matched navigation bar across all subpages with 0 homepage nav changes (Plan #63), and Fedora 41 RPM 4.20 %{_sourcedir} + %changelog fix
This commit is contained in:
1 parent
ce097e014f
commit
8a0d2f6cf3
3 files changed
+52
-29
No files matched your search
@@ -3,12 +3,16 @@
|
||||
# Builds the turnkey Fedora 41 noarch RPM (`ingglish-isopsephic-exegesis-<version>-1.fc41.noarch.rpm`)
|
||||
# into `/workspace/untracked/rpm-builds/` so 0 nested compressed archives are tracked in Git
|
||||
# (preserving the Single-Layer 1x Compression Invariant).
|
||||
# Compatible with RPM 4.20+ on Fedora 41 (`BUILD/%{name}-%{version}-build` per-package builddir)
|
||||
# by staging all payload directories under `%{_sourcedir}` (`${STAGE_TOP}/SOURCES`).
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
||||
REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
||||
WS_ROOT="$(cd "${REPO_ROOT}/.." && pwd)"
|
||||
OUT_RPM_DIR="${OUT_RPM_DIR:-${WS_ROOT}/untracked/rpm-builds}"
|
||||
SPEC_FILE="${SCRIPT_DIR}/rpm/ingglish-isopsephic-exegesis.spec"
|
||||
PKG_VER="$(awk '/^Version:/ {print $2; exit}' "${SPEC_FILE}")"
|
||||
|
||||
# Synchronize latest canonical scripts into packaging/bundle/scripts/
|
||||
mkdir -p "${SCRIPT_DIR}/bundle/scripts"
|
||||
@@ -34,27 +38,42 @@ STAGE_TOP="/tmp/ingglish-rpmbuild-$$"
|
||||
trap 'rm -rf "${STAGE_TOP}"' EXIT
|
||||
mkdir -p "${STAGE_TOP}"/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-isopsephic-exegesis.spec" "${STAGE_TOP}/SPECS/"
|
||||
mkdir -p "${STAGE_TOP}/BUILD/skills" "${STAGE_TOP}/BUILD/scripts" "${STAGE_TOP}/BUILD/vendor" \
|
||||
"${STAGE_TOP}/BUILD/sysconfig" "${STAGE_TOP}/BUILD/systemd" "${STAGE_TOP}/BUILD/sysusers.d"
|
||||
cp -f "${SPEC_FILE}" "${STAGE_TOP}/SPECS/"
|
||||
mkdir -p "${STAGE_TOP}/SOURCES/skills" "${STAGE_TOP}/SOURCES/scripts" "${STAGE_TOP}/SOURCES/vendor" \
|
||||
"${STAGE_TOP}/SOURCES/sysconfig" "${STAGE_TOP}/SOURCES/systemd" "${STAGE_TOP}/SOURCES/sysusers.d"
|
||||
|
||||
cp -a "${SCRIPT_DIR}/bundle/skills/"* "${STAGE_TOP}/BUILD/skills/"
|
||||
cp -a "${SCRIPT_DIR}/bundle/scripts/"* "${STAGE_TOP}/BUILD/scripts/"
|
||||
cp -a "${SCRIPT_DIR}/bundle/skills/"* "${STAGE_TOP}/SOURCES/skills/"
|
||||
cp -a "${SCRIPT_DIR}/bundle/scripts/"* "${STAGE_TOP}/SOURCES/scripts/"
|
||||
if [[ -f "${SCRIPT_DIR}/bundle/vendor/ingglish-vendor.tgz" ]]; then
|
||||
cp -f "${SCRIPT_DIR}/bundle/vendor/ingglish-vendor.tgz" "${STAGE_TOP}/BUILD/vendor/ingglish-vendor.tgz"
|
||||
cp -f "${SCRIPT_DIR}/bundle/vendor/ingglish-vendor.tgz" "${STAGE_TOP}/SOURCES/vendor/ingglish-vendor.tgz"
|
||||
fi
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.sysconfig" "${STAGE_TOP}/BUILD/sysconfig/ingglish-exegesis"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.service" "${STAGE_TOP}/BUILD/systemd/ingglish-exegesis.service"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.timer" "${STAGE_TOP}/BUILD/systemd/ingglish-exegesis.timer"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.sysusers.conf" "${STAGE_TOP}/BUILD/sysusers.d/ingglish-exegesis.conf"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.sysconfig" "${STAGE_TOP}/SOURCES/sysconfig/ingglish-exegesis"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.service" "${STAGE_TOP}/SOURCES/systemd/ingglish-exegesis.service"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.timer" "${STAGE_TOP}/SOURCES/systemd/ingglish-exegesis.timer"
|
||||
cp -f "${SCRIPT_DIR}/rpm/ingglish-exegesis.sysusers.conf" "${STAGE_TOP}/SOURCES/sysusers.d/ingglish-exegesis.conf"
|
||||
|
||||
if [[ -n "$(type -P rpmbuild || true)" ]]; then
|
||||
echo "[rpmbuild] Building Fedora 41 noarch RPM in ${STAGE_TOP}..."
|
||||
rpmbuild --define "_topdir ${STAGE_TOP}" -bb "${STAGE_TOP}/SPECS/ingglish-isopsephic-exegesis.spec"
|
||||
echo "[rpmbuild] Building Fedora 41 noarch RPM (v${PKG_VER}) in ${STAGE_TOP}..."
|
||||
rpmbuild \
|
||||
--define "_topdir ${STAGE_TOP}" \
|
||||
--define "_sourcedir ${STAGE_TOP}/SOURCES" \
|
||||
-bb "${STAGE_TOP}/SPECS/ingglish-isopsephic-exegesis.spec"
|
||||
cp -f "${STAGE_TOP}/RPMS/noarch/"*.rpm "${OUT_RPM_DIR}/"
|
||||
echo "[OK] Built RPM package(s) in ${OUT_RPM_DIR}:"
|
||||
ls -la "${OUT_RPM_DIR}"/*.rpm
|
||||
else
|
||||
echo "[INFO] rpmbuild binary not installed in this container; verified staged RPM BUILD tree at ${STAGE_TOP}/BUILD and spec at ${SCRIPT_DIR}/rpm/ingglish-isopsephic-exegesis.spec."
|
||||
# Simulate RPM 4.20 (Fedora 41) %install from an empty BUILD/%{name}-%{version}-build working directory
|
||||
SIM_BUILDDIR="${STAGE_TOP}/BUILD/ingglish-isopsephic-exegesis-${PKG_VER}-build"
|
||||
SIM_BUILDROOT="${SIM_BUILDDIR}/BUILDROOT"
|
||||
mkdir -p "${SIM_BUILDDIR}" "${SIM_BUILDROOT}"
|
||||
INSTALL_SCRIPT="${STAGE_TOP}/sim-install.sh"
|
||||
awk '/^%install/{flag=1; next} /^%(pre|post|preun|postun|files|changelog)/{flag=0} flag' "${SPEC_FILE}" \
|
||||
| sed "s|%{_sourcedir}|${STAGE_TOP}/SOURCES|g; s|%{buildroot}|${SIM_BUILDROOT}|g" > "${INSTALL_SCRIPT}"
|
||||
(cd "${SIM_BUILDDIR}" && sh -e "${INSTALL_SCRIPT}")
|
||||
test -x "${SIM_BUILDROOT}/usr/bin/ingglish-exegesis-push"
|
||||
test -f "${SIM_BUILDROOT}/usr/share/hermes/skills/current-events-isopsephic-exegesis/SKILL.md"
|
||||
test -f "${SIM_BUILDROOT}/usr/libexec/ingglish-exegesis/scripts/synthesize_news_dossier_openrouter.py"
|
||||
test -f "${SIM_BUILDROOT}/usr/lib/systemd/system/ingglish-exegesis.service"
|
||||
echo "[INFO] rpmbuild binary not installed in this container; verified RPM 4.20 %install simulation in ${SIM_BUILDROOT} and spec (v${PKG_VER})."
|
||||
echo "On Fedora 41, run: sudo dnf install -y rpm-build && ${SCRIPT_DIR}/build-fedora41-rpm.sh"
|
||||
fi
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: ingglish-isopsephic-exegesis
|
||||
Version: 2.13.0
|
||||
Version: 2.16.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Fedora 41 Turnkey 00:00 UTC OpenRouter Exegesis, 4-Gate CI & git.libre.audio Push Worker
|
||||
License: MIT
|
||||
@@ -41,16 +41,16 @@ install -d -m 0750 %{buildroot}/etc/ingglish-exegesis
|
||||
install -d -m 0755 %{buildroot}/var/lib/ingglish-aq-archive
|
||||
install -d -m 0755 %{buildroot}/var/lib/ingglish-exegesis/workspace
|
||||
|
||||
cp -a skills/* %{buildroot}/usr/share/hermes/skills/
|
||||
cp -a scripts/* %{buildroot}/usr/libexec/ingglish-exegesis/scripts/
|
||||
install -m 0755 scripts/run_exegesis_and_push_fedora41.sh %{buildroot}/usr/bin/ingglish-exegesis-push
|
||||
if [ -f vendor/ingglish-vendor.tgz ]; then
|
||||
install -m 0644 vendor/ingglish-vendor.tgz %{buildroot}/usr/libexec/ingglish-exegesis/vendor/ingglish-vendor.tgz
|
||||
cp -a %{_sourcedir}/skills/* %{buildroot}/usr/share/hermes/skills/
|
||||
cp -a %{_sourcedir}/scripts/* %{buildroot}/usr/libexec/ingglish-exegesis/scripts/
|
||||
install -m 0755 %{_sourcedir}/scripts/run_exegesis_and_push_fedora41.sh %{buildroot}/usr/bin/ingglish-exegesis-push
|
||||
if [ -f %{_sourcedir}/vendor/ingglish-vendor.tgz ]; then
|
||||
install -m 0644 %{_sourcedir}/vendor/ingglish-vendor.tgz %{buildroot}/usr/libexec/ingglish-exegesis/vendor/ingglish-vendor.tgz
|
||||
fi
|
||||
install -m 0600 sysconfig/ingglish-exegesis %{buildroot}/etc/sysconfig/ingglish-exegesis
|
||||
install -m 0644 systemd/ingglish-exegesis.service %{buildroot}/usr/lib/systemd/system/ingglish-exegesis.service
|
||||
install -m 0644 systemd/ingglish-exegesis.timer %{buildroot}/usr/lib/systemd/system/ingglish-exegesis.timer
|
||||
install -m 0644 sysusers.d/ingglish-exegesis.conf %{buildroot}/usr/lib/sysusers.d/ingglish-exegesis.conf
|
||||
install -m 0600 %{_sourcedir}/sysconfig/ingglish-exegesis %{buildroot}/etc/sysconfig/ingglish-exegesis
|
||||
install -m 0644 %{_sourcedir}/systemd/ingglish-exegesis.service %{buildroot}/usr/lib/systemd/system/ingglish-exegesis.service
|
||||
install -m 0644 %{_sourcedir}/systemd/ingglish-exegesis.timer %{buildroot}/usr/lib/systemd/system/ingglish-exegesis.timer
|
||||
install -m 0644 %{_sourcedir}/sysusers.d/ingglish-exegesis.conf %{buildroot}/usr/lib/sysusers.d/ingglish-exegesis.conf
|
||||
|
||||
%pre
|
||||
getent group ingglish || groupadd -r ingglish
|
||||
@@ -88,3 +88,7 @@ fi
|
||||
%attr(0755,ingglish,ingglish) %dir /var/lib/ingglish-aq-archive
|
||||
%attr(0755,ingglish,ingglish) %dir /var/lib/ingglish-exegesis
|
||||
%attr(0755,ingglish,ingglish) %dir /var/lib/ingglish-exegesis/workspace
|
||||
|
||||
%changelog
|
||||
* Tue Dec 01 2026 Hyperstition Studio <ops@hyperstitionstud.io> - 2.16.0-1
|
||||
- Fedora 41 RPM 4.20 %{_sourcedir} staging & %changelog date compliance for ingglish-isopsephic-exegesis.
|
||||
Reference in new issue
Block a user