# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate markup5ever Name: rust-markup5ever Version: 0.11.0 Release: %mkrel 1 Summary: Common code for xml5ever and html5ever Group: Development/Other BuildArch: noarch 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: rust-packaging >= 21 %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_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Wed Oct 18 2023 tv <tv> 0.11.0-1.mga10 + Revision: 1998499 - 0.11.0 * Tue Feb 07 2023 guillomovitch <guillomovitch> 0.10.1-1.mga9 + Revision: 1939361 - imported package rust-markup5ever