Commit Graph

6 Commits

Author SHA1 Message Date
b6977eda02 feat(rpm): create mistralrs system user and group on install
All checks were successful
poll-upstream / check (push) Successful in 1s
Add %pre scriptlet to ensure the mistralrs user and group exist
before the package files are installed. The systemd unit runs the
service as this user.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 18:21:18 +03:00
b8e568b8bf refactor(rpm): simplify to single /usr/bin/mistralrs-server binary
All checks were successful
poll-upstream / check (push) Successful in 1s
Drop the flavour-suffixed binary name, flavour-specific systemd unit
names, and update-alternatives machinery. Install a plain
mistralrs-server binary, a single mistralrs@.service template, and
a default.conf.example. Flavour coexistence was over-engineered for
the target audience.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 17:14:21 +03:00
755f2175e5 refactor(rpm): install binary to /usr/bin instead of /opt
Install the binary as /usr/bin/mistralrs-server-<flavour> using the
standard %{_bindir} macro. The update-alternatives system manages
the /usr/bin/mistralrs-server symlink as before. Removes the
non-standard /opt/mistralrs/<flavour>/bin/ directory structure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 17:09:57 +03:00
291596cb71 fix: set changelog author and remove hardcoded entry from spec
All checks were successful
poll-upstream / check (push) Successful in 2s
Set the rpm-changelog action author to the actual maintainer instead
of the default "Gitea Actions". Remove the static changelog entry
from the spec since the action generates entries automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 13:43:36 +03:00
61cdc53e39 fix(rpm): filter auto-detected CUDA library dependencies
The binary's ELF headers cause rpm to auto-require exact soname
versions of CUDA libraries from the build host, forcing downgrades
on systems with newer compatible versions. Filter these out with
__requires_exclude so consumers can use any compatible CUDA install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 13:38:04 +03:00
3b1c6843d6 chore: init 2026-04-24 09:10:36 +03:00