The package rpms/rust-shellwords.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-shellwords.git/commit/?id=dcd7c....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit dcd7ce5f81a2e8f2e912e70fcb05f17067e6b7b5 Author: jbtrystram jbtrystram@redhat.com Date: Wed May 26 10:07:19 2021 +0200
Initial import (rhbz#1961542)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..34146b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/shellwords-1.1.0.crate diff --git a/rust-shellwords.spec b/rust-shellwords.spec new file mode 100644 index 0000000..229a37d --- /dev/null +++ b/rust-shellwords.spec @@ -0,0 +1,78 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate shellwords + +Name: rust-%{crate} +Version: 1.1.0 +Release: 1%{?dist} +Summary: Manipulate strings according to the word parsing rules of the UNIX Bourne shell + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/shellwords +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Manipulate strings according to the word parsing rules of the UNIX Bourne +shell.} + +%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 +%doc README.md +%license LICENSE +%{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 +%license LICENSE +%doc README.md +%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 +* Tue May 18 10:25:36 CEST 2021 jbtrystram jbtrystram@redhat.com - 1.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..b7a9781 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (shellwords-1.1.0.crate) = 1af48cfd1c09fa21aa436acfadf664a82b0fbccfae0c0ff8f01602ab912e0a4a0adf8677159af8ade9bc99a1df28774fda76ade243d8ac70afe0da8fe3c4098c
arch-excludes@lists.fedoraproject.org