|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# * tests can only be run in-tree
|
|
|
|
# * tests can only be run in-tree
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
%global crate serde_derive
|
|
|
|
%global crate serde_derive
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-serde_derive
|
|
|
|
Name: rust-serde_derive
|
|
|
|
Version: 1.0.144
|
|
|
|
Version: 1.0.195
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
|
|
|
|
Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
|
|
|
|
|
|
|
|
|
|
|
@ -14,9 +14,7 @@ License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/serde_derive
|
|
|
|
URL: https://crates.io/crates/serde_derive
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Macros 1.1 implementation of #[derive(Serialize, Deserialize)].}
|
|
|
|
Macros 1.1 implementation of #[derive(Serialize, Deserialize)].}
|
|
|
@ -64,7 +62,7 @@ use the "deserialize_in_place" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|