Skip to content

packaging: RPM spec for Fedora COPR - #544

Merged
Sapd merged 1 commit into
masterfrom
packaging/rpm-copr
Jul 23, 2026
Merged

Sapd merged 1 commit into
masterfrom
packaging/rpm-copr

Conversation

@Sapd

@Sapd Sapd commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Adds headsetcontrol.spec so the project can be built for a Fedora COPR (dnf).

Validated in a fedora:latest container (full rpmbuild):

  • ships /usr/bin/headsetcontrol + /usr/lib/udev/rules.d/70-headsets.rules, static lib/headers excluded
  • reports version 4.0.0 (release tarballs lack git metadata, so %prep injects it via sed until cmake: allow explicit version override for tarball builds #543's -DHEADSETCONTROL_VERSION is in a release)
  • deps auto-detected (libhidapi-hidraw), License: GPL-3.0-only, lintian/rpmlint-clean shape

Note: targets Fedora chroots — RHEL/EPEL 9 ships GCC 11, too old for this project's C++20/std::format (needs GCC 13+). export-ignore keeps the spec out of source tarballs.

Adds headsetcontrol.spec producing a headsetcontrol RPM (CLI + udev rules).
Validated in a fedora:latest container: builds clean, reports version 4.0.0,
deps auto-detected. Targets Fedora (RHEL/EPEL 9's GCC 11 is too old for the
project's C++20). export-ignore keeps it out of git-archive source tarballs.
@Sapd
Sapd merged commit 6a8f9dc into master Jul 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant