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=a7798....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 17f24fbcaab825eab578e79cdfa4b83ce3951960
Merge: 4af597f b03a7c0
Author: Gris Ge <fge(a)redhat.com>
Date: Thu Jun 30 09:31:30 2022 +0800
Merge branch 'rawhide' into f35
commit b03a7c0d64aa927d2af2bd01b553ac278ab59496
Author: Gris Ge <fge(a)redhat.com>
Date: Wed Jun 29 21:13:57 2022 +0800
Upgrade to 0.2.3
Signed-off-by: Gris Ge <fge(a)redhat.com>
diff --git a/.gitignore b/.gitignore
index 2988ca5..8798399 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/ethtool-0.2.1.crate
/LICENSE-MIT
/ethtool-0.2.2.crate
+/ethtool-0.2.3.crate
diff --git a/rust-ethtool.spec b/rust-ethtool.spec
index 705b77d..5d01f07 100644
--- a/rust-ethtool.spec
+++ b/rust-ethtool.spec
@@ -5,7 +5,7 @@
%global crate ethtool
Name: rust-%{crate}
-Version: 0.2.2
+Version: 0.2.3
Release: %autorelease
Summary: Linux Ethtool Communication Library
diff --git a/sources b/sources
index b986d53..7525161 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (ethtool-0.2.2.crate) =
7cd52f17318e5dacc75305ccb1577303432d84c8005c95da1522a343f25f75a35b7de11e685b3457ca9a011680d53a5fbe51f6231602e720a2b3a7a5c0577f00
+SHA512 (ethtool-0.2.3.crate) =
aefbd39c3155fa17d7e40a754db43647ddf0ab4431cf6ae1acda41b9210a825d3287902355f4f3ecc9b4170771446662df691a93394a1d164f8535070b16837b
SHA512 (LICENSE-MIT) =
125bf67444f66606ce9c7777c2ea3ed32a2da276dc36a43456bc35acedc24a62059cbbb593f7461be0c5fae90d76487a6ad556359a0dfa2b25f474b3fe26b2ee
commit 8f0321bb636235e9ee241cb68365c7342cbd45c8
Author: Gris Ge <fge(a)redhat.com>
Date: Tue Apr 12 19:54:58 2022 +0800
Include LICENSE file
Signed-off-by: Gris Ge <fge(a)redhat.com>
diff --git a/sources b/sources
index e8bd53c..b986d53 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (ethtool-0.2.2.crate) =
7cd52f17318e5dacc75305ccb1577303432d84c8005c95da1522a343f25f75a35b7de11e685b3457ca9a011680d53a5fbe51f6231602e720a2b3a7a5c0577f00
+SHA512 (LICENSE-MIT) =
125bf67444f66606ce9c7777c2ea3ed32a2da276dc36a43456bc35acedc24a62059cbbb593f7461be0c5fae90d76487a6ad556359a0dfa2b25f474b3fe26b2ee
commit 9fa62dd6e657c46cce968be13d337a47d94b0b51
Author: Gris Ge <fge(a)redhat.com>
Date: Tue Apr 12 19:49:36 2022 +0800
Upgrade to 0.2.2
Signed-off-by: Gris Ge <fge(a)redhat.com>
diff --git a/.gitignore b/.gitignore
index 7890da1..2988ca5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/ethtool-0.2.1.crate
/LICENSE-MIT
+/ethtool-0.2.2.crate
diff --git a/rust-ethtool.spec b/rust-ethtool.spec
index 49e3639..705b77d 100644
--- a/rust-ethtool.spec
+++ b/rust-ethtool.spec
@@ -5,7 +5,7 @@
%global crate ethtool
Name: rust-%{crate}
-Version: 0.2.1
+Version: 0.2.2
Release: %autorelease
Summary: Linux Ethtool Communication Library
diff --git a/sources b/sources
index f6aea58..e8bd53c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (ethtool-0.2.1.crate) =
ba71fafb0a77a009b5c4db8f3b40c48cee4a2412379f519bce1f2b0647bd4d87daabab8cfa8c0984f69f079b7f3e9df905eb6e7ccf7384ea7e9f60c157c3d57f
-SHA512 (LICENSE-MIT) =
125bf67444f66606ce9c7777c2ea3ed32a2da276dc36a43456bc35acedc24a62059cbbb593f7461be0c5fae90d76487a6ad556359a0dfa2b25f474b3fe26b2ee
+SHA512 (ethtool-0.2.2.crate) =
7cd52f17318e5dacc75305ccb1577303432d84c8005c95da1522a343f25f75a35b7de11e685b3457ca9a011680d53a5fbe51f6231602e720a2b3a7a5c0577f00
commit 961a65d914a792289374738850e28e140f95fbae
Author: Fernando Fernandez Mancera <ffmancera(a)riseup.net>
Date: Tue Feb 1 09:20:14 2022 +0100
Fix copy of LICENSE-MIT
Signed-off-by: Fernando Fernandez Mancera <ffmancera(a)riseup.net>
diff --git a/rust-ethtool.spec b/rust-ethtool.spec
index 2540094..49e3639 100644
--- a/rust-ethtool.spec
+++ b/rust-ethtool.spec
@@ -100,12 +100,12 @@ use the "tokio_socket" feature of the "%{crate}"
crate.
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
-cp %{SOURCE1} .
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
+cp %{SOURCE1} .
%build
commit 9aa9f72e2aef4e619585cdadf095e9608915e971
Author: Fernando Fernandez Mancera <ffmancera(a)riseup.net>
Date: Tue Feb 1 09:08:52 2022 +0100
Add missing LICENSE-MIT to the source files
Signed-off-by: Fernando Fernandez Mancera <ffmancera(a)riseup.net>
diff --git a/.gitignore b/.gitignore
index ab68bff..7890da1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ethtool-0.2.1.crate
+/LICENSE-MIT
diff --git a/sources b/sources
index 8421f39..f6aea58 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (ethtool-0.2.1.crate) =
ba71fafb0a77a009b5c4db8f3b40c48cee4a2412379f519bce1f2b0647bd4d87daabab8cfa8c0984f69f079b7f3e9df905eb6e7ccf7384ea7e9f60c157c3d57f
+SHA512 (LICENSE-MIT) =
125bf67444f66606ce9c7777c2ea3ed32a2da276dc36a43456bc35acedc24a62059cbbb593f7461be0c5fae90d76487a6ad556359a0dfa2b25f474b3fe26b2ee
commit a77988c584516125ce445f4262ebbc7bb1fc3818
Author: Fernando Fernandez Mancera <ffmancera(a)riseup.net>
Date: Tue Feb 1 08:26:54 2022 +0100
Initial import (fedora#2033061)
Signed-off-by: Fernando Fernandez Mancera <ffmancera(a)riseup.net>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ab68bff
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/ethtool-0.2.1.crate
diff --git a/rust-ethtool.spec b/rust-ethtool.spec
new file mode 100644
index 0000000..2540094
--- /dev/null
+++ b/rust-ethtool.spec
@@ -0,0 +1,123 @@
+# 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
+cp %{SOURCE1} .
+%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..8421f39
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ethtool-0.2.1.crate) =
ba71fafb0a77a009b5c4db8f3b40c48cee4a2412379f519bce1f2b0647bd4d87daabab8cfa8c0984f69f079b7f3e9df905eb6e7ccf7384ea7e9f60c157c3d57f