1
0

Accepting request 1165381 from home:firstyear:branches:devel:languages:rust

- Remove cargo_config that is now part of vendor.tar

OBS-URL: https://build.opensuse.org/request/show/1165381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/cargo-packaging?expand=0&rev=27
This commit is contained in:
William Brown 2024-04-05 00:54:09 +00:00 committed by Git OBS Bridge
parent 329c781aa7
commit aa45f8a30c
3 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 5 00:50:37 UTC 2024 - William Brown <william.brown@suse.com>
- Remove cargo_config that is now part of vendor.tar
-------------------------------------------------------------------
Thu Apr 04 00:31:58 UTC 2024 - william.brown@suse.com

View File

@ -25,7 +25,6 @@ Group: Development/Languages/Rust
URL: https://github.com/Firstyear/cargo-packaging
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
Requires: cargo
Requires: cargo-auditable
Requires: zstd
@ -40,8 +39,6 @@ that follows upstream rust's best practices.
%prep
%autosetup -a1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
cargo build --offline --release

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"