The package rpms/rust-const-oid0.6.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-const-oid0.6.git/commit/?id=81c....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 81cc8d99855fc8288b226b2197a8779eb6ce5d87 Author: Fabio Valentini decathorpe@gmail.com Date: Tue Oct 11 12:19:21 2022 +0200
Initial import (const-oid 0.6 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..34ee7a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/const-oid-0.6.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index d272623..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-const-oid0.6 - -The rust-const-oid0.6 package diff --git a/rust-const-oid0.6.spec b/rust-const-oid0.6.spec new file mode 100644 index 0000000..71eb19d --- /dev/null +++ b/rust-const-oid0.6.spec @@ -0,0 +1,86 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate const-oid + +Name: rust-const-oid0.6 +Version: 0.6.2 +Release: %autorelease +Summary: Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/const-oid +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard +as defined in ITU X.660, with support for BER/DER encoding/decoding as well as +heapless no_std (i.e. embedded) support.} + +%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}/CHANGELOG.md +%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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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..41bc25f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (const-oid-0.6.2.crate) = 504a12910eec46286122a87dfeeb5251d180ca8fcf056e8f5d35698b7d56b34a8013ce45ee0b9c3634e09103a4edf5625466c9bd86d4a192bcd182fa38c12cc1
arch-excludes@lists.fedoraproject.org