From 01017a709be1b64baec34e6213d125fc7f42e0eb0269f187e7470165efd57f94 Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Mon, 11 Mar 2019 20:01:05 +0000 Subject: [PATCH] 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 --- bat.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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