diff --git a/.gitignore b/.gitignore index 85fc023..803cd40 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /crc-any-2.3.12.crate /crc-any-2.4.0.crate /crc-any-2.4.1.crate +/crc-any-2.4.2.crate diff --git a/rust-crc-any.spec b/rust-crc-any.spec index 7f3e4d9..9fd3aa0 100644 --- a/rust-crc-any.spec +++ b/rust-crc-any.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate crc-any Name: rust-%{crate} -Version: 2.4.1 +Version: 2.4.2 Release: %autorelease Summary: Compute CRC values @@ -15,11 +15,8 @@ URL: https://crates.io/crates/crc-any Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: To compute CRC values by providing the length of bits, expression, reflection, @@ -33,13 +30,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} @@ -47,11 +44,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}+alloc-devel Summary: %{summary} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} -This package contains library source intended for building other packages -which use "alloc" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-helper-devel Summary: %{summary} @@ -71,11 +68,11 @@ BuildArch: noarch %description -n %{name}+debug-helper-devel %{_description} -This package contains library source intended for building other packages -which use "debug-helper" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "debug-helper" feature of the "%{crate}" crate. %files -n %{name}+debug-helper-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+development-devel Summary: %{summary} @@ -83,11 +80,11 @@ BuildArch: noarch %description -n %{name}+development-devel %{_description} -This package contains library source intended for building other packages -which use "development" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "development" feature of the "%{crate}" crate. %files -n %{name}+development-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -95,11 +92,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 0afcee2..8c44375 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crc-any-2.4.1.crate) = 3f8aac53c594b37021e1180f967c4d9e1876fb067e53612aa6c41c62c36cedfd8609af07da91b0a023e100afabc473221a3a72ad6b69621a029fba8b69cc9668 +SHA512 (crc-any-2.4.2.crate) = bf4f073c9c707be644ab045c654b0052da53c3c4e768be6ae468cd35beaeb7c55b276dfb061f2548403609b83bbacd478ac185ba84922ab0bb854164deaaafcb