[package] license-files = ["LICENSE-MIT", "LICENSE-APACHE"] extra-sources = [ { number = 1, file = "quad-snd-LICENSE-MIT", comments = ["License files are not bundled in the crate; tracked upstream:", "https://github.com/not-fl3/quad-snd/issues/60"] }, { number = 2, file = "quad-snd-LICENSE-APACHE", comments = [] }, ] [scripts] prep.pre = ["cp %{SOURCE1} LICENSE-MIT", "cp %{SOURCE2} LICENSE-APACHE"] install.post = ["install -m 0644 LICENSE-MIT %{buildroot}/%{crate_instdir}/", "install -m 0644 LICENSE-APACHE %{buildroot}/%{crate_instdir}/"] [tests] run = false comments = ["tests require audio hardware or platform-specific audio APIs not available in RPM build environments"]