From 7b1b47ea9cb2e30dfddb216205949ade0cd623fa Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 8 Jun 2023 09:16:16 -0500 Subject: [PATCH] Update to 1.5.1 Signed-off-by: Michel Alexandre Salim --- .gitignore | 1 + rust-alphanumeric-sort.spec | 42 ++++++++++++++++--------------------- sources | 2 +- 3 files changed, 20 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 1b006c9..3636a4e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /alphanumeric-sort-1.4.0.crate /alphanumeric-sort-1.4.1.crate /alphanumeric-sort-1.4.3.crate +/alphanumeric-sort-1.5.1.crate diff --git a/rust-alphanumeric-sort.spec b/rust-alphanumeric-sort.spec index cf721c7..11e6969 100644 --- a/rust-alphanumeric-sort.spec +++ b/rust-alphanumeric-sort.spec @@ -1,29 +1,23 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate alphanumeric-sort -Name: rust-%{crate} -Version: 1.4.3 +Name: rust-alphanumeric-sort +Version: 1.5.1 Release: %autorelease -Summary: Sort order for files and folders whose names contain numerals +Summary: Can help you sort order for files and folders whose names contain numerals -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/alphanumeric-sort Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -This crate can help you sort order for files and folders whose names contain -numerals.} +This crate can help you sort order for files and folders whose names +contain numerals.} %description %{_description} @@ -33,13 +27,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 +41,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}+std-devel Summary: %{summary} @@ -59,11 +53,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 088b751..c5a8023 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alphanumeric-sort-1.4.3.crate) = 9b4f0edb16ebf43b8411fcfb6f78c0934155ba7f68817f30ec0d1fde730b812af550f5e1a11411230b4f9074934971734724c39fe3779e1dc0aa9e61aa11292e +SHA512 (alphanumeric-sort-1.5.1.crate) = 7286526d10422bd0626d5ba559b0ae87ef8d2d3698dc913342ec0b0c1f8340d9ff690f186ab8da849475c576cbff343b634950216a5e25d67e9611e943da292f