The package rpms/rust-libdbus-sys.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-libdbus-sys.git/commit/?id=6....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 679468d899b914967a539a519a1eaf6eed1d834a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jan 30 17:03:09 2023 +0100
Update to version 0.2.3; Fixes RHBZ#2158911
diff --git a/.gitignore b/.gitignore
index d44d816..284e579 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/libdbus-sys-0.1.5.crate
/libdbus-sys-0.2.1.crate
/libdbus-sys-0.2.2.crate
+/libdbus-sys-0.2.3.crate
diff --git a/libdbus-sys-fix-metadata.diff b/libdbus-sys-fix-metadata.diff
new file mode 100644
index 0000000..71f0833
--- /dev/null
+++ b/libdbus-sys-fix-metadata.diff
@@ -0,0 +1,20 @@
+--- libdbus-sys-0.2.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libdbus-sys-0.2.3/Cargo.toml 2023-01-30T15:59:32.301728+00:00
+@@ -33,17 +33,12 @@
+ [package.metadata.pkg-config]
+ dbus-1 = "1.6"
+
+-[build-dependencies.cc]
+-version = "1.0.78"
+-optional = true
+-
+ [build-dependencies.pkg-config]
+ version = "0.3"
+ optional = true
+
+ [features]
+ default = ["pkg-config"]
+-vendored = ["cc"]
+
+ [badges.is-it-maintained-issue-resolution]
+ repository = "diwic/dbus-rs"
diff --git a/rust-libdbus-sys.spec b/rust-libdbus-sys.spec
index 9049851..a5cec27 100644
--- a/rust-libdbus-sys.spec
+++ b/rust-libdbus-sys.spec
@@ -1,25 +1,23 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate libdbus-sys
-Name: rust-%{crate}
-Version: 0.2.2
+Name: rust-libdbus-sys
+Version: 0.2.3
Release: %autorelease
Summary: FFI bindings to libdbus
# Upstream license specification: Apache-2.0/MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 OR MIT
URL:
https://crates.io/crates/libdbus-sys
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop feature for building against vendored copy of dbus
+Patch: libdbus-sys-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
FFI bindings to libdbus.}
@@ -33,12 +31,15 @@ Requires: pkgconfig(dbus-1) >= 1.6
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%doc %{crate_instdir}/cross_compile.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -46,14 +47,28 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+pkg-config-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+pkg-config-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "pkg-config" feature of the "%{crate}" crate.
+
+%files -n %{name}+pkg-config-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
+# remove vendored dbus sources
+rm -r vendor/
%cargo_prep
%generate_buildrequires
diff --git a/.rust2rpm.conf b/rust2rpm.conf
similarity index 100%
rename from .rust2rpm.conf
rename to rust2rpm.conf
diff --git a/sources b/sources
index a3ab37a..5724627 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libdbus-sys-0.2.2.crate) =
70bd8d4705172af1e3eaa76472c78cf90fb6aa45d1cc4b5e93869d21f27eea519582498eac51c4f06d3a17a9a4ecd8607c3b1b3415a1de8aa3f662c7d2012a97
+SHA512 (libdbus-sys-0.2.3.crate) =
a160d2c4fa39e03bfc5fddd9758e0c2bc3d50e8dc95f235e7ae0e65a0eda0e36023dbe55a9a6673543a712c9e2c90dcd3dc85de8c0bd290343a2a6e159e09fda
commit 8242fc07f3d17b119795434c2d1b6c7c7efa9055
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:43:00 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 64c17c6e0da236ff1a68fd59f7efcce69851f243
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 04:53:26 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>