The package rpms/rust-cbindgen.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-cbindgen.git/commit/?id=6cd7....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 6cd764d490df106e617b11384a8a53ba7d6285f4
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon May 29 19:49:39 2023 +0200
Update to version 0.24.5; Fixes RHBZ#2210810
diff --git a/.gitignore b/.gitignore
index 1df8fb9..0028316 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@
/cbindgen-0.17.0.crate
/cbindgen-0.20.0.crate
/cbindgen-0.24.3.crate
+/cbindgen-0.24.5.crate
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
deleted file mode 100644
index 6338d60..0000000
--- a/LICENSE.dependencies
+++ /dev/null
@@ -1,27 +0,0 @@
-(MIT OR Apache-2.0) AND Unicode-DFS-2016: unicode-ident v1.0.3
-Apache-2.0 OR BSL-1.0: ryu v1.0.11
-Apache-2.0 OR MIT: fastrand v1.8.0
-Apache-2.0 OR MIT: indexmap v1.9.1
-MIT OR Apache-2.0: bitflags v1.3.2
-MIT OR Apache-2.0: cfg-if v1.0.0
-MIT OR Apache-2.0: clap v3.2.17
-MIT OR Apache-2.0: clap_lex v0.2.4
-MIT OR Apache-2.0: hashbrown v0.12.3
-MIT OR Apache-2.0: heck v0.4.0
-MIT OR Apache-2.0: itoa v1.0.3
-MIT OR Apache-2.0: libc v0.2.131
-MIT OR Apache-2.0: log v0.4.17
-MIT OR Apache-2.0: os_str_bytes v6.3.0
-MIT OR Apache-2.0: proc-macro2 v1.0.43
-MIT OR Apache-2.0: quote v1.0.21
-MIT OR Apache-2.0: remove_dir_all v0.7.0
-MIT OR Apache-2.0: serde v1.0.144
-MIT OR Apache-2.0: serde_json v1.0.85
-MIT OR Apache-2.0: syn v1.0.99
-MIT OR Apache-2.0: tempfile v3.3.0
-MIT OR Apache-2.0: toml v0.5.9
-MIT: atty v0.2.14
-MIT: strsim v0.10.0
-MIT: textwrap v0.15.0
-MPL-2.0: cbindgen v0.24.3
-Unlicense OR MIT: termcolor v1.1.3
diff --git a/README.md b/README.md
deleted file mode 100644
index 9c0cd65..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-cbindgen
-
-The rust-cbindgen package
\ No newline at end of file
diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec
index 33d74b4..f95768d 100644
--- a/rust-cbindgen.spec
+++ b/rust-cbindgen.spec
@@ -1,24 +1,21 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global crate cbindgen
Name: rust-cbindgen
-Version: 0.24.3
+Version: 0.24.5
Release: %autorelease
Summary: Tool for generating C bindings to Rust code
License: MPL-2.0
URL:
https://crates.io/crates/cbindgen
-Source0: %{crates_source}
-Source1: LICENSE.dependencies
+Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
-Tool for generating C bindings to Rust code.}
+A tool for generating C bindings to Rust code.}
%description %{_description}
@@ -27,11 +24,12 @@ Summary: %{summary}
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# MPL-2.0
# Unlicense OR MIT
-License: MPL-2.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0)
+License: MPL-2.0 AND MIT AND Unicode-DFS-2016 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
(Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -88,7 +86,6 @@ use the "clap" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp -pav %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -101,6 +98,8 @@ echo '/usr/bin/gcc'
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
diff --git a/rust2rpm.conf b/rust2rpm.conf
index 1b5740d..d45adf4 100644
--- a/rust2rpm.conf
+++ b/rust2rpm.conf
@@ -1,5 +1,5 @@
[DEFAULT]
-buildrequires =
+testrequires =
/usr/bin/cython
/usr/bin/gcc
/usr/bin/g++
diff --git a/sources b/sources
index 5021207..6d66cd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cbindgen-0.24.3.crate) =
3a39be67a87aa7a4dd9baaf6b803215f4587bd7925c4315c5ec93954e021471919fa977ad2084f099c606daa392350de3557bba56cef77806def99c40318ef05
+SHA512 (cbindgen-0.24.5.crate) =
16eb2267f6f75599d8cc4adc05a1387b8b95e595427bfee852f1746402a9609520f364b0fd443ce780f44a61f5b4b3518f2b021a4ff08d1f160afcb0a3bccecb
commit 5a03d8590c9ddca57a571ea25058d7ac9f22463a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Feb 4 23:19:12 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit f27d45e941a145a9aa635ef487da77c555d18bf8
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:58:11 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>