diff --git a/.gitignore b/.gitignore index f940dfd..304f7bb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,9 @@ /erased-serde-0.3.13.crate /erased-serde-0.3.15.crate /erased-serde-0.3.16.crate +/erased-serde-0.3.17.crate +/erased-serde-0.3.18.crate +/erased-serde-0.3.20.crate +/erased-serde-0.3.21.crate +/erased-serde-0.3.22.crate +/erased-serde-0.3.23.crate diff --git a/rust-erased-serde.spec b/rust-erased-serde.spec index bcfcde5..77a263f 100644 --- a/rust-erased-serde.spec +++ b/rust-erased-serde.spec @@ -1,26 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 # * tests require files which are not shipped with published crates %bcond_with check %global debug_package %{nil} %global crate erased-serde -Name: rust-%{crate} -Version: 0.3.16 +Name: rust-erased-serde +Version: 0.3.23 Release: %autorelease Summary: Type-erased Serialize and Serializer traits -# 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/erased-serde Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Type-erased Serialize and Serializer traits.} @@ -34,12 +30,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%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} @@ -48,10 +45,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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 %package -n %{name}+alloc-devel Summary: %{summary} @@ -60,10 +57,10 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use "the alloc" feature of the "%{crate}" crate. +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -72,10 +69,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-debug-devel Summary: %{summary} @@ -84,10 +81,10 @@ BuildArch: noarch %description -n %{name}+unstable-debug-devel %{_description} This package contains library source intended for building other packages which -use "the unstable-debug" feature of the "%{crate}" crate. +use the "unstable-debug" feature of the "%{crate}" crate. %files -n %{name}+unstable-debug-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 5b75c45..0a7d590 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (erased-serde-0.3.16.crate) = 2bbdb81cf5fe572dbed35409e7a7a635bc062a75e2a5adfbbad819eda4dca1bccf25638cdfd6e01feb80ea743c98cc7a2932a5a59d8dc33ddf0be3e4ac9b1260 +SHA512 (erased-serde-0.3.23.crate) = e37e6f166fb2577dbd87c0e686848ae005e5c799d849ff280070153a1d33ad4fd7e7cc11d0348344898e3c33c456f1594683c33baff572f4bc99ac89cdb2bb53