Update to version 0.2.0; Fixes RHBZ#2119440

epel9 imports/e9/rust-markup5ever_rcdom-0.2.0-1.el9
Fabio Valentini 2 years ago
parent ee6d86c7da
commit 307cef66df
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/markup5ever_rcdom-0.1.0.crate /markup5ever_rcdom-0.1.0.crate
/markup5ever_rcdom-0.2.0.crate

@ -0,0 +1,14 @@
--- markup5ever_rcdom-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ markup5ever_rcdom-0.2.0/Cargo.toml 2023-03-29T12:50:34.817858+00:00
@@ -23,6 +23,11 @@
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/html5ever"
+exclude = [
+ "/data",
+ "/html5lib-tests",
+ "/xml5lib-tests",
+]
[lib]
path = "lib.rs"

@ -1,27 +1,23 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 24
# * Tests require external data # * test data is not included in published crates
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate markup5ever_rcdom %global crate markup5ever_rcdom
Name: rust-%{crate} Name: rust-markup5ever_rcdom
Version: 0.1.0 Version: 0.2.0
Release: %autorelease Release: %autorelease
Summary: Basic, unsupported DOM structure for use by tests in html5ever/xml5ever Summary: Basic, unsupported DOM structure for use by tests in html5ever/xml5ever
# Upstream license specification: MIT / Apache-2.0 License: MIT OR Apache-2.0
# https://github.com/servo/html5ever/issues/412
License: MIT or ASL 2.0
URL: https://crates.io/crates/markup5ever_rcdom URL: https://crates.io/crates/markup5ever_rcdom
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude tests and test data that is distributed with separate licenses
Patch: markup5ever_rcdom-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Basic, unsupported DOM structure for use by tests in html5ever/xml5ever.} Basic, unsupported DOM structure for use by tests in html5ever/xml5ever.}
@ -34,12 +30,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%doc README.md %license %{crate_instdir}/LICENSE-APACHE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (markup5ever_rcdom-0.1.0.crate) = 7c21836fcdd45bfdef7305327255291c92d75d3329798d31abab26297de8c381e41b4419fb7ac631310835d590b63751a63bdd87e2697ea3dfdd6599033433c7 SHA512 (markup5ever_rcdom-0.2.0.crate) = bf21aee14ec41ea9ac5a5645285173394a561c34311f4b4a7f3c2e8fb32a54a777e4913c985daa2f693bb7b1aaf799d45ab9a6f359b900d2bb916b1ff376fbe4

Loading…
Cancel
Save