diff --git a/.gitignore b/.gitignore index a25e75a..8210534 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,14 @@ /serde_derive-1.0.127.crate /serde_derive-1.0.128.crate /serde_derive-1.0.130.crate +/serde_derive-1.0.131.crate +/serde_derive-1.0.132.crate +/serde_derive-1.0.133.crate +/serde_derive-1.0.134.crate +/serde_derive-1.0.136.crate +/serde_derive-1.0.137.crate +/serde_derive-1.0.138.crate +/serde_derive-1.0.139.crate +/serde_derive-1.0.141.crate +/serde_derive-1.0.143.crate +/serde_derive-1.0.144.crate diff --git a/rust-serde_derive.spec b/rust-serde_derive.spec index 7f8335f..1e87331 100644 --- a/rust-serde_derive.spec +++ b/rust-serde_derive.spec @@ -1,26 +1,22 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate serde_derive -Name: rust-%{crate} -Version: 1.0.130 +Name: rust-serde_derive +Version: 1.0.144 Release: %autorelease Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)] -# 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_derive Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Macros 1.1 implementation of #[derive(Serialize, Deserialize)].} @@ -33,13 +29,15 @@ 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 crates-io.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/crates-io.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +45,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 %package -n %{name}+deserialize_in_place-devel Summary: %{summary} @@ -59,11 +57,11 @@ BuildArch: noarch %description -n %{name}+deserialize_in_place-devel %{_description} -This package contains library source intended for building other packages -which use "deserialize_in_place" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "deserialize_in_place" feature of the "%{crate}" crate. %files -n %{name}+deserialize_in_place-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 36b5dbb..1c8c1fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_derive-1.0.130.crate) = d3ca974bf8856ed8a73af4eaff69941b35eef187d7e348d6d2ef9ee79eccad893e66270c7d814ac3871e09e21e603d34d7d1f24b182d9b39e9219acd42a7baa8 +SHA512 (serde_derive-1.0.144.crate) = d41208452b36b8d3f0644e58164c9c4e75f8cab2d8be09cfd1b38bdfc690e880a062e0eafe46dd4400d01f541b34c9acd3574504c4aa856afb00cfc2e9617a0a