The package rpms/rust-dirs.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.git/commit/?id=36a9455589f....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 2591b8fd741a607246dbcba2229e12d42678b15f Author: Fabio Valentini decathorpe@gmail.com Date: Mon May 29 18:01:14 2023 +0200
Update to version 5.0.1; Fixes RHBZ#2179647
diff --git a/.gitignore b/.gitignore index db11365..67e328f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /dirs-3.0.1.crate /dirs-3.0.2.crate /dirs-4.0.0.crate +/dirs-5.0.1.crate diff --git a/rust-dirs.spec b/rust-dirs.spec index 9ef93cf..59cd541 100644 --- a/rust-dirs.spec +++ b/rust-dirs.spec @@ -5,7 +5,7 @@ %global crate dirs
Name: rust-dirs -Version: 4.0.0 +Version: 5.0.1 Release: %autorelease Summary: Platform abstractions for common directories
diff --git a/sources b/sources index 114d3f2..5971982 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dirs-4.0.0.crate) = be582e5045f1916fb6b918c8e8c5907b4b663534025e4227ea4828e2aa9fe7fbcb3c48f1f0d08d163ba684aa4404076ac210e7f14766a09b9ed89a2825121b3b +SHA512 (dirs-5.0.1.crate) = cfc329518e85a25c296521b9aeb6e5d5f60b4525aa786ebfa8b9f198446a1ff5892160d1bb4790d7f3fc4a0abdb5921b2e4896e271a3fc3a3225897313b77bd1
commit 36a9455589ff026aff35de1d43ea3ffbf6ded9ec Author: Fabio Valentini decathorpe@gmail.com Date: Thu May 25 13:30:22 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md deleted file mode 100644 index 53f6e06..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-dirs - -The rust-dirs package \ No newline at end of file diff --git a/rust-dirs.spec b/rust-dirs.spec index 6a819f9..9ef93cf 100644 --- a/rust-dirs.spec +++ b/rust-dirs.spec @@ -1,32 +1,26 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil}
%global crate dirs
-Name: rust-%{crate} +Name: rust-dirs Version: 4.0.0 Release: %autorelease Summary: Platform abstractions for common directories
-# 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 Source: %{crates_source}
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: -Tiny low-level library that provides platform-specific standard locations of -directories for config, cache and other data on Linux, Windows, macOS and Redox -by leveraging the mechanisms defined by the XDG base/user directory -specifications on Linux, the Known Folder API on Windows, and the Standard -Directory guidelines on macOS.} +A tiny low-level library that provides platform-specific standard +locations of directories for config, cache and other data on Linux, +Windows, macOS and Redox by leveraging the mechanisms defined by the XDG +base/user directory specifications on Linux, the Known Folder API on +Windows, and the Standard Directory guidelines on macOS.}
%description %{_description}
@@ -36,13 +30,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages -which use "%{crate}" crate. +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} @@ -50,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..7446e56 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Platform abstractions for common directories
arch-excludes@lists.fedoraproject.org