diff --git a/README.md b/README.md index e8604c6..13cd440 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -# `ingglish-hyperdope-gematria` (`v2.15.0` — `https://hyperstitionstud.io/archive/`) +# `ingglish-hyperdope-gematria` (`v2.16.0` — `https://hyperstitionstud.io/archive/`) -> **Gitea Commit & Release Telemetry (`v2.15.0` • Namespace `urn:io:hyperstitionstud`)** +> **Gitea Commit & Release Telemetry (`v2.16.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** Master Ingglish Base-36 AQ News & Thematic Dossier Archive (`72` dossiers) & Zero-Synthetic-Data Financial/Macro Telemetry (`24` instruments) → [`https://hyperstitionstud.io/archive/00-index-and-methodology.md`](https://hyperstitionstud.io/archive/00-index-and-methodology.md) -> - **Latest Commit Scope (`ingglish-hyperdope-gematria`):** Synchronized v2.15.0 release state across 7 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `HYPERDOPE-INGGLISH-CI-INTEGRATION-GUIDE.md`, `HYPERDOPE-INGGLISH-THREE-REPO-ARCHITECTURE.md`, `ONBOARDING-INGGLISH-AQ.md`, `ONBOARDING-INGGLISH-AQ.pdf`, `ingglish-aq-archive/scripts/ci_provision_ingglish.py`, `packaging/bundle/scripts/ci_provision_ingglish.py`, `packaging/bundle/skills/hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py` -> - **Live Verified Ecosystem Metrics (`v2.15.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data +> - **Latest Commit Scope (`ingglish-hyperdope-gematria`):** Synchronized v2.16.0 release state across 2 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `packaging/build-fedora41-rpm.sh`, `packaging/rpm/ingglish-isopsephic-exegesis.spec` +> - **Live Verified Ecosystem Metrics (`v2.16.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data Master **Bidirectional Base-36 Alphanumeric Qabbala (`AQ`) & CMUdict `Ingglish` Archive** (`ingglish-aq-archive/00..70-*.md`), automated news-wire and closing-bell quantitative harvesters (`collect_news_aq.py`, `collect_financial_quant_aq.py`), and Zero-Synthetic-Data market/macro time-series ledgers (`financial-aq-harvest-latest.json`, `real-macro-indicators-latest.json`, and `daily-brief-state.json`). --- -## Canonical Repository Structure (`v2.15.0`) +## Canonical Repository Structure (`v2.16.0`) | Path | Public Route / Role | | :--- | :--- | diff --git a/packaging/build-fedora41-rpm.sh b/packaging/build-fedora41-rpm.sh index dd9b906..a2c41b4 100755 --- a/packaging/build-fedora41-rpm.sh +++ b/packaging/build-fedora41-rpm.sh @@ -3,12 +3,16 @@ # Builds the turnkey Fedora 41 noarch RPM (`ingglish-isopsephic-exegesis--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 diff --git a/packaging/rpm/ingglish-isopsephic-exegesis.spec b/packaging/rpm/ingglish-isopsephic-exegesis.spec index f454e0d..046b08d 100644 --- a/packaging/rpm/ingglish-isopsephic-exegesis.spec +++ b/packaging/rpm/ingglish-isopsephic-exegesis.spec @@ -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 - 2.16.0-1 +- Fedora 41 RPM 4.20 %{_sourcedir} staging & %changelog date compliance for ingglish-isopsephic-exegesis.