The package rpms/rust-stfu8.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-stfu8.git/commit/?id=7f29c19872....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 7f29c1987235e054011463bbe172a6cf628cb8d7 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sun Jul 10 14:54:30 2022 -0700
Initial import; Fixes: RHBZ#1979754
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d2fa0ca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/stfu8-0.2.5.crate diff --git a/rust-stfu8.spec b/rust-stfu8.spec new file mode 100644 index 0000000..9e4d01b --- /dev/null +++ b/rust-stfu8.spec @@ -0,0 +1,84 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate stfu8 + +Name: rust-%{crate} +Version: 0.2.5 +Release: %autorelease +Summary: Sorta Text Format in UTF-8 + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/stfu8 +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Sorta Text Format in UTF-8.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+testing-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+testing-devel %{_description} + +This package contains library source intended for building other packages which +use the "testing" feature of the "%{crate}" crate. + +%files -n %{name}+testing-devel +%ghost %{crate_instdir}/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..c55710d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (stfu8-0.2.5.crate) = 962264fdfb36f0351fce1fe8d219476b7c046128df31d485364707836ee6cd7ffe5b1d854d25a465f77046c536e2b88a65cfaf520bafe850d530e42eda1aca8f