Add .rpm packaging for Fedora / RHEL / openSUSE
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
- Ambito
- build-system, release
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
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]toCargo.toml, modeled on the existing[package.metadata.deb]. - Add a
cargo generate-rpm --target <triple>step to the Linux build legs incd.yml(both the x86_64 and the new aarch64 rows) and upload the.rpmas an artifact. The release job'sartifacts/*glob picks it up automatically.
Describe alternatives you've considered
- The one-line installer (
curl -fsSL https://spotatui.com/install.sh | bash) andcargo binstallalready cover these users, but neither is a native package. - Hosted Copr / OBS repos add more moving parts and external accounts; a release
.rpmis 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LargeModGames/spotatui
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
LargeModGames/spotatui#878 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
LargeModGames/spotatui#872 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
LargeModGames/spotatui#871 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
LargeModGames/spotatui#832 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
LargeModGames/spotatui#829 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di LargeModGames/spotatui
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
AimesSoft/NipaPlay-Reload#1022 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ZcashFoundation/frost-tools#612 ·
-
[Request]: skills-managerAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
ScoopInstaller/Extras#19070 ·
I maintainer di solito rispondono entro 1 giorno
-
test: sim_zero_omega_tests race on shared temp-file names, so two pairs of tests fail at randomAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100