The package rpms/rust-dirs-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-dirs-sys.git/commit/?id=858b....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 858b3d806e3ce481052c8821f4bda05cf584a7e8
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon May 29 18:01:40 2023 +0200
Update to version 0.4.1; Fixes RHBZ#2175300
diff --git a/.gitignore b/.gitignore
index e680020..f9aaade 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/dirs-sys-0.3.5.crate
/dirs-sys-0.3.6.crate
/dirs-sys-0.3.7.crate
+/dirs-sys-0.4.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 14baabd..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-dirs-sys
-
-The rust-dirs-sys package
\ No newline at end of file
diff --git a/dirs-sys-fix-metadata-auto.diff b/dirs-sys-fix-metadata-auto.diff
new file mode 100644
index 0000000..f328b6d
--- /dev/null
+++ b/dirs-sys-fix-metadata-auto.diff
@@ -0,0 +1,21 @@
+--- dirs-sys-0.4.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ dirs-sys-0.4.1/Cargo.toml 2023-05-29T15:54:19.970348+00:00
+@@ -21,18 +21,6 @@
+ [dependencies.option-ext]
+ version = "0.2.0"
+
+-[target."cfg(target_os = \"redox\")".dependencies.redox_users]
+-version = "0.4"
+-default-features = false
+-
+ [target."cfg(unix)".dependencies.libc]
+ version = "0.2"
+
+-[target."cfg(windows)".dependencies.windows-sys]
+-version = "0.48.0"
+-features = [
+- "Win32_UI_Shell",
+- "Win32_Foundation",
+- "Win32_Globalization",
+- "Win32_System_Com",
+-]
diff --git a/dirs-sys-fix-metadata.diff b/dirs-sys-fix-metadata.diff
deleted file mode 100644
index 987c7b5..0000000
--- a/dirs-sys-fix-metadata.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- dirs-sys-0.3.7/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ dirs-sys-0.3.7/Cargo.toml 2022-03-21T11:40:37.707994+00:00
-@@ -17,11 +17,5 @@
- readme = "README.md"
- license = "MIT OR Apache-2.0"
- repository = "https://github.com/dirs-dev/dirs-sys-rs"
--[target."cfg(target_os = \"redox\")".dependencies.redox_users]
--version = "0.4"
--default-features = false
- [target."cfg(unix)".dependencies.libc]
- version = "0.2"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["knownfolders", "objbase", "shlobj",
"winbase", "winerror"]
diff --git a/rust-dirs-sys.spec b/rust-dirs-sys.spec
index 4b59eed..d872d44 100644
--- a/rust-dirs-sys.spec
+++ b/rust-dirs-sys.spec
@@ -1,23 +1,19 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate dirs-sys
-Name: rust-%{crate}
-Version: 0.3.7
+Name: rust-dirs-sys
+Version: 0.4.1
Release: %autorelease
Summary: System-level helper functions for the dirs and directories crates
-# 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/dirs-sys
Source: %{crates_source}
-# Initial patched metadata
-# * drop windows- and redox OS-specific dependencies
-Patch0: dirs-sys-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
+# Automatically generated patch to strip foreign dependencies
+Patch: dirs-sys-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
diff --git a/sources b/sources
index 8fd9baa..b22a425 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (dirs-sys-0.3.7.crate) =
e630964e4c452950a475c10a490b49b2979dd7dfda48172b905cc789153ae4a0ba2d7d91f690705cbfff23737c4b4a339eb0c49e922efd7d68a92fe6368a929f
+SHA512 (dirs-sys-0.4.1.crate) =
53c7c8bc76d7211d08a0e6b25caaed12eeb7283cb4b352c12311db3c796794330943259a08e48ff9d3a280917920a088e5aede32677a4b2f9f819c2dca6adb9a
commit a8207d04a8d02e9dfb4b69a606dc97d592b9abba
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:32:49 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>