epel10
imports/epel10/rust-markup5ever0.11-0.11.0-1.el10
parent
7c0448cce7
commit
8bc8fc6b5e
@ -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
|
Loading…
Reference in new issue