diff --git a/.gitignore b/.gitignore index cc69bc6..49cdeef 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /pulldown-cmark-0.9.2.crate /pulldown-cmark-0.9.3.crate /pulldown-cmark-0.9.6.crate +/pulldown-cmark-0.10.1.crate diff --git a/pulldown-cmark-fix-metadata.diff b/pulldown-cmark-fix-metadata.diff index 50bddf0..7fba157 100644 --- a/pulldown-cmark-fix-metadata.diff +++ b/pulldown-cmark-fix-metadata.diff @@ -1,8 +1,8 @@ ---- pulldown-cmark-0.9.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pulldown-cmark-0.9.6/Cargo.toml 2024-01-30T11:38:50.010325+00:00 -@@ -40,18 +40,6 @@ - doc = false - required-features = ["getopts"] +--- pulldown-cmark-0.10.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pulldown-cmark-0.10.1/Cargo.toml 2024-04-06T23:43:53.945201+00:00 +@@ -64,18 +64,6 @@ + name = "broken-link-callbacks" + required-features = ["html"] -[[bench]] -name = "html_rendering" @@ -19,13 +19,13 @@ [dependencies.bitflags] version = "2" -@@ -72,9 +60,6 @@ - +@@ -101,9 +89,6 @@ [dev-dependencies.bincode] version = "1.3.1" -- + -[dev-dependencies.criterion] --version = "0.3" +-version = "0.5" +- + [dev-dependencies.lazy_static] + version = "1.4" - [dev-dependencies.html5ever] - version = "0.26" diff --git a/rust-pulldown-cmark.spec b/rust-pulldown-cmark.spec index 58b8bc2..a23ccfe 100644 --- a/rust-pulldown-cmark.spec +++ b/rust-pulldown-cmark.spec @@ -1,10 +1,10 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global crate pulldown-cmark Name: rust-pulldown-cmark -Version: 0.9.6 +Version: 0.10.1 Release: %autorelease Summary: Pull parser for CommonMark @@ -35,7 +35,6 @@ License: MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) %files -n %{crate} %license LICENSE %license LICENSE.dependencies -%doc CONTRIBUTING.md %doc README.md %{_bindir}/pulldown-cmark @@ -50,7 +49,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE -%doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -90,6 +88,30 @@ use the "getopts" feature of the "%{crate}" crate. %files -n %{name}+getopts-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+html-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+html-devel %{_description} + +This package contains library source intended for building other packages which +use the "html" feature of the "%{crate}" crate. + +%files -n %{name}+html-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pulldown-cmark-escape-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pulldown-cmark-escape-devel %{_description} + +This package contains library source intended for building other packages which +use the "pulldown-cmark-escape" feature of the "%{crate}" crate. + +%files -n %{name}+pulldown-cmark-escape-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 58e1929..2a7314e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pulldown-cmark-0.9.6.crate) = 074d70722bb42cff59f85c209c3f0c00a739d76a22bcca123a33a0a899df49105887565d71525ec5926261efb74b912bcd024714617d83ca72bcef86bc428764 +SHA512 (pulldown-cmark-0.10.1.crate) = ad0521e7a9699cfb1eb4d14be15c80682f4cd0582ea4e6a16b694a1ac344bf487f9f87c3569799185406661b59efb925094bbc1d98d9d256d94683500e310c04