initial import (#1879692)

epel9
Fabio Valentini 4 years ago
parent 62f2afb3d7
commit 988ce452f3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/quick-xml-0.18.1.crate

@ -1,3 +0,0 @@
# rust-quick-xml
The rust-quick-xml package

@ -0,0 +1,123 @@
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate quick-xml
Name: rust-%{crate}
Version: 0.18.1
Release: 1%{?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}+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
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.18.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (quick-xml-0.18.1.crate) = 74158f53c40b57047d0d4a051bcc39dc6171774f1d9a497c1a208f6028c4838e568478a6f7d6047a48ead36d3beb7af4ca7a7cff2e8b3f3759f7fc31c56edaff
Loading…
Cancel
Save