From dc82fe3d323a931f4f37e9ab7c1847be19357995 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 13 Feb 2022 11:43:40 +0100 Subject: [PATCH] Update to 0.10.0 Signed-off-by: Igor Raits --- .gitignore | 1 + rust-phf_shared.spec | 35 ++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 75fcff5..638b2a5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /phf_shared-0.7.23.crate /phf_shared-0.7.24.crate /phf_shared-0.8.0.crate +/phf_shared-0.10.0.crate diff --git a/rust-phf_shared.spec b/rust-phf_shared.spec index f8cea77..4b26ad4 100644 --- a/rust-phf_shared.spec +++ b/rust-phf_shared.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate phf_shared Name: rust-%{crate} -Version: 0.8.0 +Version: 0.10.0 Release: %autorelease Summary: Support code shared by PHF libraries @@ -16,9 +16,6 @@ URL: https://crates.io/crates/phf_shared Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,8 +30,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}/ @@ -45,8 +42,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 @@ -57,20 +54,32 @@ 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 716c383..22a1f4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phf_shared-0.8.0.crate) = 6ad7ac732b7cc42e7e179329fbfee7074d26652d73eb4f2b97224491d978ad9b14c66e5a539c96b84c70124ac44cfc009bf963a42c438d028bd9737b99f463f3 +SHA512 (phf_shared-0.10.0.crate) = f088a6836a28afca7a2ef5440d7aa953227785d52aa0b9fcb76c88d085fe7f0e68732f2354c9f8dfc0a90ab1b8ac214f28549780e6f32d857ff7e8963093d9e5