From de02b82ad181f298503b066526ba5127f94c69e7 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 9 Dec 2019 09:35:10 -0800 Subject: [PATCH] Update to 0.1.1 --- .gitignore | 1 + rust-serde_ignored.spec | 30 +++++++++++++++++------------- sources | 2 +- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 10f700f..64dc668 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /serde_ignored-0.0.4.crate +/serde_ignored-0.1.1.crate diff --git a/rust-serde_ignored.spec b/rust-serde_ignored.spec index 0f695a3..bab0d23 100644 --- a/rust-serde_ignored.spec +++ b/rust-serde_ignored.spec @@ -1,30 +1,28 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate serde_ignored Name: rust-%{crate} -Version: 0.0.4 -Release: 7%{?dist} +Version: 0.1.1 +Release: 1%{?dist} Summary: Find out about keys that are ignored when deserializing data -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/serde_ignored -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -%endif -%global _description \ -Find out about keys that are ignored when deserializing data. +%global _description %{expand: +Find out about keys that are ignored when deserializing data.} %description %{_description} @@ -55,9 +53,12 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -70,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Dec 07 2019 Josh Stone - 0.1.1-1 +- Update to 0.1.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 94f7a04..019adde 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_ignored-0.0.4.crate) = 29911d05145b33ddfdcd5c86d57af331262393cd445eb5c464df07f8853032a156b0b1be7b90b66666748e0383831272cb53252cad7778fdd3ea20f2a04e23b4 +SHA512 (serde_ignored-0.1.1.crate) = 1ef241d6a22f47c22305da613554e7c62cab00584e06c81381eab9c1e3e12e7ea9a516f845a5818b33bcbe72ee7dc9be686598bfc0121b400b0a8e165c8941e8