parent
170b89569c
commit
c69764f68b
@ -0,0 +1 @@
|
||||
/serde_derive-1.0.19.crate
|
@ -0,0 +1,94 @@
|
||||
# Generated by rust2rpm
|
||||
# serde_derive(dev) -> serde(opt) -> serde_derive
|
||||
%bcond_with check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate serde_derive
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 1.0.19
|
||||
Release: 1%{?dist}
|
||||
Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
|
||||
|
||||
License: MIT or ASL 2.0
|
||||
URL: https://crates.io/crates/serde_derive
|
||||
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
# [dependencies]
|
||||
BuildRequires: (crate(quote) >= 0.3.8 with crate(quote) < 0.4.0)
|
||||
BuildRequires: crate(serde_derive_internals) = 0.17.0
|
||||
BuildRequires: ((crate(syn) >= 0.11.0 with crate(syn) < 0.12.0) with crate(syn/visit))
|
||||
%if %{with check}
|
||||
# [dev-dependencies]
|
||||
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel
|
||||
Macros 1.1 implementation of #[derive(Serialize, Deserialize)].
|
||||
|
||||
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
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%license LICENSE-MIT LICENSE-APACHE
|
||||
%doc README.md
|
||||
%{cargo_registry}/%{crate}-%{version}/
|
||||
|
||||
%changelog
|
||||
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.19-1
|
||||
- Update to 1.0.19
|
||||
|
||||
* Sat Jul 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.9-1
|
||||
- Update to 1.0.9
|
||||
|
||||
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.8-1
|
||||
- Update to 1.0.8
|
||||
|
||||
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.12-2
|
||||
- Port to use rust-packaging
|
||||
|
||||
* Thu Mar 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.12-1
|
||||
- Update to 0.9.12
|
||||
|
||||
* Mon Mar 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.11-1
|
||||
- Update to 0.9.11
|
||||
|
||||
* Wed Mar 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.10-1
|
||||
- Update to 0.9.10
|
||||
|
||||
* Sat Feb 25 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.9-1
|
||||
- Update to 0.9.9
|
||||
|
||||
* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.8-1
|
||||
- Update to 0.9.8
|
||||
|
||||
* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.7-2
|
||||
- Use rich dependencies
|
||||
|
||||
* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.7-1
|
||||
- Initial package
|
Loading…
Reference in new issue