The package rpms/rust-clap_derive.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-clap_derive.git/commit/?id=3...
https://src.fedoraproject.org/cgit/rpms/rust-clap_derive.git/commit/?id=d....
Change:
-%ifnarch s390x
+%ifnarch s390x
Thanks.
Full change:
============
commit e34a821056ced3cb5e8bb31aad527b5110babf69
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed May 11 15:12:24 2022 +0200
Update to version 3.1.18; Fixes RHBZ#2060054
diff --git a/.gitignore b/.gitignore
index 40f968b..68571e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/clap_derive-3.0.6.crate
/clap_derive-3.0.14.crate
/clap_derive-3.1.2.crate
+/clap_derive-3.1.18.crate
diff --git a/rust-clap_derive.spec b/rust-clap_derive.spec
index b28e913..e08a2da 100644
--- a/rust-clap_derive.spec
+++ b/rust-clap_derive.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate clap_derive
Name: rust-%{crate}
-Version: 3.1.2
+Version: 3.1.18
Release: %autorelease
Summary: Parse command line argument by defining a struct, derive crate
@@ -16,7 +16,7 @@ Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Parse command line argument by defining a struct, derive crate.}
@@ -33,9 +33,10 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,7 +48,7 @@ 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
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+debug-devel
Summary: %{summary}
@@ -59,7 +60,19 @@ This package contains library source intended for building other
packages which
use the "debug" feature of the "%{crate}" crate.
%files -n %{name}+debug-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+unstable-v4-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+unstable-v4-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "unstable-v4" feature of the "%{crate}" crate.
+
+%files -n %{name}+unstable-v4-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 38d7876..2b17efb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (clap_derive-3.1.2.crate) =
c09644da408105224ddf23fa6d1e8da39ebf06edaa8f8d03789f9f2f5375f38c17b1865ae148c6f266248669955599bb3947648045c72d7c49dc48334c8c779a
+SHA512 (clap_derive-3.1.18.crate) =
9bf92e45de15bdfe1ca9a1363f1d243b8df1e5e7d957d6240fa351387b362ef91dc9acffea7256c2161ae8472e35ee2cd678c0bee1f9a27771ae9f4f3f71b351
commit 31d0091d370fe8ac782d3dbea0aca64d87d3e873
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Mar 2 13:48:38 2022 +0100
Revert temporary workarounds for rustc 1.59 issues on s390x
This reverts commit dc312913f3eeeac7abbef9a616c6892cdc5ee861.
diff --git a/rust-clap_derive.spec b/rust-clap_derive.spec
index 5016c1b..b28e913 100644
--- a/rust-clap_derive.spec
+++ b/rust-clap_derive.spec
@@ -69,23 +69,15 @@ use the "debug" feature of the "%{crate}" crate.
%cargo_generate_buildrequires
%build
-%ifnarch s390x
-# * temporary workaround for rustc 1.59 issues on s390x
-#
https://bugzilla.redhat.com/show_bug.cgi?id=2058803
%cargo_build
-%endif
%install
%cargo_install
%if %{with check}
%check
-%ifnarch s390x
-# * temporary workaround for rustc 1.59 issues on s390x
-#
https://bugzilla.redhat.com/show_bug.cgi?id=2058803
%cargo_test
%endif
-%endif
%changelog
%autochangelog
commit dc312913f3eeeac7abbef9a616c6892cdc5ee861
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Feb 27 13:51:16 2022 +0100
Temporarily work around rustc 1.59 issues on s390x
diff --git a/rust-clap_derive.spec b/rust-clap_derive.spec
index b28e913..5016c1b 100644
--- a/rust-clap_derive.spec
+++ b/rust-clap_derive.spec
@@ -69,15 +69,23 @@ use the "debug" feature of the "%{crate}" crate.
%cargo_generate_buildrequires
%build
+%ifnarch s390x
+# * temporary workaround for rustc 1.59 issues on s390x
+#
https://bugzilla.redhat.com/show_bug.cgi?id=2058803
%cargo_build
+%endif
%install
%cargo_install
%if %{with check}
%check
+%ifnarch s390x
+# * temporary workaround for rustc 1.59 issues on s390x
+#
https://bugzilla.redhat.com/show_bug.cgi?id=2058803
%cargo_test
%endif
+%endif
%changelog
%autochangelog