diff --git a/_service b/_service index 3fac789..97d2e2d 100644 --- a/_service +++ b/_service @@ -1,11 +1,11 @@ - https://github.com/RustSec/cargo-audit.git + https://github.com/RustSec/rustsec.git @PARENT_TAG@~git@TAG_OFFSET@.%h git - v0.14.0 - * - v(\d+\.\d+\.\d+) + cargo-audit/v0.14.1 + cargo-audit* + .*v(\d+\.\d+\.\d+) \1 enable wbrown@suse.de @@ -17,7 +17,11 @@ xz - cargo-audit + rustsec xz + + rustsec + + diff --git a/cargo-audit-0.14.0~git0.08c9f3e.tar.xz b/cargo-audit-0.14.0~git0.08c9f3e.tar.xz deleted file mode 100644 index 31d6abd..0000000 --- a/cargo-audit-0.14.0~git0.08c9f3e.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31290bc7051cb6e374f0170d38dc84f6823de82cbc5ad62677c5cb086f97b079 -size 116032 diff --git a/cargo-audit.changes b/cargo-audit.changes index 820744d..2d7c01d 100644 --- a/cargo-audit.changes +++ b/cargo-audit.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jun 02 06:01:51 UTC 2021 - wbrown@suse.de + +- Update _service to use upstream monorepo and cargo-audit +- Update to version 0.14.1~git0.e46dce8: + * v0.14.1 (#342) + * Cargo.lock: update several dependencies (#341) + * Generate release builds with github actions (#337) + * Cargo.lock: bump various dependencies (#335) + * Bump rustsec from 0.23.2 to 0.23.3 (#333) + * v0.14.0 (#330) + * Cargo.lock: bump `rustsec` to v0.23.2 (#329) + * README.md: fix "Report Vulnerability" button (#328) + * Rename 'master' branch to 'main' + * Bump `rustsec` dependency to v0.23; MSRV 1.46+ (#327) + ------------------------------------------------------------------- Wed Mar 17 00:41:16 UTC 2021 - wbrown@suse.de diff --git a/cargo-audit.spec b/cargo-audit.spec index 39d17aa..e2e1441 100644 --- a/cargo-audit.spec +++ b/cargo-audit.spec @@ -1,5 +1,5 @@ # -# spec file for package cargo-audit-advisory-db +# spec file for package cargo-audit # # Copyright (c) 2021 SUSE LLC # @@ -15,20 +15,22 @@ # 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.14.0~git0.08c9f3e +Version: 0.14.1~git0.e46dce8 Release: 0 Summary: Audit rust sources for known security vulnerabilities License: License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR 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: %{name}-%{version}.tar.xz +URL: https://github.com/RustSec/cargo-audit +Source0: %{workspace_name}-%{version}.tar.xz Source1: vendor.tar.xz Source2: cargo_config -BuildRequires: rust-packaging +BuildRequires: cargo BuildRequires: pkgconfig(openssl) ExcludeArch: s390 s390x ppc ppc64 ppc64le %ix86 @@ -36,8 +38,8 @@ ExcludeArch: s390 s390x ppc ppc64 ppc64le %ix86 Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database. %prep -%setup -q -%setup -qa1 +%setup -q -n %{workspace_name}-%{version} +%setup -qa1 -n %{workspace_name}-%{version} mkdir -p .cargo cp %{SOURCE2} .cargo/config # Remove exec bits to prevent an issue in fedora shebang checking @@ -50,7 +52,7 @@ cargo build --offline --release %install install -D -d -m 0755 %{buildroot}%{_bindir} -install -m 0755 %{_builddir}/%{name}-%{version}/target/release/cargo-audit %{buildroot}%{_bindir}/cargo-audit +install -m 0755 %{_builddir}/%{workspace_name}-%{version}/target/release/cargo-audit %{buildroot}%{_bindir}/cargo-audit %files %{_bindir}/cargo-audit diff --git a/rustsec-0.14.1~git0.e46dce8.tar.xz b/rustsec-0.14.1~git0.e46dce8.tar.xz new file mode 100644 index 0000000..43754ce --- /dev/null +++ b/rustsec-0.14.1~git0.e46dce8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3de13ce8b059782df60931ea1567e1c9658db4da3dea10d78dccd2e414fcbe2b +size 116244 diff --git a/vendor.tar.xz b/vendor.tar.xz index cbc2a6a..bd4f8ab 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1cf49f11fc0e4e96fd2e47981946f03372f0d063347d70108c896911aa671485 -size 18115096 +oid sha256:9f7c5fe020a2fdda1647e5c4f6c57a4e60caa624c7ded61d0bffc2057a0729f0 +size 18026952