|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate quick-xml
|
|
|
|
|
|
|
|
|
|
Name: rust-quick-xml
|
|
|
|
|
Version: 0.23.0
|
|
|
|
|
Version: 0.25.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: High performance xml reader and writer
|
|
|
|
|
|
|
|
|
@ -14,10 +14,9 @@ URL: https://crates.io/crates/quick-xml
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
|
# * drop unused, optional document-features dependency
|
|
|
|
|
Patch: quick-xml-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
@ -52,6 +51,18 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+async-tokio-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+async-tokio-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "async-tokio" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+async-tokio-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+encoding-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -88,6 +99,18 @@ use the "escape-html" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+escape-html-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+overlapped-lists-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+overlapped-lists-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "overlapped-lists" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+overlapped-lists-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -112,6 +135,18 @@ use the "serialize" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+serialize-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "tokio" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
@ -127,8 +162,7 @@ use the "serialize" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# * skip a failing test: https://github.com/tafia/quick-xml/issues/443
|
|
|
|
|
%cargo_test -- -- --skip test_writer_indent_cdata
|
|
|
|
|
%cargo_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|