diff --git a/.gitignore b/.gitignore index 6fd182c..02eea4a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /byte-unit-4.0.12.crate /byte-unit-4.0.13.crate /byte-unit-4.0.14.crate +/byte-unit-4.0.17.crate diff --git a/rust-byte-unit.spec b/rust-byte-unit.spec index 67fc3be..2820440 100644 --- a/rust-byte-unit.spec +++ b/rust-byte-unit.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate byte-unit -Name: rust-%{crate} -Version: 4.0.14 +Name: rust-byte-unit +Version: 4.0.17 Release: %autorelease Summary: Library for interaction with units of bytes -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/byte-unit Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -49,6 +46,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -61,6 +70,18 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+serde_dep-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_dep-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_dep" feature of the "%{crate}" crate. + +%files -n %{name}+serde_dep-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 953e88a..faa482a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byte-unit-4.0.14.crate) = 0f551029a1750b3576d2518f7198176bfc6bd0a98955af6935f6bc4144397b3ffabe22f39d56ab882f33997d907f135d9633c19ef8f29bf17517751fe2eefd34 +SHA512 (byte-unit-4.0.17.crate) = ef0e6a4b22af5346f580f42f76eab08a88ef24697f954c8ebd687728ea950f77bfcb3c2d780253b1678e6cc0b4ba2d73cf8f5f10e509b0428b2c3db22e65baf1