|
|
@ -1,17 +1,20 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate serde_yaml
|
|
|
|
%global crate serde_yaml
|
|
|
|
|
|
|
|
%global upstream_version 0.9.34+deprecated
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-serde_yaml
|
|
|
|
Name: rust-serde_yaml
|
|
|
|
Version: 0.9.30
|
|
|
|
Version: 0.9.34
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: YAML data format for Serde
|
|
|
|
Summary: YAML data format for Serde
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/serde_yaml
|
|
|
|
URL: https://crates.io/crates/serde_yaml
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
|
|
|
Patch: serde_yaml-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
@ -48,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|