The package rpms/rust-dbus.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-dbus.git/commit/?id=da81d8840cd....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit da81d8840cd12228bf7106061c841c7435d27f15 Author: Fabio Valentini decathorpe@gmail.com Date: Mon May 29 20:16:12 2023 +0200
Update to version 0.9.7; Fixes RHBZ#2158897
diff --git a/.gitignore b/.gitignore index 28608ad..2bdb418 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /dbus-0.9.4.crate /dbus-0.9.5.crate /dbus-0.9.6.crate +/dbus-0.9.7.crate diff --git a/README.md b/README.md deleted file mode 100644 index b3017b1..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-dbus - -The rust-dbus package \ No newline at end of file diff --git a/dbus-fix-metadata-auto.diff b/dbus-fix-metadata-auto.diff new file mode 100644 index 0000000..342cdda --- /dev/null +++ b/dbus-fix-metadata-auto.diff @@ -0,0 +1,12 @@ +--- dbus-0.9.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ dbus-0.9.7/Cargo.toml 2023-05-29T18:13:28.009182+00:00 +@@ -63,9 +63,5 @@ + stdfd = [] + vendored = ["libdbus-sys/vendored"] + +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3.0" +-features = ["winsock2"] +- + [badges.maintenance] + status = "actively-developed" diff --git a/dbus-fix-metadata.diff b/dbus-fix-metadata.diff index b4d532c..3e9b95e 100644 --- a/dbus-fix-metadata.diff +++ b/dbus-fix-metadata.diff @@ -1,12 +1,10 @@ ---- dbus-0.9.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ dbus-0.9.6/Cargo.toml 2022-07-13T12:57:09.325965+00:00 -@@ -61,9 +61,5 @@ +--- dbus-0.9.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ dbus-0.9.7/Cargo.toml 2023-05-29T18:13:51.728313+00:00 +@@ -61,7 +61,6 @@ ] no-string-validation = [] + stdfd = [] +-vendored = ["libdbus-sys/vendored"]
--[target."cfg(windows)".dependencies.winapi] --version = "0.3.0" --features = ["winsock2"] -- [badges.maintenance] status = "actively-developed" diff --git a/rust-dbus.spec b/rust-dbus.spec index f4a7a8c..820ed36 100644 --- a/rust-dbus.spec +++ b/rust-dbus.spec @@ -1,30 +1,30 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 # * most tests require a running user and / or system bus %bcond_with check %global debug_package %{nil}
%global crate dbus
-Name: rust-%{crate} -Version: 0.9.6 +Name: rust-dbus +Version: 0.9.7 Release: %autorelease Summary: Bindings to D-Bus
# Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/dbus Source: %{crates_source} -# Initial patched metadata -# * drop windows-specific dependencies -Patch0: dbus-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +# Automatically generated patch to strip foreign dependencies +Patch: dbus-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * drop feature for building with and statically linking vendored libdbus +Patch: dbus-fix-metadata.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand: -Bindings to D-Bus, which is a bus commonly used on Linux for inter-process -communication.} +Bindings to D-Bus, which is a bus commonly used on Linux for inter- +process communication.}
%description %{_description}
@@ -116,6 +116,18 @@ use the "no-string-validation" feature of the "%{crate}" crate. %files -n %{name}+no-string-validation-devel %ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+stdfd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stdfd-devel %{_description} + +This package contains library source intended for building other packages which +use the "stdfd" feature of the "%{crate}" crate. + +%files -n %{name}+stdfd-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index dc49c04..110940b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dbus-0.9.6.crate) = 78b4ab25625df0787c188f3a9a09185c16b43c534da259ee80a511e27319e07358a0017784af683fc9c7600a69f953f9f8fd45e16a52c695d606a769440bf438 +SHA512 (dbus-0.9.7.crate) = c1557d8be0c5c5623ec6a3928de310c80eef2cdf976d9fcbcc00f08a532af5b8d530f8ee1eba4de12f2df0ff7cf4d21323dfad76be82eeee2f386173991681e5
commit 68de55021587b462effb37de428bce6f085f19d1 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 20 22:25:38 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
arch-excludes@lists.fedoraproject.org