From 346962a6d36ce5d41214ee01c4e3c31ba5780eee Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:44:39 +0300 Subject: [PATCH] import rust-pulldown-cmark-escape-0.11.0-2.el10 --- .gitignore | 1 + .rust-pulldown-cmark-escape.metadata | 1 + SPECS/rust-pulldown-cmark-escape.spec | 105 ++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-pulldown-cmark-escape.metadata create mode 100644 SPECS/rust-pulldown-cmark-escape.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4628e38 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pulldown-cmark-escape-0.11.0.crate diff --git a/.rust-pulldown-cmark-escape.metadata b/.rust-pulldown-cmark-escape.metadata new file mode 100644 index 0000000..5f6ef2b --- /dev/null +++ b/.rust-pulldown-cmark-escape.metadata @@ -0,0 +1 @@ +271415848e902a38b7ac6705249e11ce64cd0c52 SOURCES/pulldown-cmark-escape-0.11.0.crate diff --git a/SPECS/rust-pulldown-cmark-escape.spec b/SPECS/rust-pulldown-cmark-escape.spec new file mode 100644 index 0000000..4884928 --- /dev/null +++ b/SPECS/rust-pulldown-cmark-escape.spec @@ -0,0 +1,105 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate pulldown-cmark-escape + +Name: rust-pulldown-cmark-escape +Version: 0.11.0 +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} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +An escape library for HTML created in the pulldown-cmark project.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{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 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.11.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Jul 18 2024 blinxen - 0.11.0-1 +- Update to version 0.11.0 + +* Wed Apr 24 2024 Fabio Valentini - 0.10.1-1 +- Update to version 0.10.1; Fixes RHBZ#2276580 + +* Fri Apr 05 2024 blinxen - 0.10.0-1 +- Initial package (rhbz#2273626) +## END: Generated by rpmautospec