From 87eb9523e762e989997ac98cae50db2b529a5f32 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 24 Apr 2024 18:42:34 +0200 Subject: [PATCH] Update to version 0.10.1; Fixes RHBZ#2276580 --- .gitignore | 1 + rust-pulldown-cmark-escape.spec | 17 +++++++++++++---- sources | 3 +-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0f7115e..6c29235 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /LICENSE /pulldown-cmark-escape-0.10.0.crate +/pulldown-cmark-escape-0.10.1.crate diff --git a/rust-pulldown-cmark-escape.spec b/rust-pulldown-cmark-escape.spec index 9301a61..ae3e340 100644 --- a/rust-pulldown-cmark-escape.spec +++ b/rust-pulldown-cmark-escape.spec @@ -5,15 +5,13 @@ %global crate pulldown-cmark-escape Name: rust-pulldown-cmark-escape -Version: 0.10.0 +Version: 0.10.1 Release: %autorelease Summary: Escape library for HTML created in the pulldown-cmark project License: MIT URL: https://crates.io/crates/pulldown-cmark-escape Source: %{crates_source} -# https://github.com/pulldown-cmark/pulldown-cmark/pull/875 -Source1: https://raw.githubusercontent.com/pulldown-cmark/pulldown-cmark/v0.10.0/LICENSE BuildRequires: cargo-rpm-macros >= 24 @@ -48,9 +46,20 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+simd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd" feature of the "%{crate}" crate. + +%files -n %{name}+simd-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 -cp -pav %{SOURCE1} . %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 708b392..5872c4b 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (LICENSE) = 2a7f502b5f359414baa9e5ce26af8c58de6044f61a2efa6b5afe75044e42fc869b5ec4dcb6a7770fac0e0835b93ad644e24ed45db056aa1b8a5842c10d46b0b5 -SHA512 (pulldown-cmark-escape-0.10.0.crate) = 282bf294d525f0b7550ef33fd8ca8604c62d4175b083f241a4524e377ab26d9f578ff2f52e0bf33e371fdfd0f93adf0d14d0e3171c412046f17bcb91826d25ea +SHA512 (pulldown-cmark-escape-0.10.1.crate) = 4c60b4abcc385ba7c27210354769e63d5f7f387ce234d3078e7525b88cd2aecd2d62a7dfdc8a4cdde8ef10723a216ea5fb5214e96b5bf8d2fd84e28786b2b3aa