The package rpms/rust-semver0.10.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.10.git/commit/?id=f5820....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit f58200c4249e51851d06a93b0e746ba77682c878 Author: Fabio Valentini decathorpe@gmail.com Date: Mon Oct 26 22:38:45 2020 +0100
initial import (semver 0.10 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed51b1e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/semver-0.10.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index e69d583..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-semver0.10 - -The rust-semver0.10 package diff --git a/rust-semver0.10.spec b/rust-semver0.10.spec new file mode 100644 index 0000000..c6ae291 --- /dev/null +++ b/rust-semver0.10.spec @@ -0,0 +1,111 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate semver + +Name: rust-%{crate}0.10 +Version: 0.10.0 +Release: 1%{?dist} +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 +* Mon Oct 26 2020 Fabio Valentini decathorpe@gmail.com - 0.10.0-1 +- Initial compat package for semver 0.10 diff --git a/sources b/sources new file mode 100644 index 0000000..8a2c325 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (semver-0.10.0.crate) = 75e39076a551cd1f4e7c011e79ac762258b7995bb021298cf2fbc7b3bc9e6715ca3c5165429834738f1cfb5ea9fa3daf173ebe1e9e0f04135845c89675c89ad4
arch-excludes@lists.fedoraproject.org