The package rpms/rust-semver0.11.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-semver0.11.git/commit/?id=76e72....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 76e72bb300bf86c31b747d5dcfc0036d4359eb04 Author: Fabio Valentini decathorpe@gmail.com Date: Sun Jul 25 22:44:01 2021 +0200
Initial package (semver 0.11 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c3a421a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/semver-0.11.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index a568b28..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-semver0.11 - -The rust-semver0.11 package diff --git a/rust-semver0.11.spec b/rust-semver0.11.spec new file mode 100644 index 0000000..98d91e5 --- /dev/null +++ b/rust-semver0.11.spec @@ -0,0 +1,110 @@ +# Generated by rust2rpm 18 +%bcond_without check +%global debug_package %{nil} + +%global crate semver + +Name: rust-%{crate}0.11 +Version: 0.11.0 +Release: %autorelease +Summary: Semantic version parsing and comparison + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/semver +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Semantic version parsing and comparison.} + +%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 +%license LICENSE-MIT LICENSE-APACHE +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+ci-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ci-devel %{_description} + +This package contains library source intended for building other packages +which use "ci" feature of "%{crate}" crate. + +%files -n %{name}+ci-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+diesel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+diesel-devel %{_description} + +This package contains library source intended for building other packages +which use "diesel" feature of "%{crate}" crate. + +%files -n %{name}+diesel-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages +which use "serde" feature of "%{crate}" crate. + +%files -n %{name}+serde-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..090fac9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (semver-0.11.0.crate) = bdbd8eba37071ec1d24d372cc34ac4d82b6d914e7396ed51276e80d4d299864507a9d837ef381f6c4868981b7ca35514050ab8d7a621d43697a9c4b4bd5d8573
arch-excludes@lists.fedoraproject.org