Initial import (markup5ever 0.11 compat package)

epel10 imports/epel10/rust-markup5ever0.11-0.11.0-1.el10
Fabio Valentini 5 months ago
parent 7c0448cce7
commit 8bc8fc6b5e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/markup5ever-0.11.0.crate

@ -1,3 +0,0 @@
# rust-markup5ever0.11
The rust-markup5ever0.11 package

@ -0,0 +1,20 @@
--- markup5ever-0.11.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ markup5ever-0.11.0/Cargo.toml 2024-09-24T14:05:33.562114+00:00
@@ -27,7 +27,7 @@
version = "0.4"
[dependencies.phf]
-version = "0.10"
+version = "0.11"
[dependencies.string_cache]
version = "0.8"
@@ -35,7 +35,7 @@
[dependencies.tendril]
version = "0.4"
[build-dependencies.phf_codegen]
-version = "0.10"
+version = "0.11"
[build-dependencies.string_cache_codegen]
version = "0.5.1"

@ -0,0 +1,72 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate markup5ever
Name: rust-markup5ever0.11
Version: 0.11.0
Release: %autorelease
Summary: Common code for xml5ever and html5ever
License: MIT OR Apache-2.0
URL: https://crates.io/crates/markup5ever
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * bump phf dependencies from 0.10 to 0.11
Patch: markup5ever-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Common code for xml5ever and html5ever.}
%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
%doc %{crate_instdir}/local_names.txt
%{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} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (markup5ever-0.11.0.crate) = c9e9452f5bd43a7e578434467ce324a857ad600965fe37a24650f0f3e968fe1dc603ac8c7b9c4ebe2f624511cbdbc592ca0072b04ae094738670e199df9ad05e
Loading…
Cancel
Save