The package rpms/rust-genetlink.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-genetlink.git/commit/?id=c36904....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit c369043e95374ddd3c1797eb12d2c28c97ceee1f Author: Fernando Fernandez Mancera ffmancera@riseup.net Date: Mon Jan 31 12:51:06 2022 +0100
Initial import (fedora#2033058)
Signed-off-by: Fernando Fernandez Mancera ffmancera@riseup.net
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e79e204 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/genetlink-0.2.1.crate diff --git a/rust-genetlink.spec b/rust-genetlink.spec new file mode 100644 index 0000000..9c73312 --- /dev/null +++ b/rust-genetlink.spec @@ -0,0 +1,118 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate genetlink + +Name: rust-%{crate} +Version: 0.2.1 +Release: %autorelease +Summary: Communicate with generic netlink + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/genetlink +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Communicate with generic netlink.} + +%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-MIT +%{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}+async-std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-std-devel %{_description} + +This package contains library source intended for building other packages which +use the "async-std" feature of the "%{crate}" crate. + +%files -n %{name}+async-std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+smol_socket-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+smol_socket-devel %{_description} + +This package contains library source intended for building other packages which +use the "smol_socket" feature of the "%{crate}" crate. + +%files -n %{name}+smol_socket-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tokio_socket-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio_socket-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio_socket" feature of the "%{crate}" crate. + +%files -n %{name}+tokio_socket-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..0312fb5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (genetlink-0.2.1.crate) = 6c2765809d0889dfd4690e013fdb1786a429190f67c154913b3af5acf9d11c06f7c85f6181dcd0e608c8decacfcdf97ce77f99440ec01a825d59f2254b411568
arch-excludes@lists.fedoraproject.org