[package] license-files = ["LICENSE-APACHE"] extra-sources = [ { number = 1, file = "https://raw.githubusercontent.com/rust-windowing/gl-rs/master/LICENSE#/gl-LICENSE-APACHE", comments = ["License file is not bundled in the crate; tracked upstream:", "https://github.com/rust-windowing/gl-rs/issues/564"] }, ] [scripts] prep.pre = ["cp %{SOURCE1} LICENSE-APACHE"] install.post = ["install -m 0644 LICENSE-APACHE %{buildroot}/%{crate_instdir}/"] [tests] run = false comments = ["tests require the glutin dev-dependency which is not packaged for Fedora"]