The package rpms/rust-uucore.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-uucore.git/commit/?id=a11b49....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a11b4995f9f20f14b59d2c6a51c9a926f4195796
Author: Michel Lind <salimma(a)fedoraproject.org>
Date: Fri Jan 5 22:07:36 2024 -0600
Update to 0.0.23
Signed-off-by: Michel Lind <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index a2d1546..78efbeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/uucore-0.0.8.crate
/uucore-0.0.12.crate
/uucore-0.0.14.crate
+/uucore-0.0.23.crate
diff --git a/rust-uucore.spec b/rust-uucore.spec
index 7fc9000..f78bc34 100644
--- a/rust-uucore.spec
+++ b/rust-uucore.spec
@@ -1,26 +1,21 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate uucore
Name: rust-uucore
-Version: 0.0.14
+Version: 0.0.23
Release: %autorelease
Summary: Uutils ~ 'core' uutils code library (cross-platform)
License: MIT
URL:
https://crates.io/crates/uucore
Source: %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
Patch: uucore-fix-metadata-auto.diff
-# Manually created patch for downstream crate metadata changes
-# - bump time to 0.3
-Patch: uucore-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Uutils ~ 'core' uutils code library (cross-platform).}
@@ -52,6 +47,42 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+backup-control-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+backup-control-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "backup-control" feature of the "%{crate}" crate.
+
+%files -n %{name}+backup-control-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+blake2b_simd-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+blake2b_simd-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "blake2b_simd" feature of the "%{crate}" crate.
+
+%files -n %{name}+blake2b_simd-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+blake3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+blake3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "blake3" feature of the "%{crate}" crate.
+
+%files -n %{name}+blake3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+data-encoding-devel
Summary: %{summary}
BuildArch: noarch
@@ -76,6 +107,18 @@ use the "data-encoding-macro" feature of the
"%{crate}" crate.
%files -n %{name}+data-encoding-macro-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+digest-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+digest-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "digest" feature of the "%{crate}" crate.
+
+%files -n %{name}+digest-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+dns-lookup-devel
Summary: %{summary}
BuildArch: noarch
@@ -88,6 +131,18 @@ use the "dns-lookup" feature of the "%{crate}"
crate.
%files -n %{name}+dns-lookup-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+dunce-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+dunce-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "dunce" feature of the "%{crate}" crate.
+
+%files -n %{name}+dunce-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+encoding-devel
Summary: %{summary}
BuildArch: noarch
@@ -136,6 +191,18 @@ use the "fsext" feature of the "%{crate}" crate.
%files -n %{name}+fsext-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+hex-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+hex-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "hex" feature of the "%{crate}" crate.
+
+%files -n %{name}+hex-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+itertools-devel
Summary: %{summary}
BuildArch: noarch
@@ -172,40 +239,52 @@ use the "lines" feature of the "%{crate}"
crate.
%files -n %{name}+lines-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+memo-devel
+%package -n %{name}+md-5-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+memo-devel %{_description}
+%description -n %{name}+md-5-devel %{_description}
This package contains library source intended for building other packages which
-use the "memo" feature of the "%{crate}" crate.
+use the "md-5" feature of the "%{crate}" crate.
-%files -n %{name}+memo-devel
+%files -n %{name}+md-5-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+mode-devel
+%package -n %{name}+memchr-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+mode-devel %{_description}
+%description -n %{name}+memchr-devel %{_description}
This package contains library source intended for building other packages which
-use the "mode" feature of the "%{crate}" crate.
+use the "memchr" feature of the "%{crate}" crate.
-%files -n %{name}+mode-devel
+%files -n %{name}+memchr-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+memo-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+memo-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "memo" feature of the "%{crate}" crate.
+
+%files -n %{name}+memo-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+nix-devel
+%package -n %{name}+mode-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+nix-devel %{_description}
+%description -n %{name}+mode-devel %{_description}
This package contains library source intended for building other packages which
-use the "nix" feature of the "%{crate}" crate.
+use the "mode" feature of the "%{crate}" crate.
-%files -n %{name}+nix-devel
+%files -n %{name}+mode-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+perms-devel
@@ -244,6 +323,30 @@ use the "process" feature of the "%{crate}"
crate.
%files -n %{name}+process-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+quoting-style-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+quoting-style-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "quoting-style" feature of the "%{crate}" crate.
+
+%files -n %{name}+quoting-style-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+ranges-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+ranges-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "ranges" feature of the "%{crate}" crate.
+
+%files -n %{name}+ranges-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+ringbuffer-devel
Summary: %{summary}
BuildArch: noarch
@@ -256,6 +359,42 @@ use the "ringbuffer" feature of the "%{crate}"
crate.
%files -n %{name}+ringbuffer-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+sha1-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sha1-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sha1" feature of the "%{crate}" crate.
+
+%files -n %{name}+sha1-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+sha2-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sha2-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sha2" feature of the "%{crate}" crate.
+
+%files -n %{name}+sha2-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+sha3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sha3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sha3" feature of the "%{crate}" crate.
+
+%files -n %{name}+sha3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+signals-devel
Summary: %{summary}
BuildArch: noarch
@@ -268,6 +407,30 @@ use the "signals" feature of the "%{crate}"
crate.
%files -n %{name}+signals-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+sm3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sm3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sm3" feature of the "%{crate}" crate.
+
+%files -n %{name}+sm3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+sum-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sum-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sum" feature of the "%{crate}" crate.
+
+%files -n %{name}+sum-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+thiserror-devel
Summary: %{summary}
BuildArch: noarch
@@ -292,6 +455,18 @@ use the "time" feature of the "%{crate}" crate.
%files -n %{name}+time-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+update-control-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+update-control-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "update-control" feature of the "%{crate}" crate.
+
+%files -n %{name}+update-control-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+utf8-devel
Summary: %{summary}
BuildArch: noarch
@@ -316,6 +491,18 @@ use the "utmpx" feature of the "%{crate}" crate.
%files -n %{name}+utmpx-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+version-cmp-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+version-cmp-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "version-cmp" feature of the "%{crate}" crate.
+
+%files -n %{name}+version-cmp-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+walkdir-devel
Summary: %{summary}
BuildArch: noarch
@@ -353,7 +540,7 @@ use the "z85" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/sources b/sources
index 6f9681d..22d9bcb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (uucore-0.0.14.crate) =
904ae5688e50580f25451c0cc87b09edce527505a3594237b71281363c80beb38718afb3436031da6c7b10f231085ea8897baafb3ff65ec04cc0038695a408b1
+SHA512 (uucore-0.0.23.crate) =
2577ac072fb0b03043240aeb1b3f337d402437b313bbfce57bbab16475adf696f0c262da6d8947997a9873c1ed8f47456b654ac2cba420764d97ab5649583823
diff --git a/uucore-fix-metadata-auto.diff b/uucore-fix-metadata-auto.diff
index ae1b1ca..0b1e43a 100644
--- a/uucore-fix-metadata-auto.diff
+++ b/uucore-fix-metadata-auto.diff
@@ -1,30 +1,42 @@
---- uucore-0.0.14/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ uucore-0.0.14/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -104,7 +104,6 @@
+--- uucore-0.0.23/Cargo.toml 1970-01-01T00:00:01+00:00
++++ uucore-0.0.23/Cargo.toml 2024-01-06T04:04:56.847336+00:00
+@@ -160,13 +160,10 @@
fs = [
+ "dunce",
"libc",
- "nix",
- "winapi-util",
+- "windows-sys",
]
fsext = [
"libc",
-@@ -131,19 +130,6 @@
+ "time",
+- "windows-sys",
]
+ lines = []
+ memo = ["itertools"]
+@@ -204,20 +201,6 @@
+ version-cmp = []
wide = []
--[target."cfg(target_os = \"windows\")".dependencies.winapi]
--version = "0.3"
+-[target."cfg(target_os = \"windows\")".dependencies.winapi-util]
+-version = "0.1.6"
+-optional = true
+-
+-[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
+-version = "0.48.0"
-features = [
-- "errhandlingapi",
-- "fileapi",
-- "handleapi",
-- "winerror",
+- "Win32_Storage_FileSystem",
+- "Win32_Foundation",
+- "Win32_System_WindowsProgramming",
-]
--
--[target."cfg(target_os = \"windows\")".dependencies.winapi-util]
--version = "0.1.5"
-optional = true
+-default-features = false
-
[target."cfg(unix)".dependencies.nix]
- version = "0.24.1"
+ version = "0.27"
features = [
+@@ -231,3 +214,4 @@
+ [target."cfg(unix)".dependencies.walkdir]
+ version = "2.4"
+ optional = true
++
diff --git a/uucore-fix-metadata.diff b/uucore-fix-metadata.diff
deleted file mode 100644
index 4f8f20f..0000000
--- a/uucore-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- uucore-0.0.14/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ uucore-0.0.14/Cargo.toml 2022-08-13T17:21:35.713809+00:00
-@@ -68,7 +68,7 @@
- optional = true
-
- [dependencies.time]
--version = "<= 0.3"
-+version = "0.3"
- features = [
- "formatting",
- "local-offset",
commit 7218a5d06dc172d1951184ba3a375ba3fdda9dca
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 22 00:31:08 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>