File cargo-crev-audit.spec of Package cargo-crev
#
# spec file for package cargo-crev-audit
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: cargo-crev-audit
Version: 0.0.1
Release: 0
Summary: Test result of cargo-audit for this source package
License: Apache-2.0
URL: https://crates.io/crates/cargo-crev
Source: cargo_config
BuildArch: noarch
BuildRequires: cargo-audit
BuildRequires: cargo-audit-advisory-db
%description
Test result of cargo-audit for this source package
%prep
tar --strip-components=1 -xJf %{_sourcedir}/cargo-crev-*.tar.xz
mkdir .cargo
cp %{SOURCE0} .cargo/config
%build
cargo-audit audit -d /usr/share/cargo-audit-advisory-db/ --color=never --no-fetch --stale |tee cargo-crev.audit.txt
%install
%files
%doc cargo-crev.audit.txt
%changelog