From 3a5e4fb6e40325048945f9c03ea9bbe0f2ff0baa Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 15:54:00 +0200 Subject: [PATCH] Update to version 0.1.4; Fixes RHBZ#2071249 --- .gitignore | 1 + rust-simdutf8.spec | 64 +++++++++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 40 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 9ea0a53..07b5f01 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /simdutf8-0.1.3.crate +/simdutf8-0.1.4.crate diff --git a/rust-simdutf8.spec b/rust-simdutf8.spec index c0846fb..f439594 100644 --- a/rust-simdutf8.spec +++ b/rust-simdutf8.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate simdutf8 Name: rust-%{crate} -Version: 0.1.3 +Version: 0.1.4 Release: %autorelease Summary: SIMD-accelerated UTF-8 validation @@ -15,11 +15,8 @@ URL: https://crates.io/crates/simdutf8 Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: SIMD-accelerated UTF-8 validation.} @@ -32,13 +29,16 @@ 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-MIT LICENSE-Apache -%doc examples README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-Apache +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/wasm32-development.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +46,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}+aarch64_neon-devel Summary: %{summary} @@ -58,11 +58,23 @@ BuildArch: noarch %description -n %{name}+aarch64_neon-devel %{_description} -This package contains library source intended for building other packages -which use "aarch64_neon" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "aarch64_neon" feature of the "%{crate}" crate. %files -n %{name}+aarch64_neon-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+aarch64_neon_prefetch-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aarch64_neon_prefetch-devel %{_description} + +This package contains library source intended for building other packages which +use the "aarch64_neon_prefetch" feature of the "%{crate}" crate. + +%files -n %{name}+aarch64_neon_prefetch-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hints-devel Summary: %{summary} @@ -70,11 +82,11 @@ BuildArch: noarch %description -n %{name}+hints-devel %{_description} -This package contains library source intended for building other packages -which use "hints" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "hints" feature of the "%{crate}" crate. %files -n %{name}+hints-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+public_imp-devel Summary: %{summary} @@ -82,11 +94,11 @@ BuildArch: noarch %description -n %{name}+public_imp-devel %{_description} -This package contains library source intended for building other packages -which use "public_imp" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "public_imp" feature of the "%{crate}" crate. %files -n %{name}+public_imp-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -94,11 +106,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 e9b0734..b4618cc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (simdutf8-0.1.3.crate) = 513a2f172541143cd585e7e124f6394605ea940e9adcb5fb21c6909959443478eed7323792d94df092020aaf2e464eb0b1b19163c86853d1e2c2246e732010aa +SHA512 (simdutf8-0.1.4.crate) = 9f821035e147c035707910227b51e01d3f761ab8b578d95a86a776b2a4da01bc4d8ef28df7ea2c16ca125a2699d8903b826ad07a5937728e33dd58753ebd704c