Commit 917bc16
fix(ci): override tsflags=nodocs so man page check passes on fedora:latest
The fedora:latest container ships with `tsflags=nodocs` set in
/etc/dnf/dnf.conf to keep the image minimal. That flag tells rpm to
strip files marked as documentation — including man pages — at
install time. So even though pamsignal's .rpm correctly includes
/usr/share/man/man8/pamsignal.8.gz (verified in the build job's
"Inspect package" step), the file never lands on disk inside the
container, and the next step's `ls /usr/share/man/man8/pamsignal.8*`
fails with ENOENT.
EL9's almalinux:9 container doesn't set this flag, which is why the
el9 target passed the same check.
Real Fedora desktops/servers don't ship with tsflags=nodocs; users
who set it explicitly are opting out of man pages. So the fix
matches what an actual user would see: pass --setopt=tsflags= on the
dnf install to clear the container default.
This was the fourth bug in the v0.3.0 release-packages workflow run,
all traceable to the v0.3.0 packaging refactor. Commits 1286a38
fixed the empty-deb and el9 spec-parse bugs (real packaging bugs);
5bd2366 and this commit fixed two CI assertion bugs that didn't
affect the artifact, only the test gate that decides whether to
publish to the apt/dnf repos.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5bd2366 commit 917bc16
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
646 | 653 | | |
647 | 654 | | |
648 | 655 | | |
| |||
0 commit comments