# 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.39 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(proc-macro2) >= 0.3.0 with crate(proc-macro2) < 0.4.0) BuildRequires: (crate(quote) >= 0.5.0 with crate(quote) < 0.6.0) BuildRequires: crate(serde_derive_internals) = 0.23.1 BuildRequires: ((crate(syn) >= 0.13.0 with crate(syn) < 0.14.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 * Tue Apr 17 2018 Josh Stone - 1.0.39-1 - Update to 1.0.39 * Wed Mar 28 2018 Josh Stone - 1.0.36-1 - Update to 1.0.36 * Mon Mar 26 2018 Igor Gnatenko - 1.0.35-1 - Update to 1.0.35 * Thu Mar 22 2018 Josh Stone - 1.0.34-1 - Update to 1.0.34 * Sat Mar 17 2018 Josh Stone - 1.0.33-1 - Update to 1.0.33 * Wed Mar 14 2018 Josh Stone - 1.0.32-1 - Update to 1.0.32 * Tue Mar 13 2018 Josh Stone - 1.0.30-1 - Update to 1.0.30 * Fri Mar 09 2018 Igor Gnatenko - 1.0.29-1 - Update to 1.0.29 * Thu Mar 08 2018 Josh Stone - 1.0.28-1 - Update to 1.0.28 * Fri Feb 09 2018 Fedora Release Engineering - 1.0.27-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 1.0.27-2 - Rebuild for rust-packaging v5 * Sun Dec 31 2017 Igor Gnatenko - 1.0.27-1 - Update to 1.0.27 * Sun Dec 24 2017 Igor Gnatenko - 1.0.25-1 - Update to 1.0.25 * Wed Dec 13 2017 Igor Gnatenko - 1.0.24-1 - Update to 1.0.24 * Thu Nov 30 2017 Igor Gnatenko - 1.0.23-1 - Update to 1.0.23 * Fri Nov 17 2017 Igor Gnatenko - 1.0.21-1 - Update to 1.0.21 * Mon Nov 13 2017 Igor Gnatenko - 1.0.20-1 - Update to 1.0.20 * Wed Nov 08 2017 Igor Gnatenko - 1.0.19-1 - Update to 1.0.19 * Sat Jul 01 2017 Igor Gnatenko - 1.0.9-1 - Update to 1.0.9 * Thu Jun 15 2017 Igor Gnatenko - 1.0.8-1 - Update to 1.0.8 * Wed Jun 14 2017 Igor Gnatenko - 0.9.12-2 - Port to use rust-packaging * Thu Mar 30 2017 Igor Gnatenko - 0.9.12-1 - Update to 0.9.12 * Mon Mar 06 2017 Igor Gnatenko - 0.9.11-1 - Update to 0.9.11 * Wed Mar 01 2017 Igor Gnatenko - 0.9.10-1 - Update to 0.9.10 * Sat Feb 25 2017 Igor Gnatenko - 0.9.9-1 - Update to 0.9.9 * Fri Feb 24 2017 Igor Gnatenko - 0.9.8-1 - Update to 0.9.8 * Fri Feb 24 2017 Igor Gnatenko - 0.9.7-2 - Use rich dependencies * Sat Feb 18 2017 Igor Gnatenko - 0.9.7-1 - Initial package