From d3e469275d758bfe82600b2f3edf02e2f9ac4419 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 12 May 2022 15:03:16 +0200 Subject: [PATCH] Update to version 0.1.3; Fixes RHBZ#2080686 --- .gitignore | 1 + rust-serde_ignored.spec | 26 ++++++++++++-------------- sources | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index d914f16..a084821 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /serde_ignored-0.0.4.crate /serde_ignored-0.1.1.crate /serde_ignored-0.1.2.crate +/serde_ignored-0.1.3.crate diff --git a/rust-serde_ignored.spec b/rust-serde_ignored.spec index a9d6aeb..39b843c 100644 --- a/rust-serde_ignored.spec +++ b/rust-serde_ignored.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate serde_ignored Name: rust-%{crate} -Version: 0.1.2 +Version: 0.1.3 Release: %autorelease Summary: Find out about keys that are ignored when deserializing data @@ -15,11 +15,8 @@ URL: https://crates.io/crates/serde_ignored Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Find out about keys that are ignored when deserializing data.} @@ -32,13 +29,14 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 56048ba..207bdc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_ignored-0.1.2.crate) = c6f76051a5397615eea4aa953535ffa227cbdd6747f8f2ed0bf57d0a0b7bfa71536d8372a6cb8eb046b9a761e36f273e019754f607e6c84ae71bce25e25132cd +SHA512 (serde_ignored-0.1.3.crate) = 9c459540b614a2075cc4d6a6d5bf1f3b3f91e8e48687388b1aee4872ca0eb95b1c265fb2c918929f99d0d8f2dae22f9eef4c67c5ed2fc5376b391163b20d7bda