Accepting request 789912 from devel:languages:rust

OBS-URL: https://build.opensuse.org/request/show/789912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2020-03-31 15:13:07 +00:00 committed by Git OBS Bridge
commit 306e80eb34
5 changed files with 17 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5209d148102b2b9bae2b5f8feef8a555307d63799a2fba7c0e52347f7636a6d
size 161125

3
cbindgen-0.13.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc8a4fb6117e30ce7b7e1fc62470edbb9191a86a5f7168dc10e122983aba2c5d
size 162009

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 30 20:12:18 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
- Update to version 0.13.1
* Support `#[cfg]` on individual enum variants
- required for Firefox >= 75
- remove more irrelevant build artefacts
-------------------------------------------------------------------
Sat Mar 7 09:05:08 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -20,7 +20,7 @@
%global crate_name cbindgen
%global rustflags -Clink-arg=-Wl,-z,relro,-z,now
Name: rust-%{crate_name}
Version: 0.13.0
Version: 0.13.1
Release: 0
Summary: A tool for generating C bindings from Rust code
License: MPL-2.0
@ -64,8 +64,9 @@ export RUSTFLAGS="%{rustflags}"
export CARGO_HOME=`pwd`/cargo-home/
# cargo install appends /bin to the path
cargo install --root=%{buildroot}%{_prefix} --path .
# remove spurious file
rm %{buildroot}%{_prefix}/.crates.toml
# remove spurious files
rm -f %{buildroot}%{_prefix}/.crates.toml
rm -f %{buildroot}%{_prefix}/.crates2.json
%files
%license LICENSE

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83da5dcc8c418e26aa85bbf9456ee809befb5d33def287f115fabd5e89d233d1
size 5259916
oid sha256:13d697d8d431fa0b3d6b2bf34b41cace5e4762157a1d1733c48c9f839dcde166
size 5258400