diff --git a/.gitignore b/.gitignore index 148a20b..e724a08 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /smallvec-1.6.1.crate /smallvec-1.7.0.crate /smallvec-1.8.0.crate +/smallvec-1.9.0.crate diff --git a/rust-smallvec.spec b/rust-smallvec.spec index 7e8c243..e36a1d8 100644 --- a/rust-smallvec.spec +++ b/rust-smallvec.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate smallvec Name: rust-%{crate} -Version: 1.8.0 +Version: 1.9.0 Release: %autorelease Summary: Store up to a small number of items on the stack -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/smallvec Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: 'Small vector' optimization: store up to a small number of items on the stack.} @@ -33,9 +33,10 @@ 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 -%{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} @@ -47,7 +48,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}+arbitrary-devel Summary: %{summary} @@ -59,7 +60,7 @@ This package contains library source intended for building other packages which use the "arbitrary" feature of the "%{crate}" crate. %files -n %{name}+arbitrary-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const_generics-devel Summary: %{summary} @@ -71,7 +72,7 @@ This package contains library source intended for building other packages which use the "const_generics" feature of the "%{crate}" crate. %files -n %{name}+const_generics-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const_new-devel Summary: %{summary} @@ -83,7 +84,7 @@ This package contains library source intended for building other packages which use the "const_new" feature of the "%{crate}" crate. %files -n %{name}+const_new-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+may_dangle-devel Summary: %{summary} @@ -95,7 +96,7 @@ This package contains library source intended for building other packages which use the "may_dangle" feature of the "%{crate}" crate. %files -n %{name}+may_dangle-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -107,7 +108,7 @@ This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+specialization-devel Summary: %{summary} @@ -119,7 +120,7 @@ This package contains library source intended for building other packages which use the "specialization" feature of the "%{crate}" crate. %files -n %{name}+specialization-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+union-devel Summary: %{summary} @@ -131,7 +132,7 @@ This package contains library source intended for building other packages which use the "union" feature of the "%{crate}" crate. %files -n %{name}+union-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+write-devel Summary: %{summary} @@ -143,7 +144,7 @@ This package contains library source intended for building other packages which use the "write" feature of the "%{crate}" crate. %files -n %{name}+write-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 6e3689f..2c2c777 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smallvec-1.8.0.crate) = 17687cfa6aaf95a1df063adc3a412a7c41918a0d003eaac90f7d9e859fb8fa1d652eedee17a4cb3aaae9b33a2043f89e796519e3a7a3992b292f04049bf80b0c +SHA512 (smallvec-1.9.0.crate) = e7158393d4257564eeb8fa53a630fdfc13edb33f3c555e41606edcfdbe9189e5c59c25d255dd21d02d4abad1ab2931e21744ec6c2f91ad4db66f87e748a45e56