Accepting request 684109 from home:dmarcoux
- Prevent cargo from updating dependencies with `--locked` - Remove unneeded macro (%defattr) - List licenses with the right macro (%license) OBS-URL: https://build.opensuse.org/request/show/684109 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=7
This commit is contained in:
parent
d63e9f5c4b
commit
01017a709b
6
bat.spec
6
bat.spec
@ -52,7 +52,7 @@ EOF
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CARGO_HOME=$PWD/cargo-home
|
export CARGO_HOME=$PWD/cargo-home
|
||||||
cargo build --release %{?_smp_mflags}
|
cargo build --release --locked %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export CARGO_HOME=$PWD/cargo-home
|
export CARGO_HOME=$PWD/cargo-home
|
||||||
@ -62,8 +62,8 @@ cargo install --root=%{buildroot}%{_prefix}
|
|||||||
rm %{buildroot}%{_prefix}/.crates.toml
|
rm %{buildroot}%{_prefix}/.crates.toml
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%doc README.md
|
||||||
%doc LICENSE-MIT LICENSE-APACHE README.md
|
%license LICENSE-MIT LICENSE-APACHE
|
||||||
%{_bindir}/bat
|
%{_bindir}/bat
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user