From 7d68b6d6ed03925e197bb83371985fd35dce10b6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 7 Jun 2023 22:02:17 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- rust-env_logger0.8.spec | 59 +++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/rust-env_logger0.8.spec b/rust-env_logger0.8.spec index 2efb59d..75aca69 100644 --- a/rust-env_logger0.8.spec +++ b/rust-env_logger0.8.spec @@ -1,29 +1,24 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate env_logger -Name: rust-%{crate}0.8 +Name: rust-env_logger0.8 Version: 0.8.4 Release: %autorelease Summary: Logging implementation configured via an environment variable # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/env_logger Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Logging implementation for `log` which is configured via an environment -variable.} +A logging implementation for `log` which is configured via an +environment variable.} %description %{_description} @@ -33,13 +28,15 @@ 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 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 +%{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}+atty-devel Summary: %{summary} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+atty-devel %{_description} -This package contains library source intended for building other packages -which use "atty" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "atty" feature of the "%{crate}" crate. %files -n %{name}+atty-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+humantime-devel Summary: %{summary} @@ -71,11 +68,11 @@ BuildArch: noarch %description -n %{name}+humantime-devel %{_description} -This package contains library source intended for building other packages -which use "humantime" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "humantime" feature of the "%{crate}" crate. %files -n %{name}+humantime-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} @@ -83,11 +80,11 @@ BuildArch: noarch %description -n %{name}+regex-devel %{_description} -This package contains library source intended for building other packages -which use "regex" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+termcolor-devel Summary: %{summary} @@ -95,11 +92,11 @@ BuildArch: noarch %description -n %{name}+termcolor-devel %{_description} -This package contains library source intended for building other packages -which use "termcolor" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "termcolor" feature of the "%{crate}" crate. %files -n %{name}+termcolor-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1