From 3cfcde7d78f9a3cd8cd3bc2e88490856286a7dd3 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 13 Feb 2022 15:42:25 +0100 Subject: [PATCH] Update to 0.10.1 Signed-off-by: Igor Raits --- .gitignore | 1 + rust-phf.spec | 59 ++++++++++++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 42 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index e0878c3..c70e790 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /phf-0.7.23.crate /phf-0.7.24.crate /phf-0.8.0.crate +/phf-0.10.1.crate diff --git a/rust-phf.spec b/rust-phf.spec index 846635f..994067c 100644 --- a/rust-phf.spec +++ b/rust-phf.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 20 # * The tests use the nightly macros feature %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate phf Name: rust-%{crate} -Version: 0.8.0 +Version: 0.10.1 Release: %autorelease Summary: Runtime support for perfect hash function data structures @@ -17,9 +17,6 @@ URL: https://crates.io/crates/phf Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -34,8 +31,8 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -46,8 +43,8 @@ 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 @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+macros-devel %{_description} -This package contains library source intended for building other packages -which use "macros" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+phf_macros-devel %{_description} -This package contains library source intended for building other packages -which use "phf_macros" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "phf_macros" feature of the "%{crate}" crate. %files -n %{name}+phf_macros-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -82,32 +79,56 @@ BuildArch: noarch %description -n %{name}+proc-macro-hack-devel %{_description} -This package contains library source intended for building other packages -which use "proc-macro-hack" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "proc-macro-hack" feature of the "%{crate}" crate. %files -n %{name}+proc-macro-hack-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +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 + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+uncased-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+uncased-devel %{_description} + +This package contains library source intended for building other packages which +use the "uncased" feature of the "%{crate}" crate. + +%files -n %{name}+uncased-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+unicase-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicase-devel %{_description} -This package contains library source intended for building other packages -which use "unicase" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicase" feature of the "%{crate}" crate. %files -n %{name}+unicase-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index bb07e1e..22fa0ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phf-0.8.0.crate) = a3013c4106ba72aa3cf22bd3f903eeacc24ac7cc47aad791bc5e9a63e1aff928a537399b6a86b0346c5eb37979ec01b404807e622e79a0a70a0e01e63c07a47f +SHA512 (phf-0.10.1.crate) = 84568d6d1baa7c4e6faf5f3ee09133e736977286d7cb7630a59a53fc8ea15d0d41b9242f8929184667ce576cc9946da55d1e8bc06e98824f163c91c6aa05e073