The package rpms/rust-ethtool.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-ethtool.git/commit/?id=e6818233....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit e68182337dc0234da5b0e949bb9077658202bc56 Author: Fernando Fernandez Mancera ffmancera@riseup.net Date: Tue Feb 1 08:26:54 2022 +0100
Initial import (fedora#2033061)
Signed-off-by: Fernando Fernandez Mancera ffmancera@riseup.net
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7890da1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/ethtool-0.2.1.crate +/LICENSE-MIT diff --git a/rust-ethtool.spec b/rust-ethtool.spec new file mode 100644 index 0000000..02901a5 --- /dev/null +++ b/rust-ethtool.spec @@ -0,0 +1,122 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate ethtool + +Name: rust-%{crate} +Version: 0.2.1 +Release: %autorelease +Summary: Linux Ethtool Communication Library + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/ethtool +Source: %{crates_source} +# license file was added upstream but is not included in published crates yet +Source1: https://github.com/little-dude/netlink/raw/4171970/LICENSE-MIT + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Linux Ethtool Communication Library.} + +%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 README.md +%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 +cp %{SOURCE1} . + +%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..ed7b4fc --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (LICENSE-MIT) = 125bf67444f66606ce9c7777c2ea3ed32a2da276dc36a43456bc35acedc24a62059cbbb593f7461be0c5fae90d76487a6ad556359a0dfa2b25f474b3fe26b2ee +SHA512 (ethtool-0.2.1.crate) = ba71fafb0a77a009b5c4db8f3b40c48cee4a2412379f519bce1f2b0647bd4d87daabab8cfa8c0984f69f079b7f3e9df905eb6e7ccf7384ea7e9f60c157c3d57f
arch-excludes@lists.fedoraproject.org