diff --git a/.gitignore b/.gitignore index 8ed652d..01e1287 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /phf_macros-0.8.0.crate +/phf_macros-0.10.0.crate diff --git a/rust-phf_macros.spec b/rust-phf_macros.spec index 75cd11d..d055305 100644 --- a/rust-phf_macros.spec +++ b/rust-phf_macros.spec @@ -1,11 +1,12 @@ -# Generated by rust2rpm 13 -%bcond_without check +# Generated by rust2rpm 20 +# * Circular dependency with old phf +%bcond_with check %global debug_package %{nil} %global crate phf_macros Name: rust-%{crate} -Version: 0.8.0 +Version: 0.10.0 Release: %autorelease Summary: Macros to generate types in the phf crate @@ -16,9 +17,6 @@ URL: https://crates.io/crates/phf_macros Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,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}/ @@ -45,12 +43,36 @@ 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 +%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 the "unicase" feature of the "%{crate}" crate. + +%files -n %{name}+unicase-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 the "unicase_" feature of the "%{crate}" crate. + +%files -n %{name}+unicase_-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index e3123ef..48ef7b3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phf_macros-0.8.0.crate) = ba56661aa92393fad7712f774fe4f0b7bf25d483aa7d4c4617409e655e9448b39780a904b8865293e16f8e63d62440aa0d653fe231beda4f58194de455598170 +SHA512 (phf_macros-0.10.0.crate) = edb5022e5735c5f6f78cd7774575049bc5fabe1cb444c97654135ef8cd90fc06c3f9ed94c1c0d8741f47888857e6b890ae27bb5ceb37c996cbaa90c7ddcb464a