Sync from SUSE:SLFO:Main cargo-packaging revision 7c32cb786e3cf14bc322de3f13d738cd

This commit is contained in:
Adrian Schröter 2024-11-28 17:40:42 +01:00
parent 93fc9923f7
commit 10013c2351
7 changed files with 37 additions and 17 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/Firstyear/cargo-packaging.git</param>
<param name="changesrevision">423b9973eabe8c34ba161144d04312439a006b80</param></service></servicedata>
<param name="changesrevision">158d4099bf111d05bd8a0967ce4976570b6716da</param></service></servicedata>

BIN
cargo-packaging-1.2.0+3.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
cargo-packaging-1.2.0+5.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Fri Jul 19 03:18:37 UTC 2024 - William Brown <william.brown@suse.com>
- Resolve build failure when backported to 15-SP3
-------------------------------------------------------------------
Fri Jul 19 02:01:33 UTC 2024 - William Brown <william.brown@suse.com>
- Depend on provides of rust to allow older compiler version usage
-------------------------------------------------------------------
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
- bsc#1222175 - prevent stripping debug info
- Update to version 1.2.0+5:
* Prevent stripping debuginfo in release by default (#7)
-------------------------------------------------------------------
Mon Aug 14 04:47:50 UTC 2023 - william.brown@suse.com
- Update to version 1.2.0+4:
* macros.cargo: Drop bashisms (#4)
-------------------------------------------------------------------
Mon Jun 19 23:37:09 UTC 2023 - william.brown@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cargo-packaging
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -17,7 +17,7 @@
Name: cargo-packaging
Version: 1.2.0+3
Version: 1.2.0+5
Release: 0
Summary: Macros and tools to assist with cargo and rust packaging
License: MPL-2.0
@ -25,9 +25,8 @@ 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: rust+cargo
Requires: zstd
BuildRequires: cargo
BuildRequires: 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"

BIN
vendor.tar.xz (Stored with Git LFS)

Binary file not shown.