From 191d25a42f49938eda2f421092cacea91c07aa5b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 23 May 2022 18:53:07 +0200 Subject: [PATCH] Update to version 0.10.3; Fixes RHBZ#2088293 --- .gitignore | 1 + rust-cfg-expr.spec | 22 +++++++++++++--------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 6451b20..c07ac8e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /cfg-expr-0.9.0.crate /cfg-expr-0.9.1.crate /cfg-expr-0.10.2.crate +/cfg-expr-0.10.3.crate diff --git a/rust-cfg-expr.spec b/rust-cfg-expr.spec index 249d463..1aa413b 100644 --- a/rust-cfg-expr.spec +++ b/rust-cfg-expr.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate cfg-expr Name: rust-%{crate} -Version: 0.10.2 +Version: 0.10.3 Release: %autorelease Summary: Parser and evaluator for Rust `cfg()` expressions @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Parser and evaluator for Rust `cfg()` expressions.} @@ -33,9 +33,13 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.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}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +51,7 @@ 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}+target-lexicon-devel Summary: %{summary} @@ -59,7 +63,7 @@ This package contains library source intended for building other packages which use the "target-lexicon" feature of the "%{crate}" crate. %files -n %{name}+target-lexicon-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+targets-devel Summary: %{summary} @@ -71,7 +75,7 @@ This package contains library source intended for building other packages which use the "targets" feature of the "%{crate}" crate. %files -n %{name}+targets-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 b4d8c55..511fad8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cfg-expr-0.10.2.crate) = 2dd2af73ba68a77ee1bf622eb85075bbe5164531ed508ad74609ee61b2021ab402bf10462fd3986fa6d808a433b82021c67c4db5302a3ccd356ac0b477d2b880 +SHA512 (cfg-expr-0.10.3.crate) = 9397c13b4f5bed2e287a4d18b0d8775ea328f97465059911746f0d47976fef3648b6729ebf4e07edad4a0b3592bdb41f437c942fb340563d747abc4e8895c9a5