The package rpms/rust-netlink-packet-route.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-netlink-packet-route.git/com....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 329e4bbb33e39c45fcd5a81d392bfbc45e2d952d
Author: Gris Ge <cnfourt(a)gmail.com>
Date: Mon Sep 7 14:40:50 2020 +0800
Upgrade to 0.4.0
Signed-off-by: Gris Ge <cnfourt(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6977a6e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlink-packet-route-0.4.0.crate
diff --git a/rust-netlink-packet-route.spec b/rust-netlink-packet-route.spec
new file mode 100644
index 0000000..cdbdd7b
--- /dev/null
+++ b/rust-netlink-packet-route.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 13
+# Disable the check as it has loop dependency on other rust-netlink-* packages.
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate netlink-packet-route
+
+Name: rust-%{crate}
+Version: 0.4.0
+Release: 1%{?dist}
+Summary: Netlink packet types
+
+# Upstream license specification: MIT
+# Pull request
https://github.com/little-dude/netlink/pull/96 will
+# include LICENSE file in crate
+License: MIT
+URL:
https://crates.io/crates/netlink-packet-route
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Netlink packet types.}
+
+%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
+%{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
+
+%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
+* Wed Aug 26 2020 Gris Ge <fge(a)redhat.com> - 0.4.0-1
+- Upgrade to 0.4.0
+
+* Tue Jul 07 16:52:57 CST 2020 Gris Ge <cnfourt(a)gmail.com> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..18610ff
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (netlink-packet-route-0.4.0.crate) =
389e16ca7cb48c98567945349648ca13845fe00d3e35ca6a616944f9a70b2b334a594615f5265fe07de00e69944b331244363ea8133e0a5e392fb8fb6297e697