forked from pool/cargo-audit
f5060dfe1f
- Update to version 0.19.0~git0.c9d1fbe: * Bump version to 0.19.0 * Update changelog to 0.19 * Fill in link URLs * Bump version * populate changelog * bump version * Update changelog * Bump gix to 0.58 * Revert "Merge pull request #1094 from rustsec/revert-1081-gix-upgrade" * build(deps): bump comrak from 0.18.0 to 0.21.0 (#1090) * build(deps): bump rust-embed from 6.8.1 to 8.2.0 (#1080) * Cargo.toml: use `resolver = "2"` (#1095) * Update abscissa_core and clap; MSRV 1.70 (#1092) * Revert "gix upgrade to v0.56" * Fix "error: the borrowed expression implements the required traits" lint * build(deps): bump actions/cache from 3.0.11 to 4.0.0 (#1088) * thanks clippy * upgrade `gix` to v0.56 and `tame-index` to v0.9 to match it * Bump platforms version to 3.3.0 * Regenerate platforms crate * build(deps): bump url from 2.4.1 to 2.5.0 (#1071) * Add a `source` field to `rustsec::Error`, and use it in simple cases. (#1067) * build(deps): bump fs-err from 2.10.0 to 2.11.0 (#1069) * Bump rustsec version * Update changelog * Turn link into an automatic link * Display the chain of sources for errors in `cargo audit` * bump cargo-lock msrv in another place too * bump cargo-lock msrv again from 1.66 to 1.67 OBS-URL: https://build.opensuse.org/request/show/1144760 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/cargo-audit?expand=0&rev=35
58 lines
2.0 KiB
RPMSpec
58 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package cargo-audit
|
|
#
|
|
# Copyright (c) 2024 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/
|
|
#
|
|
|
|
|
|
%global rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2
|
|
%global workspace_name rustsec
|
|
|
|
Name: cargo-audit
|
|
Version: 0.19.0~git0.c9d1fbe
|
|
Release: 0
|
|
Summary: Audit rust sources for known security vulnerabilities
|
|
License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND MIT AND MPL-2.0 AND MPL-2.0+
|
|
Group: Development/Languages/Rust
|
|
URL: https://github.com/RustSec/cargo-audit
|
|
Source0: %{workspace_name}-%{version}.tar.zst
|
|
Source1: vendor.tar.zst
|
|
Source2: cargo_config
|
|
|
|
BuildRequires: cargo-packaging
|
|
BuildRequires: pkgconfig(openssl)
|
|
ExclusiveArch: %{rust_tier1_arches}
|
|
|
|
%description
|
|
Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database.
|
|
|
|
%prep
|
|
%setup -q -n %{workspace_name}-%{version}
|
|
%setup -qa1 -n %{workspace_name}-%{version}
|
|
mkdir -p .cargo
|
|
cp %{SOURCE2} .cargo/config
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
install -D -d -m 0755 %{buildroot}%{_bindir}
|
|
|
|
install -m 0755 %{_builddir}/%{workspace_name}-%{version}/target/release/cargo-audit %{buildroot}%{_bindir}/cargo-audit
|
|
|
|
%files
|
|
%{_bindir}/cargo-audit
|
|
|
|
%changelog
|