The package rpms/rust-libpulse-binding.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-libpulse-binding.git/commit/....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c24471dca53e10f49d057adb04403f6f2f8a83b0
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Feb 3 17:23:30 2023 +0100
Update to version 2.27.1; Fixes RHBZ#2159163
diff --git a/.gitignore b/.gitignore
index b59d4c9..f6a5dea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/libpulse-binding-2.24.0.crate
/libpulse-binding-2.25.0.crate
/libpulse-binding-2.26.0.crate
+/libpulse-binding-2.27.1.crate
diff --git a/libpulse-binding-fix-metadata-auto.diff
b/libpulse-binding-fix-metadata-auto.diff
new file mode 100644
index 0000000..1abef24
--- /dev/null
+++ b/libpulse-binding-fix-metadata-auto.diff
@@ -0,0 +1,10 @@
+--- libpulse-binding-2.27.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libpulse-binding-2.27.1/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -83,7 +83,3 @@
+ "libpulse-sys/pa_v8",
+ ]
+
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["winsock2"]
+-default-features = false
diff --git a/libpulse-binding-fix-metadata.diff b/libpulse-binding-fix-metadata.diff
deleted file mode 100644
index 0066570..0000000
--- a/libpulse-binding-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- libpulse-binding-2.26.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libpulse-binding-2.26.0/Cargo.toml 2022-01-26T23:27:43.798785+00:00
-@@ -51,7 +51,3 @@
- pa_v5 = ["libpulse-sys/pa_v5"]
- pa_v6 = ["pa_v5", "libpulse-sys/pa_v6"]
- pa_v8 = ["pa_v6", "libpulse-sys/pa_v8"]
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["winsock2"]
--default-features = false
diff --git a/rust-libpulse-binding.spec b/rust-libpulse-binding.spec
index ae1a2b6..872e382 100644
--- a/rust-libpulse-binding.spec
+++ b/rust-libpulse-binding.spec
@@ -1,25 +1,21 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate libpulse-binding
-Name: rust-%{crate}
-Version: 2.26.0
+Name: rust-libpulse-binding
+Version: 2.27.1
Release: %autorelease
Summary: Rust language binding for the PulseAudio libpulse library
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/libpulse-binding
Source: %{crates_source}
-# Initial patched metadata
-# * drop windows-specific dependencies
-Patch0: libpulse-binding-fix-metadata.diff
+# Automatically generated patch to strip foreign dependencies
+Patch: libpulse-binding-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust language binding for the PulseAudio libpulse library.}
@@ -36,9 +32,11 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -50,7 +48,7 @@ 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}+pa_v12-devel
Summary: %{summary}
@@ -62,7 +60,7 @@ This package contains library source intended for building other
packages which
use the "pa_v12" feature of the "%{crate}" crate.
%files -n %{name}+pa_v12-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pa_v13-devel
Summary: %{summary}
@@ -74,7 +72,7 @@ This package contains library source intended for building other
packages which
use the "pa_v13" feature of the "%{crate}" crate.
%files -n %{name}+pa_v13-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pa_v14-devel
Summary: %{summary}
@@ -86,7 +84,7 @@ This package contains library source intended for building other
packages which
use the "pa_v14" feature of the "%{crate}" crate.
%files -n %{name}+pa_v14-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pa_v15-devel
Summary: %{summary}
@@ -98,7 +96,7 @@ This package contains library source intended for building other
packages which
use the "pa_v15" feature of the "%{crate}" crate.
%files -n %{name}+pa_v15-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pa_v5-devel
Summary: %{summary}
@@ -110,7 +108,7 @@ This package contains library source intended for building other
packages which
use the "pa_v5" feature of the "%{crate}" crate.
%files -n %{name}+pa_v5-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pa_v6-devel
Summary: %{summary}
@@ -122,7 +120,7 @@ This package contains library source intended for building other
packages which
use the "pa_v6" feature of the "%{crate}" crate.
%files -n %{name}+pa_v6-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pa_v8-devel
Summary: %{summary}
@@ -134,7 +132,7 @@ This package contains library source intended for building other
packages which
use the "pa_v8" feature of the "%{crate}" crate.
%files -n %{name}+pa_v8-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 36f4b41..98172ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libpulse-binding-2.26.0.crate) =
b2b7c218dda7001850f1ddd7a633ac898f37c669214bc5b17ea620ad2335d7680a539fd1a43911e86555486b1bf83fe8c64833bbce81bce2c9641fbff1dd81aa
+SHA512 (libpulse-binding-2.27.1.crate) =
34d84c9cca1504c44d3d44efe982ace491f5c834ecdbba583fe82b15f939ecbaabe906614928c4b2f9dd3a252d13da1cde69c112c1f99371eba5161520832f34
commit 0d926e3fe3d650f376908de482c033f66b1d45b4
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:45:03 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 0b728a83f657c50b3ca49d712d6f91ae19edac92
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 04:55:54 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>