|
|
|
@ -5,12 +5,11 @@
|
|
|
|
|
%global crate html5ever
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.22.5
|
|
|
|
|
Version: 0.22.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: High-performance browser-grade HTML5 parser
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT / Apache-2.0
|
|
|
|
|
# https://github.com/servo/html5ever/issues/365
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/html5ever
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
@ -20,7 +19,7 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(mac/default) >= 0.1.0 with crate(mac/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(markup5ever/default) >= 0.7.0 with crate(markup5ever/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(markup5ever/default) >= 0.8.0 with crate(markup5ever/default) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(syn/default) >= 0.15.0 with crate(syn/default) < 0.16.0)
|
|
|
|
@ -28,6 +27,7 @@ BuildRequires: (crate(syn/extra-traits) >= 0.15.0 with crate(syn/extra-traits)
|
|
|
|
|
BuildRequires: (crate(syn/fold) >= 0.15.0 with crate(syn/fold) < 0.16.0)
|
|
|
|
|
BuildRequires: (crate(syn/full) >= 0.15.0 with crate(syn/full) < 0.16.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(criterion/default) >= 0.2.0 with crate(criterion/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(rustc-serialize/default) >= 0.3.15 with crate(rustc-serialize/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(rustc-test/default) >= 0.3.0 with crate(rustc-test/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(typed-arena/default) >= 1.3.0 with crate(typed-arena/default) < 2.0.0)
|
|
|
|
@ -48,6 +48,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -78,5 +79,8 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 30 08:37:41 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.8-1
|
|
|
|
|
- Update to 0.22.8
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.5-1
|
|
|
|
|
- Initial package
|
|
|
|
|