- nfpm.yaml: type:config → config_noreplace (RPM noreplace semantics) - nfpm.yaml: type:ghost → type:dir for /var/lib/fenris (deb compatibility) - postinst.sh/rpm/post.sh: fix timer restart — capture running unit before daemon-reload so the diff actually detects changes - README: fix Python floor to ≥3.10 (was ≥3.9, inconsistent with Makefile) - signing-key-ceremony.md: fix stale claim about nfpm signing RPMs (actual path is post-build rpmsign) - tests/conftest.py: extract shared _get_version() and _read() helpers - tests: wire up to shared conftest helpers - release.yml: extract VERSION once via GITHUB_OUTPUT step Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
name: fenris
|
|
arch: amd64
|
|
platform: linux
|
|
version: "${VERSION}"
|
|
maintainer: Fenris Maintainers <ops@bongbetic.com>
|
|
description: >
|
|
NVMe wear monitor with persistent TUI — observes real-world drive use and
|
|
translates it into an understandable endurance outlook.
|
|
homepage: https://git.bongbetic.com/xavierk/Fenris
|
|
license: Proprietary
|
|
|
|
depends:
|
|
- python3 (>= 3.10)
|
|
- smartmontools
|
|
- systemd
|
|
|
|
contents:
|
|
# Staged tree: venv, wrapper, helpers, units, polkit, sysusers, tmpfiles
|
|
- src: build/stage/
|
|
dst: /
|
|
type: tree
|
|
|
|
# Configuration directory
|
|
- dst: /etc/fenris
|
|
type: dir
|
|
file_info:
|
|
mode: 0755
|
|
|
|
# Default placeholder-commented config (deb conffile / rpm %config(noreplace))
|
|
- src: packaging/fenris.conf
|
|
dst: /etc/fenris/fenris.conf
|
|
type: config_noreplace
|
|
file_info:
|
|
mode: 0644
|
|
|
|
# Observation store directory — owned by package, never packed.
|
|
# Store files (observations.db, WAL sidecars, .bak) are never owned.
|
|
- dst: /var/lib/fenris
|
|
type: dir
|
|
file_info:
|
|
mode: 2750
|
|
group: fenris
|
|
|
|
scripts:
|
|
preinstall: packaging/preinst.sh
|
|
postinstall: packaging/postinst.sh
|
|
preremove: packaging/prerm.sh
|
|
postremove: packaging/postrm.sh
|
|
|
|
overrides:
|
|
rpm:
|
|
depends:
|
|
- python3 >= 3.10
|
|
- smartmontools
|
|
- systemd
|
|
scripts:
|
|
preinstall: packaging/preinst.sh
|
|
postinstall: packaging/rpm/post.sh
|
|
preremove: packaging/rpm/preun.sh
|
|
postremove: packaging/rpm/postun.sh
|