commit a71133d24965d674e6a4c2e046216e830b2fd8a4 Author: tigro Date: Mon Jan 15 21:33:17 2024 +0300 import rust-html5ever-0.26.0-1.el9 diff --git a/.rust-html5ever.metadata b/.rust-html5ever.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/html5ever-0.26.0.crate b/SOURCES/html5ever-0.26.0.crate new file mode 100644 index 0000000..c0a4719 Binary files /dev/null and b/SOURCES/html5ever-0.26.0.crate differ diff --git a/SOURCES/html5ever-fix-metadata-auto.diff b/SOURCES/html5ever-fix-metadata-auto.diff new file mode 100644 index 0000000..ea03668 --- /dev/null +++ b/SOURCES/html5ever-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- html5ever-0.26.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ html5ever-0.26.0/Cargo.toml 2023-03-29T12:44:56.191304+00:00 +@@ -43,5 +43,3 @@ + [build-dependencies.syn] + version = "1" + features = ["extra-traits", "full", "fold"] +-[target."cfg(bench)".dev-dependencies.criterion] +-version = "0.3" diff --git a/SPECS/rust-html5ever.spec b/SPECS/rust-html5ever.spec new file mode 100644 index 0000000..10f4cd3 --- /dev/null +++ b/SPECS/rust-html5ever.spec @@ -0,0 +1,134 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate html5ever + +Name: rust-html5ever +Version: 0.26.0 +Release: %autorelease +Summary: High-performance browser-grade HTML5 parser + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/html5ever +Source: %{crates_source} +# Automatically generated patch to strip foreign dependencies +Patch: html5ever-fix-metadata-auto.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +High-performance browser-grade HTML5 parser.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.26.0-1 +- Rebuilt for MSVSphere 9.3 + +* Wed Mar 29 2023 Fabio Valentini - 0.26.0-1 +- Update to version 0.26.0; Fixes RHBZ#2067720 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.25.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Nov 04 2022 Fabio Valentini - 0.25.2-1 +- Update to version 0.25.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.25.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.25.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.25.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.25.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.25.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Feb 15 15:30:30 CET 2020 Igor Raits - 0.25.1-1 +- Update to 0.25.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.24.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 23 07:55:27 CEST 2019 Igor Gnatenko - 0.24.1-1 +- Update to 0.24.1 + +* Fri Sep 13 18:15:47 CEST 2019 Robert-André Mauchin - 0.24.0-1 +- Update to 0.24.0 +- Bump criterion to 0.3 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.23.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 20:01:02 CEST 2019 Igor Gnatenko - 0.23.0-2 +- Regenerate + +* Sun May 05 12:41:32 CEST 2019 Igor Gnatenko - 0.23.0-1 +- Update to 0.23.0 + +* Tue Apr 30 08:37:41 CEST 2019 Igor Gnatenko - 0.22.8-1 +- Update to 0.22.8 + +* Mon Mar 11 2019 Igor Gnatenko - 0.22.5-1 +- Initial package +