From 26ce85108fece6b9731b5587d64ce81e90310b0e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 25 May 2023 20:33:46 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- rust-crunchy.spec | 52 +++++++++++++++++++++-------------------------- 1 file changed, 23 insertions(+), 29 deletions(-) diff --git a/rust-crunchy.spec b/rust-crunchy.spec index 695bf5a..3316e57 100644 --- a/rust-crunchy.spec +++ b/rust-crunchy.spec @@ -1,26 +1,20 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate crunchy -Name: rust-%{crate} +Name: rust-crunchy Version: 0.2.2 Release: %autorelease Summary: Crunchy unroller: deterministically unroll constant loops -# Upstream license specification: MIT -# https://github.com/Vurich/crunchy/issues/6 +# https://github.com/eira-fransham/crunchy/issues/6 License: MIT URL: https://crates.io/crates/crunchy Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Crunchy unroller: deterministically unroll constant loops.} @@ -34,11 +28,11 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +41,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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}+limit_1024-devel Summary: %{summary} @@ -59,10 +53,10 @@ BuildArch: noarch %description -n %{name}+limit_1024-devel %{_description} This package contains library source intended for building other packages which -use "the limit_1024" feature of the "%{crate}" crate. +use the "limit_1024" feature of the "%{crate}" crate. %files -n %{name}+limit_1024-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+limit_128-devel Summary: %{summary} @@ -71,10 +65,10 @@ BuildArch: noarch %description -n %{name}+limit_128-devel %{_description} This package contains library source intended for building other packages which -use "the limit_128" feature of the "%{crate}" crate. +use the "limit_128" feature of the "%{crate}" crate. %files -n %{name}+limit_128-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+limit_2048-devel Summary: %{summary} @@ -83,10 +77,10 @@ BuildArch: noarch %description -n %{name}+limit_2048-devel %{_description} This package contains library source intended for building other packages which -use "the limit_2048" feature of the "%{crate}" crate. +use the "limit_2048" feature of the "%{crate}" crate. %files -n %{name}+limit_2048-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+limit_256-devel Summary: %{summary} @@ -95,10 +89,10 @@ BuildArch: noarch %description -n %{name}+limit_256-devel %{_description} This package contains library source intended for building other packages which -use "the limit_256" feature of the "%{crate}" crate. +use the "limit_256" feature of the "%{crate}" crate. %files -n %{name}+limit_256-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+limit_512-devel Summary: %{summary} @@ -107,10 +101,10 @@ BuildArch: noarch %description -n %{name}+limit_512-devel %{_description} This package contains library source intended for building other packages which -use "the limit_512" feature of the "%{crate}" crate. +use the "limit_512" feature of the "%{crate}" crate. %files -n %{name}+limit_512-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+limit_64-devel Summary: %{summary} @@ -119,10 +113,10 @@ BuildArch: noarch %description -n %{name}+limit_64-devel %{_description} This package contains library source intended for building other packages which -use "the limit_64" feature of the "%{crate}" crate. +use the "limit_64" feature of the "%{crate}" crate. %files -n %{name}+limit_64-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -131,10 +125,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +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