The package rpms/rust-dirs3.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-dirs3.git/commit/?id=736997d473....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 736997d47395ceb9e8bb633c43753ef1c0b1c744 Author: Fabio Valentini decathorpe@gmail.com Date: Mon Nov 8 22:37:13 2021 +0100
Initial import (dirs 3 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0ad82e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/dirs-3.0.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 833e006..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-dirs3 - -The rust-dirs3 package diff --git a/rust-dirs3.spec b/rust-dirs3.spec new file mode 100644 index 0000000..b97e334 --- /dev/null +++ b/rust-dirs3.spec @@ -0,0 +1,78 @@ +# Generated by rust2rpm 18 +%bcond_without check +%global debug_package %{nil} + +%global crate dirs + +Name: rust-%{crate}3 +Version: 3.0.2 +Release: %autorelease +Summary: Platform abstractions for common directories + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/dirs +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%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.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..edcac41 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dirs-3.0.2.crate) = 97dc343d580ecda68aebe87bcbe8c13a00078943771e3f1dc3101d8d450d2ccdd0d74283870eac1d88255a99e887166d42533ba8e70d15b9cdaddb57e3a27c55
arch-excludes@lists.fedoraproject.org