The package rpms/rust-xdg.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-xdg.git/commit/?id=9f67cc79c....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9f67cc79ca770842dff5b544840c352f8a52e919
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Apr 28 23:07:42 2023 +0200
Update to version 2.5.0; Fixes RHBZ#2190012
diff --git a/.gitignore b/.gitignore
index 2e481ff..90e860b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/xdg-2.2.0.crate
/xdg-2.4.0.crate
/xdg-2.4.1.crate
+/xdg-2.5.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 6deecf7..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-xdg
-
-The rust-xdg package
\ No newline at end of file
diff --git a/rust-xdg.spec b/rust-xdg.spec
index 0e1a50f..75610b0 100644
--- a/rust-xdg.spec
+++ b/rust-xdg.spec
@@ -1,26 +1,23 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate xdg
-Name: rust-%{crate}
-Version: 2.4.1
+Name: rust-xdg
+Version: 2.5.0
Release: %autorelease
Summary: Store and retrieve files according to XDG Base Directory specification
-# Upstream license specification: Apache-2.0/MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 OR MIT
URL:
https://crates.io/crates/xdg
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Library for storing and retrieving files according to XDG Base Directory
-specification.}
+A library for storing and retrieving files according to XDG Base
+Directory specification.}
%description %{_description}
@@ -34,9 +31,10 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -48,7 +46,19 @@ 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}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 072e448..b54871f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xdg-2.4.1.crate) =
23e69abbe79a0977900af37feb9f367a82d0ba4e69fc9421e356a5957920e316379355b1c6eeda1235feb3d028f738c41f520d28665f919e775b20240219e07e
+SHA512 (xdg-2.5.0.crate) =
85933ab1112fe8346d09997e140b42a50d1127e7a9c1bed8e6423ffdabb7ccf7e0c8022dd589942c53b6bfb3dc523a08d9cd0257b5d5315b2de06296b4bafd73