[package] license-files = ["LICENSE-MIT"] extra-sources = [ { number = 1, file = "https://raw.githubusercontent.com/not-fl3/nanoserde/master/LICENSE-MIT#/nanoserde-derive-LICENSE-MIT", comments = ["License file is not bundled in the crate; tracked upstream:", "https://github.com/not-fl3/nanoserde/issues/156"] }, ] [scripts] prep.pre = ["cp %{SOURCE1} LICENSE-MIT"] install.post = ["install -m 0644 LICENSE-MIT %{buildroot}/%{crate_instdir}/"]