The package rpms/rust-libspa.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-libspa.git/commit/?id=406986....
Change:
-%ifarch i686
Thanks.
Full change:
============
commit 4069861017777bdd43a496c03a92beae9081bd1a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Mar 30 12:48:05 2024 +0100
Update to version 0.8.0; Fixes RHBZ#2232523
diff --git a/.gitignore b/.gitignore
index 8df56e6..4abaeae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/LICENSE
/libspa-0.6.0.crate
/libspa-0.7.2.crate
+/libspa-0.8.0.crate
diff --git a/libspa-fix-32bit-compilation.diff b/libspa-fix-32bit-compilation.diff
deleted file mode 100644
index f01945e..0000000
--- a/libspa-fix-32bit-compilation.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/pod/parser.rs
-+++ b/src/pod/parser.rs
-@@ -177,7 +177,7 @@ impl<'d> Parser<'d> {
- pub fn get_long(&mut self) -> Result<c_long, Errno> {
- unsafe {
- let mut long: MaybeUninit<c_long> = MaybeUninit::uninit();
-- let res = spa_sys::spa_pod_parser_get_long(self.as_raw_ptr(),
long.as_mut_ptr());
-+ let res = spa_sys::spa_pod_parser_get_long(self.as_raw_ptr(),
long.as_mut_ptr() as *mut _);
- if res >= 0 {
- Ok(long.assume_init())
- } else {
-@@ -429,7 +429,7 @@ macro_rules! __parser_get__ {
- let val: &mut i64 = $val;
- let res = $crate::pod::parser::Parser::get_long($parser);
- if let Ok(long) = res {
-- *val = long;
-+ *val = long as i64;
- }
- res.map(|_| {})
- }
diff --git a/libspa-fix-metadata.diff b/libspa-fix-metadata.diff
deleted file mode 100644
index a01fef7..0000000
--- a/libspa-fix-metadata.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- libspa-0.7.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libspa-0.7.2/Cargo.toml 2024-02-13T23:07:15.060529+00:00
-@@ -56,14 +56,14 @@
- version = "7"
-
- [dependencies.spa_sys]
--version = "0"
-+version = "0.7"
- package = "libspa-sys"
-
- [dev-dependencies.pipewire]
--version = "0"
-+version = "0.7"
-
- [dev-dependencies.pipewire-sys]
--version = "0"
-+version = "0.7"
-
- [build-dependencies.cc]
- version = "1.0.66"
diff --git a/rust-libspa.spec b/rust-libspa.spec
index 70b7c1e..def4574 100644
--- a/rust-libspa.spec
+++ b/rust-libspa.spec
@@ -1,24 +1,18 @@
-# Generated by rust2rpm 25
-%bcond_without check
+# Generated by rust2rpm 26
+# * resolve dependency loop with pipewire
+%bcond_with check
%global debug_package %{nil}
%global crate libspa
Name: rust-libspa
-Version: 0.7.2
+Version: 0.8.0
Release: %autorelease
Summary: Rust bindings for libspa
License: MIT
URL:
https://crates.io/crates/libspa
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * tighten libspa-sys, pipewire, pipewire-sys dependency from 0 to 0.7
-Patch: libspa-fix-metadata.diff
-# coerce pointers to *mut i64 even on i686
-# for functions that expect 64-bit values
-#
https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/98
-Patch: libspa-fix-32bit-compilation.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -65,6 +59,18 @@ use the "v0_3_33" feature of the "%{crate}" crate.
%files -n %{name}+v0_3_33-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+v0_3_65-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v0_3_65-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v0_3_65" feature of the "%{crate}" crate.
+
+%files -n %{name}+v0_3_65-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+v0_3_75-devel
Summary: %{summary}
BuildArch: noarch
@@ -92,14 +98,7 @@ use the "v0_3_75" feature of the "%{crate}" crate.
%if %{with check}
%check
-%ifarch i686
-# * pointer test panicked
-# * test does not panic
-%cargo_test -- -- --exact --skip pointer --skip result::tests::async_seq_panic
-%else
-# * test does not panic
-%cargo_test -- -- --exact --skip result::tests::async_seq_panic
-%endif
+%cargo_test
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index 638d2c3..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[tests]
-skip = [
- "result::tests::async_seq_panic",
-]
-skip-exact = true
-comments = ["test does not panic"]
diff --git a/series b/series
deleted file mode 100644
index 79d00d2..0000000
--- a/series
+++ /dev/null
@@ -1 +0,0 @@
-libspa-fix-32bit-compilation.diff
diff --git a/sources b/sources
index 240b64c..753160b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libspa-0.7.2.crate) =
df09cd4d71f2d806967a7a18cb0eecdc2771cad271320e4c2479884aeae94d5c78c27ae37cdc55bc33c1a7c030b40982f3937e6027f7bf92f6ae20c94eb29075
+SHA512 (libspa-0.8.0.crate) =
4dc75cba576bf5fbd3e0f9430352e1cf061d21146100879f1a7e98c7b7531087052ec1ce8d59a8db7b50980d4d2358aa2ef7b5c507d261ccc9ad4898447fcc2e