diff --git a/.gitignore b/.gitignore index 6077161..78323d4 100644 --- a/.gitignore +++ b/.gitignore @@ -82,3 +82,4 @@ /serde_derive-1.0.133.crate /serde_derive-1.0.134.crate /serde_derive-1.0.136.crate +/serde_derive-1.0.137.crate diff --git a/rust-serde_derive.spec b/rust-serde_derive.spec index 619189b..0c136d5 100644 --- a/rust-serde_derive.spec +++ b/rust-serde_derive.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate serde_derive Name: rust-%{crate} -Version: 1.0.136 +Version: 1.0.137 Release: %autorelease Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)] @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Macros 1.1 implementation of #[derive(Serialize, Deserialize)].} @@ -34,9 +34,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%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} @@ -48,7 +50,7 @@ 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} @@ -60,7 +62,7 @@ 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 f09126d..ed42da0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_derive-1.0.136.crate) = 92c99455a5a9ac0fe45eb6ff1ad3ea55db860031fb912ace3755d1d2aad0dd880b2d83add4d41872823bd60557ebe1cb36e898bf0ac975b1093caa9819f7c289 +SHA512 (serde_derive-1.0.137.crate) = ee47d3bad717ae16118c43e6f308a0e264bde80caab8f8649bef96ed3f7aa0f9b6a479311df22ecdc7bbcdade65f7b03b79100f8b86caf02f9a0bc77ce01035a