|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate serde_derive
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.0.92
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
@ -15,8 +15,12 @@ URL: https://crates.io/crates/serde_derive
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(quote/default) >= 0.6.3 with crate(quote/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(syn/default) >= 0.15.22 with crate(syn/default) < 0.16.0)
|
|
|
|
@ -24,9 +28,10 @@ BuildRequires: (crate(syn/visit) >= 0.15.22 with crate(syn/visit) < 0.16.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Macros 1.1 implementation of #[derive(Serialize, Deserialize)].
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Macros 1.1 implementation of #[derive(Serialize, Deserialize)].}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -84,6 +89,9 @@ which use "deserialize_in_place" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 09 11:18:58 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.92-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Josh Stone <jistone@redhat.com> - 1.0.92-1
|
|
|
|
|
- Update to 1.0.92
|
|
|
|
|
|
|
|
|
|