automatic version update by autodist [release 0.9.20-1mamba;Wed Jun 07 2023]
This commit is contained in:
parent
a28626da99
commit
44e2b92f32
2931
Cargo-0.9.20.lock
Normal file
2931
Cargo-0.9.20.lock
Normal file
File diff suppressed because it is too large
Load Diff
1439
Cargo.lock
generated
1439
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
13
cargo-c.spec
13
cargo-c.spec
@ -1,5 +1,5 @@
|
||||
Name: cargo-c
|
||||
Version: 0.9.14
|
||||
Version: 0.9.20
|
||||
Release: 1mamba
|
||||
Summary: A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries
|
||||
Group: Development/Tools
|
||||
@ -8,14 +8,14 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/lu-zero/cargo-c/
|
||||
Source: https://github.com/lu-zero/cargo-c.git/v%{version}/cargo-c-%{version}.tar.bz2
|
||||
Source1: https://github.com/lu-zero/cargo-c/releases/download/v%{version}/Cargo.lock
|
||||
# NOTE: manually renaming Cargo.lock to Cargo-%{version}.lock
|
||||
Source1: https://github.com/lu-zero/cargo-c/releases/download/v%{version}/Cargo-%{version}.lock
|
||||
Source2: cargo-c-autoupdate
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgit2-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
@ -27,8 +27,8 @@ A cargo subcommand to build and install C-ABI compatibile dynamic and static lib
|
||||
%prep
|
||||
%setup -q
|
||||
# Cargo.lock
|
||||
cp %{SOURCE1} .
|
||||
cargo fetch --locked --manifest-path="Cargo.toml"
|
||||
cp %{SOURCE1} Cargo.lock
|
||||
cargo fetch --locked --target %{_target_cpu}-unknown-linux%{_gnu} --manifest-path="Cargo.toml"
|
||||
|
||||
%build
|
||||
export CFLAGS+=' -ffat-lto-objects'
|
||||
@ -53,5 +53,8 @@ find target/release -maxdepth 1 -type f -executable -exec install -D -m755 -t %{
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed Jun 07 2023 Automatic Build System <autodist@mambasoft.it> 0.9.20-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.14-1mamba
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user