diff --git a/.gitignore b/.gitignore index ae5c3d3..e6a7db8 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /env_logger-0.8.3.crate /env_logger-0.8.4.crate /env_logger-0.9.0.crate +/env_logger-0.9.1.crate diff --git a/rust-env_logger.spec b/rust-env_logger.spec index 90379c2..2a950ac 100644 --- a/rust-env_logger.spec +++ b/rust-env_logger.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate env_logger -Name: rust-%{crate} -Version: 0.9.0 +Name: rust-env_logger +Version: 0.9.1 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 @@ -33,13 +29,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 +45,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 +57,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 +69,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 +81,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 +93,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 diff --git a/sources b/sources index c16cd72..b759216 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (env_logger-0.9.0.crate) = d7db85d2f7d16f7f97b6714e01e342ab6b784c799ef26ee322ec85fcee28a549b6e49a49200ff78eceacd0c682e941f8538a497e2a2a196040769c2365feb566 +SHA512 (env_logger-0.9.1.crate) = f97b63eb00e8565d8c6aabb306ed8a91ee4241ba35dd9b6e08e0029daf7fa5a54425553d4c0839e369e55fda2c85c9704f658fbb760a093f55c38429f6705d65