The package rpms/rust-prost-derive0.7.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-prost-derive0.7.git/commit/?id=....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit fff1114c5501321b4779e45046baa6beeeb3a0e4 Author: Fabio Valentini decathorpe@gmail.com Date: Tue Aug 2 17:41:41 2022 +0200
Initial import (prost-derive 0.7 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..13076e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/prost-derive-0.7.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index a36a063..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-prost-derive0.7 - -The rust-prost-derive0.7 package diff --git a/rust-prost-derive0.7.spec b/rust-prost-derive0.7.spec new file mode 100644 index 0000000..2fe9e14 --- /dev/null +++ b/rust-prost-derive0.7.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate prost-derive + +Name: rust-prost-derive0.7 +Version: 0.7.0 +Release: %autorelease +Summary: Protocol Buffers implementation for the Rust Language + +License: Apache-2.0 +URL: https://crates.io/crates/prost-derive +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Protocol Buffers implementation for the Rust Language.} + +%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 +%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 + +%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..8a52cd1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (prost-derive-0.7.0.crate) = 5b9f5ebfd9b0bf3bb377e74fa25281bdbc129e29560f40b685ab7f3dc8b76b026d2675f324439a333d6470e5307a321499c4f3696a82eb34fae4c6fe5f540706