The package rpms/rust-clap_complete.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-clap_complete.git/commit/?id=99....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 9977c87278f1d7393a5a47746e5ebbe5eb2489d9 Author: Fabio Valentini decathorpe@gmail.com Date: Sat Jan 22 14:13:52 2022 +0100
Initial import (#2043469)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..74ee8c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/clap_complete-3.0.4.crate diff --git a/README.md b/README.md deleted file mode 100644 index 4b0a469..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-clap_complete - -The rust-clap_complete package diff --git a/rust-clap_complete.spec b/rust-clap_complete.spec new file mode 100644 index 0000000..1d05472 --- /dev/null +++ b/rust-clap_complete.spec @@ -0,0 +1,83 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate clap_complete + +Name: rust-%{crate} +Version: 3.0.4 +Release: %autorelease +Summary: Generate shell completion scripts for your clap::App + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/clap_complete +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Generate shell completion scripts for your clap::App.} + +%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 LICENSE-APACHE LICENSE-MIT +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "debug" feature of the "%{crate}" crate. + +%files -n %{name}+debug-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..e27411f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (clap_complete-3.0.4.crate) = 87c8ba56350f0e1a7dc7a453b93e8ade77186cbe123dfbf01bb5b04995f1c3d960b564f8ea1127eb54f19e511a7a586836b2d3e2365892f156e684972359a307
arch-excludes@lists.fedoraproject.org