initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 079c1e32d2
commit 42806f70f9
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/xml-rs-0.8.0.crate

@ -0,0 +1,57 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate xml-rs
Name: rust-%{crate}
Version: 0.8.0
Release: 1%{?dist}
Summary: XML library in pure Rust
License: MIT
URL: https://crates.io/crates/xml-rs
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
An XML library in pure Rust.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
# https://github.com/netvl/xml-rs/issues/171
%cargo_test || :
%endif
%files devel
%license LICENSE
%doc Readme.md design.md Changelog.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{_bindir}/xml-analyze
%changelog
* Fri Aug 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (xml-rs-0.8.0.crate) = 94f0bc729d58564d63b4708518313e3dc7fe7c6ff9ac94019df1507d7ce7bd6428f2bc16fb116a9d676415a94812ce1e54e30b469a2a9b5fe29dc82486c536cd
Loading…
Cancel
Save