|
|
|
@ -1,34 +1,28 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate plist
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.1
|
|
|
|
|
Version: 0.4.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Rusty plist parser
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/plist
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(base64/default) >= 0.10.1 with crate(base64/default) < 0.11.0)
|
|
|
|
|
BuildRequires: (crate(byteorder/default) >= 1.1.0 with crate(byteorder/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(humantime/default) >= 1.1.1 with crate(humantime/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(line-wrap/default) >= 0.1.1 with crate(line-wrap/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.2 with crate(serde/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(xml-rs/default) >= 0.8.0 with crate(xml-rs/default) < 0.9.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.2 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
A rusty plist parser. Supports Serde serialization.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Rusty plist parser. Supports Serde serialization.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -74,6 +68,9 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -86,6 +83,9 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 18 10:33:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-1
|
|
|
|
|
- Update to 0.4.2
|
|
|
|
|
|
|
|
|
|
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
|
|
|
|
|
- Update to 0.4.1
|
|
|
|
|
|
|
|
|
|