Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
Arch-excludes
April 2023
----- 2024 -----
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
arch-excludes@lists.fedoraproject.org
2 participants
295 discussions
Start a n
N
ew thread
Architecture specific change in rpms/rust-eyre.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-eyre.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-eyre.git/commit/?id=6e9ef01b81…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 6e9ef01b81ec33dde60c17ae8116abfdee95240a Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 21:08:10 2023 +0200 Skip some doctests that fail to compile with thiserror 1.0.40 diff --git a/README.md b/README.md deleted file mode 100644 index c7f68b9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-eyre - -The rust-eyre package diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff index 07dc7a4..1cb96c8 100644 --- a/eyre-fix-metadata.diff +++ b/eyre-fix-metadata.diff @@ -1,5 +1,5 @@ --- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ eyre-0.6.8/Cargo.toml 2022-07-15T12:02:08.664203+00:00 ++++ eyre-0.6.8/Cargo.toml 2023-04-20T19:05:23.324498+00:00 @@ -66,10 +66,6 @@ [dependencies.once_cell] version = "1.4.0" diff --git a/rust-eyre.spec b/rust-eyre.spec index 5d6ffc7..12bb232 100644 --- a/rust-eyre.spec +++ b/rust-eyre.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate eyre -Name: rust-%{crate} +Name: rust-eyre Version: 0.6.8 Release: %autorelease -Summary: Flexible concrete Error Reporting type built on std::error::Error +Summary: Flexible concrete Error Reporting type with customizable Reports -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/eyre
Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop optional pyo3 dependencies (version does not match what is in Fedora) -Patch0: eyre-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: eyre-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -94,7 +91,9 @@ use the "track-caller" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * some doctests fail to compile with thiserror 1.0.40: +#
https://github.com/yaahc/eyre/issues/94
+%cargo_test -- -- --skip "src/macros.rs" %endif %changelog commit dc0f92712f7a6d465f4c07de42d7ccb3db4256f9 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 22:46:55 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit a68f571d28c0ed5f31f57d833a0d6b55ea4bf6ea Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Sat Jul 23 04:00:28 2022 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-eyre.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-eyre.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-eyre.git/commit/?id=6e9ef01b81…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 6e9ef01b81ec33dde60c17ae8116abfdee95240a Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 21:08:10 2023 +0200 Skip some doctests that fail to compile with thiserror 1.0.40 diff --git a/README.md b/README.md deleted file mode 100644 index c7f68b9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-eyre - -The rust-eyre package diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff index 07dc7a4..1cb96c8 100644 --- a/eyre-fix-metadata.diff +++ b/eyre-fix-metadata.diff @@ -1,5 +1,5 @@ --- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ eyre-0.6.8/Cargo.toml 2022-07-15T12:02:08.664203+00:00 ++++ eyre-0.6.8/Cargo.toml 2023-04-20T19:05:23.324498+00:00 @@ -66,10 +66,6 @@ [dependencies.once_cell] version = "1.4.0" diff --git a/rust-eyre.spec b/rust-eyre.spec index 5d6ffc7..12bb232 100644 --- a/rust-eyre.spec +++ b/rust-eyre.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate eyre -Name: rust-%{crate} +Name: rust-eyre Version: 0.6.8 Release: %autorelease -Summary: Flexible concrete Error Reporting type built on std::error::Error +Summary: Flexible concrete Error Reporting type with customizable Reports -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/eyre
Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop optional pyo3 dependencies (version does not match what is in Fedora) -Patch0: eyre-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: eyre-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -94,7 +91,9 @@ use the "track-caller" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * some doctests fail to compile with thiserror 1.0.40: +#
https://github.com/yaahc/eyre/issues/94
+%cargo_test -- -- --skip "src/macros.rs" %endif %changelog commit dc0f92712f7a6d465f4c07de42d7ccb3db4256f9 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 22:46:55 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-eyre.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-eyre.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-eyre.git/commit/?id=6e9ef01b81…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 6e9ef01b81ec33dde60c17ae8116abfdee95240a Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 21:08:10 2023 +0200 Skip some doctests that fail to compile with thiserror 1.0.40 diff --git a/README.md b/README.md deleted file mode 100644 index c7f68b9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-eyre - -The rust-eyre package diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff index 07dc7a4..1cb96c8 100644 --- a/eyre-fix-metadata.diff +++ b/eyre-fix-metadata.diff @@ -1,5 +1,5 @@ --- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ eyre-0.6.8/Cargo.toml 2022-07-15T12:02:08.664203+00:00 ++++ eyre-0.6.8/Cargo.toml 2023-04-20T19:05:23.324498+00:00 @@ -66,10 +66,6 @@ [dependencies.once_cell] version = "1.4.0" diff --git a/rust-eyre.spec b/rust-eyre.spec index 5d6ffc7..12bb232 100644 --- a/rust-eyre.spec +++ b/rust-eyre.spec @@ -1,23 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate eyre -Name: rust-%{crate} +Name: rust-eyre Version: 0.6.8 Release: %autorelease -Summary: Flexible concrete Error Reporting type built on std::error::Error +Summary: Flexible concrete Error Reporting type with customizable Reports -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/eyre
Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop optional pyo3 dependencies (version does not match what is in Fedora) -Patch0: eyre-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: eyre-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -94,7 +91,9 @@ use the "track-caller" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# * some doctests fail to compile with thiserror 1.0.40: +#
https://github.com/yaahc/eyre/issues/94
+%cargo_test -- -- --skip "src/macros.rs" %endif %changelog
1
0
0
0
Architecture specific change in rpms/rust-askama_shared.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-askama_shared.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-askama_shared.git/commit/?id=4…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 4c4c57b0a7bae7df11661e5e11d95ef54c5c5cd0 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:13:46 2023 +0200 Disable unused markdown support with outdated comrak dependency diff --git a/README.md b/README.md deleted file mode 100644 index 5606819..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-askama_shared - -The rust-askama_shared package \ No newline at end of file diff --git a/askama_shared-fix-metadata.diff b/askama_shared-fix-metadata.diff new file mode 100644 index 0000000..14e36fd --- /dev/null +++ b/askama_shared-fix-metadata.diff @@ -0,0 +1,20 @@ +--- askama_shared-0.12.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ askama_shared-0.12.2/Cargo.toml 2023-04-20T17:57:38.819745+00:00 +@@ -22,11 +22,6 @@ + features = ["config", "humansize", "num-traits", "json", "yaml", "percent-encoding"] + [dependencies.askama_escape] + version = "0.10.3" +- +-[dependencies.comrak] +-version = "0.12" +-optional = true +-default-features = false + + [dependencies.humansize] + version = "1.1.0" +@@ -79,5 +74,4 @@ + config = ["serde", "toml"] + default = ["config", "humansize", "num-traits", "percent-encoding"] + json = ["serde", "serde_json", "askama_escape/json"] +-markdown = ["comrak"] + yaml = ["serde", "serde_yaml"] diff --git a/rust-askama_shared.spec b/rust-askama_shared.spec index 9b91be7..76ed747 100644 --- a/rust-askama_shared.spec +++ b/rust-askama_shared.spec @@ -1,20 +1,21 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate askama_shared -Name: rust-%{crate} +Name: rust-askama_shared Version: 0.12.2 Release: %autorelease Summary: Shared code for Askama # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/askama_shared
Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * drop unused markdown support with outdated dependencies +Patch: askama_shared-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -50,18 +51,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+comrak-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+comrak-devel %{_description} - -This package contains library source intended for building other packages which -use the "comrak" feature of the "%{crate}" crate. - -%files -n %{name}+comrak-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+config-devel Summary: %{summary} BuildArch: noarch @@ -98,18 +87,6 @@ use the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+markdown-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+markdown-devel %{_description} - -This package contains library source intended for building other packages which -use the "markdown" feature of the "%{crate}" crate. - -%files -n %{name}+markdown-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+num-traits-devel Summary: %{summary} BuildArch: noarch commit 3fe85784218bbd61c7dfc42fa89594c61fa779cb Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 21:34:40 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit f823f15d71cc769694f24949bb8e11b8ede7cf89 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Sat Jul 23 02:45:47 2022 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-comrak.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
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=326400ac…
. Change: -%ifarch ppc64le Thanks. Full change: ============ commit 326400acbe55e99e780a84236f58d8897440c839 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:12:46 2023 +0200 Update to version 0.18.0; Fixes RHBZ#2094154 diff --git a/.gitignore b/.gitignore index ae76b27..7c87d00 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /comrak-0.11.0.crate /comrak-0.12.0.crate /comrak-0.12.1.crate +/comrak-0.18.0.crate diff --git a/0001-drop-fuzzing-tests.patch b/0001-drop-fuzzing-tests.patch deleted file mode 100644 index 4ab50ea..0000000 --- a/0001-drop-fuzzing-tests.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 6056bf4df77b941ecc00158fdac4384406f000f3 Mon Sep 17 00:00:00 2001 -From: Fabio Valentini <decathorpe(a)gmail.com> -Date: Fri, 3 Sep 2021 11:53:09 +0200 -Subject: [PATCH] drop fuzzing tests - ---- - src/lib.rs | 2 -- - src/tests.rs | 32 -------------------------------- - 2 files changed, 34 deletions(-) - -diff --git a/src/lib.rs b/src/lib.rs -index b376702..287c70d 100644 ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -77,8 +77,6 @@ extern crate lazy_static; - extern crate pest; - #[macro_use] - extern crate pest_derive; --#[cfg(test)] --extern crate propfuzz; - extern crate regex; - #[cfg(feature = "syntect")] - extern crate syntect; -diff --git a/src/tests.rs b/src/tests.rs -index 6306a52..35ca75d 100644 ---- a/src/tests.rs -+++ b/src/tests.rs -@@ -4,7 +4,6 @@ use cm; - use html; - #[cfg(feature = "syntect")] - use plugins::syntect::SyntectAdapter; --use propfuzz::prelude::*; - use std::collections::HashMap; - use std::fmt::Debug; - use strings::build_opening_tag; -@@ -14,37 +13,6 @@ use { - ComrakPlugins, ComrakRenderOptions, - }; - --#[propfuzz] --fn fuzz_doesnt_crash(md: String) { -- let options = ComrakOptions { -- extension: ComrakExtensionOptions { -- strikethrough: true, -- tagfilter: true, -- table: true, -- autolink: true, -- tasklist: true, -- superscript: true, -- header_ids: Some("user-content-".to_string()), -- footnotes: true, -- description_lists: true, -- front_matter_delimiter: None, -- }, -- parse: ComrakParseOptions { -- smart: true, -- default_info_string: Some("Rust".to_string()), -- }, -- render: ComrakRenderOptions { -- hardbreaks: true, -- github_pre_lang: true, -- width: 80, -- unsafe_: true, -- escape: false, -- }, -- }; -- -- parse_document(&Arena::new(), &md, &options); --} -- - fn compare_strs(output: &str, expected: &str, kind: &str) { - if output != expected { - println!("Running {} test", kind); --- -2.31.1 - diff --git a/README.md b/README.md deleted file mode 100644 index a95ef4c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-comrak - -The rust-comrak package \ No newline at end of file diff --git a/comrak-fix-metadata.diff b/comrak-fix-metadata.diff index 606fb2f..1ad6fd2 100644 --- a/comrak-fix-metadata.diff +++ b/comrak-fix-metadata.diff @@ -1,11 +1,57 @@ ---- comrak-0.12.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ comrak-0.12.1/Cargo.toml 2023-01-11T16:59:40.673858+00:00 -@@ -64,8 +64,6 @@ +--- comrak-0.18.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ comrak-0.18.0/Cargo.toml 2023-04-20T18:05:12.789638+00:00 +@@ -50,15 +50,6 @@ + "syntect", + ] +-[dependencies.arbitrary] +-version = "1" +-features = ["derive"] +-optional = true +- +-[dependencies.emojis] +-version = "0.5.2" +-optional = true +- + [dependencies.entities] + version = "1.0.1" + +@@ -84,9 +75,6 @@ [dependencies.unicode_categories] version = "0.1.1" --[dev-dependencies.propfuzz] --version = "0.0.1" - [dev-dependencies.timebomb] - version = "0.1.2" +-[dev-dependencies.ntest] +-version = "0.9" +- + [features] + cli = [ + "clap", +@@ -97,7 +85,6 @@ + "cli", + "syntect", + ] +-shortcodes = ["emojis"] + + [target."cfg(all(not(windows), not(target_arch=\"wasm32\")))".dependencies.xdg] + version = "^2.1" +@@ -122,20 +109,3 @@ + ] + optional = true + default-features = false +- +-[target."cfg(not(target_arch=\"wasm32\"))".dev-dependencies.propfuzz] +-version = "0.0.1" +- +-[target."cfg(target_arch=\"wasm32\")".dependencies.clap] +-version = "4.0" +-features = [ +- "derive", +- "string", +-] +-optional = true +- +-[target."cfg(target_arch=\"wasm32\")".dependencies.syntect] +-version = "5.0" +-features = ["default-fancy"] +-optional = true +-default-features = false diff --git a/rust-comrak.spec b/rust-comrak.spec index df44b8c..3bea942 100644 --- a/rust-comrak.spec +++ b/rust-comrak.spec @@ -1,10 +1,11 @@ -# Generated by rust2rpm 23 -%bcond_without check +# Generated by rust2rpm 24 +# * missing dev-dependencies: ntest ^0.9, propfuzz 0.0.1 +%bcond_with check %global crate comrak Name: rust-comrak -Version: 0.12.1 +Version: 0.18.0 Release: %autorelease Summary: 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter @@ -12,15 +13,15 @@ License: BSD-2-Clause URL:
https://crates.io/crates/comrak
Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop propfuzz dev-dependency +# * drop unused emoji shortcodes support (missing dependency: emojis ^0.5.2) +# * drop missing dev-dependencies: ntest ^0.9, propfuzz 0.0.1 Patch: comrak-fix-metadata.diff -# * drop fuzzing tests -Patch: 0001-drop-fuzzing-tests.patch BuildRequires: rust-packaging >= 21 %global _description %{expand: -100% CommonMark-compatible GitHub Flavored Markdown parser and formatter.} +A 100% CommonMark-compatible GitHub Flavored Markdown parser and +formatter.} %description %{_description} @@ -28,15 +29,16 @@ BuildRequires: rust-packaging >= 21 Summary: %{summary} # (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 +# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause +# BSD-3-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: BSD-2-Clause AND BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} @@ -91,6 +93,30 @@ use the "clap" feature of the "%{crate}" crate. %files -n %{name}+clap-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+cli-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cli-devel %{_description} + +This package contains library source intended for building other packages which +use the "cli" feature of the "%{crate}" crate. + +%files -n %{name}+cli-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+shell-words-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+shell-words-devel %{_description} + +This package contains library source intended for building other packages which +use the "shell-words" feature of the "%{crate}" crate. + +%files -n %{name}+shell-words-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+syntect-devel Summary: %{summary} BuildArch: noarch @@ -103,6 +129,18 @@ use the "syntect" feature of the "%{crate}" crate. %files -n %{name}+syntect-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+xdg-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+xdg-devel %{_description} + +This package contains library source intended for building other packages which +use the "xdg" feature of the "%{crate}" crate. + +%files -n %{name}+xdg-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -112,6 +150,7 @@ use the "syntect" feature of the "%{crate}" crate. %build %cargo_build +%cargo_license_summary %{cargo_license} > LICENSE.dependencies %install @@ -119,14 +158,8 @@ use the "syntect" feature of the "%{crate}" crate. %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 diff --git a/sources b/sources index 0d319ea..bb3720e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comrak-0.12.1.crate) = 8d33b61fb0c097213372105743b0af4742f08f1bef72522cf0657b95d13a8ac9220bdf65ebd2afecb3e1aacf003d53848c01c1155d94a7e9d0f5ecaee6771cc7 +SHA512 (comrak-0.18.0.crate) = e79af88940302295654deb3d3bbca950e82be15d2660c5f4d208d9538323742e4e9da5f81ab90539534a76426bb80802698cff9f397dce0203d0ec2aee40d42b commit e32e9b252e438ccef4f4cad5290465e12d5f9b6f Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Sat Feb 4 23:25:38 2023 +0100 Rebuild for fixed frame pointer compiler flags in Rust RPM macros commit 3f4cd5b0f9c3c613d1edff562f1eab16760bc3cd Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 22:06:25 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-askama.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-askama.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-askama.git/commit/?id=9533b238…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 9533b2382e183fede9b3185dbc9e0ac075803346 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:14:10 2023 +0200 Disable unused markdown support with outdated comrak dependency diff --git a/README.md b/README.md deleted file mode 100644 index 6510241..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-askama - -The rust-askama package \ No newline at end of file diff --git a/askama-fix-metadata.diff b/askama-fix-metadata.diff new file mode 100644 index 0000000..dfd724d --- /dev/null +++ b/askama-fix-metadata.diff @@ -0,0 +1,10 @@ +--- askama-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ askama-0.11.1/Cargo.toml 2023-04-20T17:56:39.523486+00:00 +@@ -37,7 +37,6 @@ + config = ["askama_derive/config", "askama_shared/config"] + default = ["config", "humansize", "num-traits", "urlencode"] + humansize = ["askama_shared/humansize"] +-markdown = ["askama_shared/markdown"] + mime = [] + mime_guess = [] + num-traits = ["askama_shared/num-traits"] diff --git a/rust-askama.spec b/rust-askama.spec index b04b227..17b73dd 100644 --- a/rust-askama.spec +++ b/rust-askama.spec @@ -1,20 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate askama -Name: rust-%{crate} +Name: rust-askama Version: 0.11.1 Release: %autorelease Summary: Type-safe, compiled Jinja-like templates for Rust -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/askama
Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * drop unused markdown support with outdated dependencies +Patch: askama-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -73,18 +73,6 @@ use the "humansize" feature of the "%{crate}" crate. %files -n %{name}+humansize-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+markdown-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+markdown-devel %{_description} - -This package contains library source intended for building other packages which -use the "markdown" feature of the "%{crate}" crate. - -%files -n %{name}+markdown-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+mime-devel Summary: %{summary} BuildArch: noarch commit 9f0d0d5a59396188ddec97cfdf2ad6cfef78f5f3 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 21:34:12 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org> commit 48a03f993b68e1721a91f672a056d198589125f5 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Sat Jul 23 02:45:18 2022 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-comrak.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
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=326400ac…
. Change: -%ifarch ppc64le Thanks. Full change: ============ commit 326400acbe55e99e780a84236f58d8897440c839 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:12:46 2023 +0200 Update to version 0.18.0; Fixes RHBZ#2094154 diff --git a/.gitignore b/.gitignore index ae76b27..7c87d00 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /comrak-0.11.0.crate /comrak-0.12.0.crate /comrak-0.12.1.crate +/comrak-0.18.0.crate diff --git a/0001-drop-fuzzing-tests.patch b/0001-drop-fuzzing-tests.patch deleted file mode 100644 index 4ab50ea..0000000 --- a/0001-drop-fuzzing-tests.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 6056bf4df77b941ecc00158fdac4384406f000f3 Mon Sep 17 00:00:00 2001 -From: Fabio Valentini <decathorpe(a)gmail.com> -Date: Fri, 3 Sep 2021 11:53:09 +0200 -Subject: [PATCH] drop fuzzing tests - ---- - src/lib.rs | 2 -- - src/tests.rs | 32 -------------------------------- - 2 files changed, 34 deletions(-) - -diff --git a/src/lib.rs b/src/lib.rs -index b376702..287c70d 100644 ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -77,8 +77,6 @@ extern crate lazy_static; - extern crate pest; - #[macro_use] - extern crate pest_derive; --#[cfg(test)] --extern crate propfuzz; - extern crate regex; - #[cfg(feature = "syntect")] - extern crate syntect; -diff --git a/src/tests.rs b/src/tests.rs -index 6306a52..35ca75d 100644 ---- a/src/tests.rs -+++ b/src/tests.rs -@@ -4,7 +4,6 @@ use cm; - use html; - #[cfg(feature = "syntect")] - use plugins::syntect::SyntectAdapter; --use propfuzz::prelude::*; - use std::collections::HashMap; - use std::fmt::Debug; - use strings::build_opening_tag; -@@ -14,37 +13,6 @@ use { - ComrakPlugins, ComrakRenderOptions, - }; - --#[propfuzz] --fn fuzz_doesnt_crash(md: String) { -- let options = ComrakOptions { -- extension: ComrakExtensionOptions { -- strikethrough: true, -- tagfilter: true, -- table: true, -- autolink: true, -- tasklist: true, -- superscript: true, -- header_ids: Some("user-content-".to_string()), -- footnotes: true, -- description_lists: true, -- front_matter_delimiter: None, -- }, -- parse: ComrakParseOptions { -- smart: true, -- default_info_string: Some("Rust".to_string()), -- }, -- render: ComrakRenderOptions { -- hardbreaks: true, -- github_pre_lang: true, -- width: 80, -- unsafe_: true, -- escape: false, -- }, -- }; -- -- parse_document(&Arena::new(), &md, &options); --} -- - fn compare_strs(output: &str, expected: &str, kind: &str) { - if output != expected { - println!("Running {} test", kind); --- -2.31.1 - diff --git a/README.md b/README.md deleted file mode 100644 index a95ef4c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-comrak - -The rust-comrak package \ No newline at end of file diff --git a/comrak-fix-metadata.diff b/comrak-fix-metadata.diff index 606fb2f..1ad6fd2 100644 --- a/comrak-fix-metadata.diff +++ b/comrak-fix-metadata.diff @@ -1,11 +1,57 @@ ---- comrak-0.12.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ comrak-0.12.1/Cargo.toml 2023-01-11T16:59:40.673858+00:00 -@@ -64,8 +64,6 @@ +--- comrak-0.18.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ comrak-0.18.0/Cargo.toml 2023-04-20T18:05:12.789638+00:00 +@@ -50,15 +50,6 @@ + "syntect", + ] +-[dependencies.arbitrary] +-version = "1" +-features = ["derive"] +-optional = true +- +-[dependencies.emojis] +-version = "0.5.2" +-optional = true +- + [dependencies.entities] + version = "1.0.1" + +@@ -84,9 +75,6 @@ [dependencies.unicode_categories] version = "0.1.1" --[dev-dependencies.propfuzz] --version = "0.0.1" - [dev-dependencies.timebomb] - version = "0.1.2" +-[dev-dependencies.ntest] +-version = "0.9" +- + [features] + cli = [ + "clap", +@@ -97,7 +85,6 @@ + "cli", + "syntect", + ] +-shortcodes = ["emojis"] + + [target."cfg(all(not(windows), not(target_arch=\"wasm32\")))".dependencies.xdg] + version = "^2.1" +@@ -122,20 +109,3 @@ + ] + optional = true + default-features = false +- +-[target."cfg(not(target_arch=\"wasm32\"))".dev-dependencies.propfuzz] +-version = "0.0.1" +- +-[target."cfg(target_arch=\"wasm32\")".dependencies.clap] +-version = "4.0" +-features = [ +- "derive", +- "string", +-] +-optional = true +- +-[target."cfg(target_arch=\"wasm32\")".dependencies.syntect] +-version = "5.0" +-features = ["default-fancy"] +-optional = true +-default-features = false diff --git a/rust-comrak.spec b/rust-comrak.spec index df44b8c..3bea942 100644 --- a/rust-comrak.spec +++ b/rust-comrak.spec @@ -1,10 +1,11 @@ -# Generated by rust2rpm 23 -%bcond_without check +# Generated by rust2rpm 24 +# * missing dev-dependencies: ntest ^0.9, propfuzz 0.0.1 +%bcond_with check %global crate comrak Name: rust-comrak -Version: 0.12.1 +Version: 0.18.0 Release: %autorelease Summary: 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter @@ -12,15 +13,15 @@ License: BSD-2-Clause URL:
https://crates.io/crates/comrak
Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop propfuzz dev-dependency +# * drop unused emoji shortcodes support (missing dependency: emojis ^0.5.2) +# * drop missing dev-dependencies: ntest ^0.9, propfuzz 0.0.1 Patch: comrak-fix-metadata.diff -# * drop fuzzing tests -Patch: 0001-drop-fuzzing-tests.patch BuildRequires: rust-packaging >= 21 %global _description %{expand: -100% CommonMark-compatible GitHub Flavored Markdown parser and formatter.} +A 100% CommonMark-compatible GitHub Flavored Markdown parser and +formatter.} %description %{_description} @@ -28,15 +29,16 @@ BuildRequires: rust-packaging >= 21 Summary: %{summary} # (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 +# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause +# BSD-3-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: BSD-2-Clause AND BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} @@ -91,6 +93,30 @@ use the "clap" feature of the "%{crate}" crate. %files -n %{name}+clap-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+cli-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cli-devel %{_description} + +This package contains library source intended for building other packages which +use the "cli" feature of the "%{crate}" crate. + +%files -n %{name}+cli-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+shell-words-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+shell-words-devel %{_description} + +This package contains library source intended for building other packages which +use the "shell-words" feature of the "%{crate}" crate. + +%files -n %{name}+shell-words-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+syntect-devel Summary: %{summary} BuildArch: noarch @@ -103,6 +129,18 @@ use the "syntect" feature of the "%{crate}" crate. %files -n %{name}+syntect-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+xdg-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+xdg-devel %{_description} + +This package contains library source intended for building other packages which +use the "xdg" feature of the "%{crate}" crate. + +%files -n %{name}+xdg-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -112,6 +150,7 @@ use the "syntect" feature of the "%{crate}" crate. %build %cargo_build +%cargo_license_summary %{cargo_license} > LICENSE.dependencies %install @@ -119,14 +158,8 @@ use the "syntect" feature of the "%{crate}" crate. %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 diff --git a/sources b/sources index 0d319ea..bb3720e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comrak-0.12.1.crate) = 8d33b61fb0c097213372105743b0af4742f08f1bef72522cf0657b95d13a8ac9220bdf65ebd2afecb3e1aacf003d53848c01c1155d94a7e9d0f5ecaee6771cc7 +SHA512 (comrak-0.18.0.crate) = e79af88940302295654deb3d3bbca950e82be15d2660c5f4d208d9538323742e4e9da5f81ab90539534a76426bb80802698cff9f397dce0203d0ec2aee40d42b commit e32e9b252e438ccef4f4cad5290465e12d5f9b6f Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Sat Feb 4 23:25:38 2023 +0100 Rebuild for fixed frame pointer compiler flags in Rust RPM macros commit 3f4cd5b0f9c3c613d1edff562f1eab16760bc3cd Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 22:06:25 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-askama_shared.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-askama_shared.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-askama_shared.git/commit/?id=4…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 4c4c57b0a7bae7df11661e5e11d95ef54c5c5cd0 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:13:46 2023 +0200 Disable unused markdown support with outdated comrak dependency diff --git a/README.md b/README.md deleted file mode 100644 index 5606819..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-askama_shared - -The rust-askama_shared package \ No newline at end of file diff --git a/askama_shared-fix-metadata.diff b/askama_shared-fix-metadata.diff new file mode 100644 index 0000000..14e36fd --- /dev/null +++ b/askama_shared-fix-metadata.diff @@ -0,0 +1,20 @@ +--- askama_shared-0.12.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ askama_shared-0.12.2/Cargo.toml 2023-04-20T17:57:38.819745+00:00 +@@ -22,11 +22,6 @@ + features = ["config", "humansize", "num-traits", "json", "yaml", "percent-encoding"] + [dependencies.askama_escape] + version = "0.10.3" +- +-[dependencies.comrak] +-version = "0.12" +-optional = true +-default-features = false + + [dependencies.humansize] + version = "1.1.0" +@@ -79,5 +74,4 @@ + config = ["serde", "toml"] + default = ["config", "humansize", "num-traits", "percent-encoding"] + json = ["serde", "serde_json", "askama_escape/json"] +-markdown = ["comrak"] + yaml = ["serde", "serde_yaml"] diff --git a/rust-askama_shared.spec b/rust-askama_shared.spec index 9b91be7..76ed747 100644 --- a/rust-askama_shared.spec +++ b/rust-askama_shared.spec @@ -1,20 +1,21 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate askama_shared -Name: rust-%{crate} +Name: rust-askama_shared Version: 0.12.2 Release: %autorelease Summary: Shared code for Askama # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/askama_shared
Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * drop unused markdown support with outdated dependencies +Patch: askama_shared-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -50,18 +51,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+comrak-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+comrak-devel %{_description} - -This package contains library source intended for building other packages which -use the "comrak" feature of the "%{crate}" crate. - -%files -n %{name}+comrak-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+config-devel Summary: %{summary} BuildArch: noarch @@ -98,18 +87,6 @@ use the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+markdown-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+markdown-devel %{_description} - -This package contains library source intended for building other packages which -use the "markdown" feature of the "%{crate}" crate. - -%files -n %{name}+markdown-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+num-traits-devel Summary: %{summary} BuildArch: noarch commit 3fe85784218bbd61c7dfc42fa89594c61fa779cb Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 21:34:40 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-askama.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
The package rpms/rust-askama.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-askama.git/commit/?id=9533b238…
. Change: -ExclusiveArch: %{rust_arches} Thanks. Full change: ============ commit 9533b2382e183fede9b3185dbc9e0ac075803346 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:14:10 2023 +0200 Disable unused markdown support with outdated comrak dependency diff --git a/README.md b/README.md deleted file mode 100644 index 6510241..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-askama - -The rust-askama package \ No newline at end of file diff --git a/askama-fix-metadata.diff b/askama-fix-metadata.diff new file mode 100644 index 0000000..dfd724d --- /dev/null +++ b/askama-fix-metadata.diff @@ -0,0 +1,10 @@ +--- askama-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ askama-0.11.1/Cargo.toml 2023-04-20T17:56:39.523486+00:00 +@@ -37,7 +37,6 @@ + config = ["askama_derive/config", "askama_shared/config"] + default = ["config", "humansize", "num-traits", "urlencode"] + humansize = ["askama_shared/humansize"] +-markdown = ["askama_shared/markdown"] + mime = [] + mime_guess = [] + num-traits = ["askama_shared/num-traits"] diff --git a/rust-askama.spec b/rust-askama.spec index b04b227..17b73dd 100644 --- a/rust-askama.spec +++ b/rust-askama.spec @@ -1,20 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate askama -Name: rust-%{crate} +Name: rust-askama Version: 0.11.1 Release: %autorelease Summary: Type-safe, compiled Jinja-like templates for Rust -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL:
https://crates.io/crates/askama
Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * drop unused markdown support with outdated dependencies +Patch: askama-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -73,18 +73,6 @@ use the "humansize" feature of the "%{crate}" crate. %files -n %{name}+humansize-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+markdown-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+markdown-devel %{_description} - -This package contains library source intended for building other packages which -use the "markdown" feature of the "%{crate}" crate. - -%files -n %{name}+markdown-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+mime-devel Summary: %{summary} BuildArch: noarch commit 9f0d0d5a59396188ddec97cfdf2ad6cfef78f5f3 Author: Fedora Release Engineering <releng(a)fedoraproject.org> Date: Fri Jan 20 21:34:12 2023 +0000 Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1
0
0
0
Architecture specific change in rpms/rust-comrak.git
by githook-noreply@fedoraproject.org
20 Apr '23
20 Apr '23
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=326400ac…
. Change: -%ifarch ppc64le Thanks. Full change: ============ commit 326400acbe55e99e780a84236f58d8897440c839 Author: Fabio Valentini <decathorpe(a)gmail.com> Date: Thu Apr 20 20:12:46 2023 +0200 Update to version 0.18.0; Fixes RHBZ#2094154 diff --git a/.gitignore b/.gitignore index ae76b27..7c87d00 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /comrak-0.11.0.crate /comrak-0.12.0.crate /comrak-0.12.1.crate +/comrak-0.18.0.crate diff --git a/0001-drop-fuzzing-tests.patch b/0001-drop-fuzzing-tests.patch deleted file mode 100644 index 4ab50ea..0000000 --- a/0001-drop-fuzzing-tests.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 6056bf4df77b941ecc00158fdac4384406f000f3 Mon Sep 17 00:00:00 2001 -From: Fabio Valentini <decathorpe(a)gmail.com> -Date: Fri, 3 Sep 2021 11:53:09 +0200 -Subject: [PATCH] drop fuzzing tests - ---- - src/lib.rs | 2 -- - src/tests.rs | 32 -------------------------------- - 2 files changed, 34 deletions(-) - -diff --git a/src/lib.rs b/src/lib.rs -index b376702..287c70d 100644 ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -77,8 +77,6 @@ extern crate lazy_static; - extern crate pest; - #[macro_use] - extern crate pest_derive; --#[cfg(test)] --extern crate propfuzz; - extern crate regex; - #[cfg(feature = "syntect")] - extern crate syntect; -diff --git a/src/tests.rs b/src/tests.rs -index 6306a52..35ca75d 100644 ---- a/src/tests.rs -+++ b/src/tests.rs -@@ -4,7 +4,6 @@ use cm; - use html; - #[cfg(feature = "syntect")] - use plugins::syntect::SyntectAdapter; --use propfuzz::prelude::*; - use std::collections::HashMap; - use std::fmt::Debug; - use strings::build_opening_tag; -@@ -14,37 +13,6 @@ use { - ComrakPlugins, ComrakRenderOptions, - }; - --#[propfuzz] --fn fuzz_doesnt_crash(md: String) { -- let options = ComrakOptions { -- extension: ComrakExtensionOptions { -- strikethrough: true, -- tagfilter: true, -- table: true, -- autolink: true, -- tasklist: true, -- superscript: true, -- header_ids: Some("user-content-".to_string()), -- footnotes: true, -- description_lists: true, -- front_matter_delimiter: None, -- }, -- parse: ComrakParseOptions { -- smart: true, -- default_info_string: Some("Rust".to_string()), -- }, -- render: ComrakRenderOptions { -- hardbreaks: true, -- github_pre_lang: true, -- width: 80, -- unsafe_: true, -- escape: false, -- }, -- }; -- -- parse_document(&Arena::new(), &md, &options); --} -- - fn compare_strs(output: &str, expected: &str, kind: &str) { - if output != expected { - println!("Running {} test", kind); --- -2.31.1 - diff --git a/README.md b/README.md deleted file mode 100644 index a95ef4c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-comrak - -The rust-comrak package \ No newline at end of file diff --git a/comrak-fix-metadata.diff b/comrak-fix-metadata.diff index 606fb2f..1ad6fd2 100644 --- a/comrak-fix-metadata.diff +++ b/comrak-fix-metadata.diff @@ -1,11 +1,57 @@ ---- comrak-0.12.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ comrak-0.12.1/Cargo.toml 2023-01-11T16:59:40.673858+00:00 -@@ -64,8 +64,6 @@ +--- comrak-0.18.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ comrak-0.18.0/Cargo.toml 2023-04-20T18:05:12.789638+00:00 +@@ -50,15 +50,6 @@ + "syntect", + ] +-[dependencies.arbitrary] +-version = "1" +-features = ["derive"] +-optional = true +- +-[dependencies.emojis] +-version = "0.5.2" +-optional = true +- + [dependencies.entities] + version = "1.0.1" + +@@ -84,9 +75,6 @@ [dependencies.unicode_categories] version = "0.1.1" --[dev-dependencies.propfuzz] --version = "0.0.1" - [dev-dependencies.timebomb] - version = "0.1.2" +-[dev-dependencies.ntest] +-version = "0.9" +- + [features] + cli = [ + "clap", +@@ -97,7 +85,6 @@ + "cli", + "syntect", + ] +-shortcodes = ["emojis"] + + [target."cfg(all(not(windows), not(target_arch=\"wasm32\")))".dependencies.xdg] + version = "^2.1" +@@ -122,20 +109,3 @@ + ] + optional = true + default-features = false +- +-[target."cfg(not(target_arch=\"wasm32\"))".dev-dependencies.propfuzz] +-version = "0.0.1" +- +-[target."cfg(target_arch=\"wasm32\")".dependencies.clap] +-version = "4.0" +-features = [ +- "derive", +- "string", +-] +-optional = true +- +-[target."cfg(target_arch=\"wasm32\")".dependencies.syntect] +-version = "5.0" +-features = ["default-fancy"] +-optional = true +-default-features = false diff --git a/rust-comrak.spec b/rust-comrak.spec index df44b8c..3bea942 100644 --- a/rust-comrak.spec +++ b/rust-comrak.spec @@ -1,10 +1,11 @@ -# Generated by rust2rpm 23 -%bcond_without check +# Generated by rust2rpm 24 +# * missing dev-dependencies: ntest ^0.9, propfuzz 0.0.1 +%bcond_with check %global crate comrak Name: rust-comrak -Version: 0.12.1 +Version: 0.18.0 Release: %autorelease Summary: 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter @@ -12,15 +13,15 @@ License: BSD-2-Clause URL:
https://crates.io/crates/comrak
Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop propfuzz dev-dependency +# * drop unused emoji shortcodes support (missing dependency: emojis ^0.5.2) +# * drop missing dev-dependencies: ntest ^0.9, propfuzz 0.0.1 Patch: comrak-fix-metadata.diff -# * drop fuzzing tests -Patch: 0001-drop-fuzzing-tests.patch BuildRequires: rust-packaging >= 21 %global _description %{expand: -100% CommonMark-compatible GitHub Flavored Markdown parser and formatter.} +A 100% CommonMark-compatible GitHub Flavored Markdown parser and +formatter.} %description %{_description} @@ -28,15 +29,16 @@ BuildRequires: rust-packaging >= 21 Summary: %{summary} # (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 +# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause +# BSD-3-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: BSD-2-Clause AND BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} @@ -91,6 +93,30 @@ use the "clap" feature of the "%{crate}" crate. %files -n %{name}+clap-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+cli-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cli-devel %{_description} + +This package contains library source intended for building other packages which +use the "cli" feature of the "%{crate}" crate. + +%files -n %{name}+cli-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+shell-words-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+shell-words-devel %{_description} + +This package contains library source intended for building other packages which +use the "shell-words" feature of the "%{crate}" crate. + +%files -n %{name}+shell-words-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+syntect-devel Summary: %{summary} BuildArch: noarch @@ -103,6 +129,18 @@ use the "syntect" feature of the "%{crate}" crate. %files -n %{name}+syntect-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+xdg-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+xdg-devel %{_description} + +This package contains library source intended for building other packages which +use the "xdg" feature of the "%{crate}" crate. + +%files -n %{name}+xdg-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -112,6 +150,7 @@ use the "syntect" feature of the "%{crate}" crate. %build %cargo_build +%cargo_license_summary %{cargo_license} > LICENSE.dependencies %install @@ -119,14 +158,8 @@ use the "syntect" feature of the "%{crate}" crate. %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 diff --git a/sources b/sources index 0d319ea..bb3720e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (comrak-0.12.1.crate) = 8d33b61fb0c097213372105743b0af4742f08f1bef72522cf0657b95d13a8ac9220bdf65ebd2afecb3e1aacf003d53848c01c1155d94a7e9d0f5ecaee6771cc7 +SHA512 (comrak-0.18.0.crate) = e79af88940302295654deb3d3bbca950e82be15d2660c5f4d208d9538323742e4e9da5f81ab90539534a76426bb80802698cff9f397dce0203d0ec2aee40d42b
1
0
0
0
← Newer
1
...
6
7
8
9
10
11
12
...
30
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Results per page:
10
25
50
100
200