Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add .rpm packaging for Fedora / RHEL / openSUSE

Aperta
#416 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
github-actions, rust

Direzione di ricerca

Start by comparing the existing [package.metadata.deb] in Cargo.toml with the Linux build legs in cd.yml. Build and install a test RPM in a Fedora container first, checking that dependencies resolve and the binary runs; tune dependency metadata if needed. Done means both x86_64 and aarch64 release builds upload RPM artifacts that the existing release glob picks up.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Is your feature request related to a problem? Please describe.

RPM-based distros (Fedora, RHEL, openSUSE) have no native package. cd.yml already builds a .deb for Debian/Ubuntu, but RPM users can only use the tarball, the one-line installer, or cargo install; there is no dnf/zypper metadata, no clean upgrades, and no clean removal.

Describe the solution you'd like

Mirror the existing .deb flow with cargo-generate-rpm:

  • Add [package.metadata.generate-rpm] to Cargo.toml, modeled on the existing [package.metadata.deb].
  • Add a cargo generate-rpm --target <triple> step to the Linux build legs in cd.yml (both the x86_64 and the new aarch64 rows) and upload the .rpm as an artifact. The release job's artifacts/* glob picks it up automatically.

Describe alternatives you've considered

  • The one-line installer (curl -fsSL https://spotatui.com/install.sh | bash) and cargo binstall already cover these users, but neither is a native package.
  • Hosted Copr / OBS repos add more moving parts and external accounts; a release .rpm is the lower-maintenance first step.

Additional context

Deferred out of the install-methods PR because it needs its own validation. cargo-generate-rpm's auto-generated Requires: for a binary linking openssl/pipewire/alsa is frequently wrong, so the .rpm should be dnf install-tested in a Fedora container (deps resolve, binary runs) before wiring it into cd.yml, the same test-first approach used for the aarch64-linux build. This may need auto-req tuning or an explicit requires list.

Lingua principale
Rust
Stelle
1.4k
Fork
238
Merge medio
8h 56m
PR unite (30g)
208

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LargeModGames/spotatui

Tutte le issue di LargeModGames/spotatui

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.