diff --git a/bat.spec b/bat.spec index 350f19f..8722189 100644 --- a/bat.spec +++ b/bat.spec @@ -52,7 +52,7 @@ EOF %build export CARGO_HOME=$PWD/cargo-home -cargo build --release %{?_smp_mflags} +cargo build --release --locked %{?_smp_mflags} %install export CARGO_HOME=$PWD/cargo-home @@ -62,8 +62,8 @@ cargo install --root=%{buildroot}%{_prefix} rm %{buildroot}%{_prefix}/.crates.toml %files -%defattr(-,root,root) -%doc LICENSE-MIT LICENSE-APACHE README.md +%doc README.md +%license LICENSE-MIT LICENSE-APACHE %{_bindir}/bat %changelog