You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-quick-xml/rust-quick-xml.spec

152 lines
4.1 KiB

# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate quick-xml
Name: rust-%{crate}
Version: 0.22.0
Release: 3%{?dist}
Summary: High performance xml reader and writer
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/quick-xml
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
High performance xml reader and writer.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-MIT.md
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+encoding-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+encoding-devel %{_description}
This package contains library source intended for building other packages
which use "encoding" feature of "%{crate}" crate.
%files -n %{name}+encoding-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+encoding_rs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+encoding_rs-devel %{_description}
This package contains library source intended for building other packages
which use "encoding_rs" feature of "%{crate}" crate.
%files -n %{name}+encoding_rs-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+escape-html-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+escape-html-devel %{_description}
This package contains library source intended for building other packages
which use "escape-html" feature of "%{crate}" crate.
%files -n %{name}+escape-html-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serialize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages
which use "serialize" feature of "%{crate}" crate.
%files -n %{name}+serialize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 27 2021 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-1
- Update to version 0.22.0.
- Fixes RHBZ#1924726
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.20.0-1
- Update to version 0.20.0.
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.18.1-1
- Initial package