diff --git a/.gitignore b/.gitignore index 3fa364e..6fd182c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /byte-unit-4.0.11.crate /byte-unit-4.0.12.crate /byte-unit-4.0.13.crate +/byte-unit-4.0.14.crate diff --git a/rust-byte-unit.spec b/rust-byte-unit.spec index 53418a0..67fc3be 100644 --- a/rust-byte-unit.spec +++ b/rust-byte-unit.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate byte-unit Name: rust-%{crate} -Version: 4.0.13 +Version: 4.0.14 Release: %autorelease Summary: Library for interaction with units of bytes @@ -15,11 +15,8 @@ URL: https://crates.io/crates/byte-unit Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for interaction with units of bytes.} @@ -32,13 +29,13 @@ 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 -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +43,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -58,11 +55,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +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}+std-devel Summary: %{summary} @@ -70,11 +67,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+u128-devel Summary: %{summary} @@ -82,11 +79,11 @@ BuildArch: noarch %description -n %{name}+u128-devel %{_description} -This package contains library source intended for building other packages -which use "u128" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "u128" feature of the "%{crate}" crate. %files -n %{name}+u128-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 f384294..953e88a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (byte-unit-4.0.13.crate) = d100207e25d2a6e7a1677ba13703518bf157aef3a641020f9b569546fcf7d0405d73b8a9aaedcba812584537c0ee5d94a048e04673f49458626bd63274afe197 +SHA512 (byte-unit-4.0.14.crate) = 0f551029a1750b3576d2518f7198176bfc6bd0a98955af6935f6bc4144397b3ffabe22f39d56ab882f33997d907f135d9633c19ef8f29bf17517751fe2eefd34