From a3d1fb47f5278c1fc10603341ce43705ccf38f02 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 17 Aug 2022 18:02:47 +0200 Subject: [PATCH] Update to version 0.4.1; Fixes RHBZ#2068498 --- .gitignore | 1 + rust-serde-big-array.spec | 43 +++++++++++++-------------------------- sources | 2 +- 3 files changed, 16 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 411d0a5..ae38d56 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /serde-big-array-0.3.0.crate /serde-big-array-0.3.1.crate /serde-big-array-0.3.2.crate +/serde-big-array-0.4.1.crate diff --git a/rust-serde-big-array.spec b/rust-serde-big-array.spec index e21df9d..1ac8b06 100644 --- a/rust-serde-big-array.spec +++ b/rust-serde-big-array.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate serde-big-array -Name: rust-%{crate} -Version: 0.3.2 +Name: rust-serde-big-array +Version: 0.4.1 Release: %autorelease Summary: Big array helper for serde -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/serde-big-array Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Big array helper for serde.} @@ -32,13 +28,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,23 +43,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 - -%package -n %{name}+const-generics-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+const-generics-devel %{_description} - -This package contains library source intended for building other packages -which use "const-generics" feature of "%{crate}" crate. - -%files -n %{name}+const-generics-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 ce3913d..60e3f8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde-big-array-0.3.2.crate) = 91dec00c6d3610aeee5f77deb7fb7062aee3a77c96332dbd07d39ef3cbdb07c1f7db47ba7bfb4caa5541dee6302a8a4b4ff941c1fb16c13b4e9e4b124ca776d1 +SHA512 (serde-big-array-0.4.1.crate) = 0777c2e36c87ca88334559512d9399fb4badccbfb44d6353dda985ad762c7e9ccc375ce5b80ba6a8283458827077851436f717492772cdf0591d200d51733024