The package rpms/rust-comrak.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-comrak.git/commit/?id=5efbda....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 5efbda91b9a51844220db0ace999ca146a8a9e11
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Jan 11 18:08:21 2023 +0100
Disable doctests on ppc64le to work around a compiler crash on LLVM 15
diff --git a/comrak-fix-metadata.diff b/comrak-fix-metadata.diff
index 2eff8bb..606fb2f 100644
--- a/comrak-fix-metadata.diff
+++ b/comrak-fix-metadata.diff
@@ -1,5 +1,5 @@
--- comrak-0.12.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ comrak-0.12.1/Cargo.toml 2021-10-01T13:13:18.469921+00:00
++++ comrak-0.12.1/Cargo.toml 2023-01-11T16:59:40.673858+00:00
@@ -64,8 +64,6 @@
[dependencies.unicode_categories]
diff --git a/rust-comrak.spec b/rust-comrak.spec
index d86ecdf..df44b8c 100644
--- a/rust-comrak.spec
+++ b/rust-comrak.spec
@@ -1,127 +1,54 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 23
%bcond_without check
%global crate comrak
-Name: rust-%{crate}
+Name: rust-comrak
Version: 0.12.1
Release: %autorelease
Summary: 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter
-# Upstream license specification: BSD-2-Clause
-License: BSD
+License: BSD-2-Clause
URL:
https://crates.io/crates/comrak
Source: %{crates_source}
-# Initial patched metadata
+# Manually created patch for downstream crate metadata changes
# * drop propfuzz dev-dependency
-Patch0: comrak-fix-metadata.diff
+Patch: comrak-fix-metadata.diff
# * drop fuzzing tests
-Patch1: 0001-drop-fuzzing-tests.patch
+Patch: 0001-drop-fuzzing-tests.patch
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
100% CommonMark-compatible GitHub Flavored Markdown parser and formatter.}
%description %{_description}
-%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
-
-# 0BSD or MIT or ASL 2.0: rust-adler 1.0.2
-# ASL 2.0 or Boost: rust-ryu 1.0.5
-# ASL 2.0 or MIT: rust-autocfg 1.0.1
-# ASL 2.0 or MIT: rust-cexpr 0.4.0
-# ASL 2.0 or MIT: rust-fnv 1.0.7
-# ASL 2.0 or MIT: rust-hashbrown 0.11.2
-# ASL 2.0 or MIT: rust-indexmap 1.7.0
-# ASL 2.0 or MIT: rust-peeking_take_while 0.1.2
-# ASL 2.0 or MIT: rust-rustc-hash 1.1.0
-# ASL 2.0 or MIT: rust-xdg 2.2.0
-# ASL 2.0: rust-clang-sys 1.2.2
-# ASL 2.0: rust-line-wrap 0.1.1
-# BSD: rust-bindgen 0.57.0
-# MIT or ASL 2.0: rust-base64 0.13.0
-# MIT or ASL 2.0: rust-bitflags 1.3.2
-# MIT or ASL 2.0: rust-cc 1.0.70
-# MIT or ASL 2.0: rust-cfg-if 1.0.0
-# MIT or ASL 2.0: rust-chrono 0.4.19
-# MIT or ASL 2.0: rust-crc32fast 1.2.1
-# MIT or ASL 2.0: rust-either 1.6.1
-# MIT or ASL 2.0: rust-env_logger 0.8.4
-# MIT or ASL 2.0: rust-flate2 1.0.22
-# MIT or ASL 2.0: rust-glob 0.3.0
-# MIT or ASL 2.0: rust-humantime 2.1.0
-# MIT or ASL 2.0: rust-itoa 0.4.8
-# MIT or ASL 2.0: rust-lazy_static 1.4.0
-# MIT or ASL 2.0: rust-lazycell 1.3.0
-# MIT or ASL 2.0: rust-libc 0.2.103
-# MIT or ASL 2.0: rust-linked-hash-map 0.5.4
-# MIT or ASL 2.0: rust-log 0.4.14
-# MIT or ASL 2.0: rust-maplit 1.0.2
-# MIT or ASL 2.0: rust-num-integer 0.1.44
-# MIT or ASL 2.0: rust-num-traits 0.2.14
-# MIT or ASL 2.0: rust-pest 2.1.3
-# MIT or ASL 2.0: rust-pest_derive 2.1.0
-# MIT or ASL 2.0: rust-pest_generator 2.1.3
-# MIT or ASL 2.0: rust-pest_meta 2.1.3
-# MIT or ASL 2.0: rust-pkg-config 0.3.20
-# MIT or ASL 2.0: rust-proc-macro2 1.0.29
-# MIT or ASL 2.0: rust-quote 1.0.9
-# MIT or ASL 2.0: rust-regex 1.5.4
-# MIT or ASL 2.0: rust-regex-syntax 0.6.25
-# MIT or ASL 2.0: rust-safemem 0.3.3
-# MIT or ASL 2.0: rust-serde 1.0.130
-# MIT or ASL 2.0: rust-serde_derive 1.0.130
-# MIT or ASL 2.0: rust-serde_json 1.0.68
-# MIT or ASL 2.0: rust-shell-words 1.0.0
-# MIT or ASL 2.0: rust-shlex 0.1.1
-# MIT or ASL 2.0: rust-syn 1.0.77
-# MIT or ASL 2.0: rust-twoway 0.2.2
-# MIT or ASL 2.0: rust-ucd-trie 0.1.3
-# MIT or ASL 2.0: rust-unchecked-index 0.2.2
-# MIT or ASL 2.0: rust-unicode-width 0.1.9
-# MIT or ASL 2.0: rust-unicode-xid 0.2.2
-# MIT or ASL 2.0: rust-unicode_categories 0.1.1
-# MIT or ASL 2.0: rust-vec_map 0.8.2
-# MIT or ASL 2.0: rust-version_check 0.9.3
-# MIT or ASL 2.0: rust-yaml-rust 0.4.5
-# MIT or zlib or ASL 2.0: rust-miniz_oxide 0.4.4
-# MIT: rust-ansi_term0.11 0.11.0
-# MIT: rust-atty 0.2.14
-# MIT: rust-bincode 1.3.3
-# MIT: rust-clap2 2.33.3
-# MIT: rust-entities 1.0.1
-# MIT: rust-nom5 5.1.2
-# MIT: rust-onig 6.1.1
-# MIT: rust-onig_sys 69.6.0
-# MIT: rust-plist 1.2.1
-# MIT: rust-strsim 0.10.0
-# MIT: rust-syntect 4.6.0
-# MIT: rust-textwrap0.11 0.11.0
-# MIT: rust-typed-arena 1.7.0
-# MIT: rust-which 4.2.2
-# MIT: rust-xml-rs 0.8.4
-# Unlicense or MIT: rust-aho-corasick 0.7.18
-# Unlicense or MIT: rust-memchr 2.4.1
-# Unlicense or MIT: rust-same-file 1.0.6
-# Unlicense or MIT: rust-termcolor 1.1.2
-# Unlicense or MIT: rust-walkdir 2.3.2
-License: BSD and ASL 2.0 and MIT
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# 0BSD OR MIT OR Apache-2.0
+# Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# BSD-2-Clause
+# MIT
+# MIT OR Apache-2.0
+# MIT OR Zlib OR Apache-2.0
+# Unlicense OR MIT
+License: BSD-2-Clause AND Apache-2.0 AND MIT AND Unicode-DFS-2016
+# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
%files -n %{crate}
%license COPYING
-%doc README.md changelog.txt
+%license LICENSE.dependencies
+%doc CODE_OF_CONDUCT.md
+%doc README.md
+%doc RELEASE_CHECKLIST.md
+%doc changelog.txt
%{_bindir}/comrak
-%endif
%package devel
Summary: %{summary}
@@ -129,13 +56,16 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license COPYING
-%doc README.md changelog.txt
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/COPYING
+%doc %{crate_instdir}/CODE_OF_CONDUCT.md
+%doc %{crate_instdir}/README.md
+%doc %{crate_instdir}/RELEASE_CHECKLIST.md
+%doc %{crate_instdir}/changelog.txt
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -143,11 +73,11 @@ 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.
+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}+clap-devel
Summary: %{summary}
@@ -155,11 +85,11 @@ BuildArch: noarch
%description -n %{name}+clap-devel %{_description}
-This package contains library source intended for building other packages
-which use "clap" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "clap" feature of the "%{crate}" crate.
%files -n %{name}+clap-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+syntect-devel
Summary: %{summary}
@@ -167,11 +97,11 @@ BuildArch: noarch
%description -n %{name}+syntect-devel %{_description}
-This package contains library source intended for building other packages
-which use "syntect" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "syntect" feature of the "%{crate}" crate.
%files -n %{name}+syntect-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@@ -182,14 +112,21 @@ which use "syntect" feature of "%{crate}"
crate.
%build
%cargo_build
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
%if %{with check}
%check
+%ifarch ppc64le
+# * doctests fail to compile on ppc64le with LLVM 15:
+#
https://bugzilla.redhat.com/show_bug.cgi?id=2142648
+%cargo_test -- --lib
+%else
%cargo_test
%endif
+%endif
%changelog
%autochangelog
commit 6848a03d56f2b163f81681521ffde9c9e4c84bec
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 03:20:50 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 20de6fcf7fa4e58a55b30a90463ac244b4c20808
Author: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Tue Feb 15 16:31:32 2022 +0100
Rebuild with package notes