Update to version 0.8.0; Fixes RHBZ#1982978

epel9
Rémi Lauzier 4 years ago
parent 4f73f969da
commit 9b518a3b58
No known key found for this signature in database
GPG Key ID: D4B9ECD143336C1D

@ -1,11 +0,0 @@
--- cfg-expr-0.7.4/Cargo.toml 1970-01-01T00:00:00+00:00
+++ cfg-expr-0.7.4/Cargo.toml 2021-07-12T16:08:07.910502+00:00
@@ -26,7 +26,7 @@
version = "1.6"
[dependencies.target-lexicon]
-version = "0.11.2"
+version = "0.12"
optional = true
[dev-dependencies.difference]
version = "2.0"

@ -1,11 +1,11 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate cfg-expr %global crate cfg-expr
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.7.4 Version: 0.8.0
Release: %autorelease Release: %autorelease
Summary: Parser and evaluator for Rust `cfg()` expressions Summary: Parser and evaluator for Rust `cfg()` expressions
@ -13,10 +13,6 @@ Summary: Parser and evaluator for Rust `cfg()` expressions
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/cfg-expr URL: https://crates.io/crates/cfg-expr
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * Update target-lexicon to version 0.12
# https://github.com/EmbarkStudios/cfg-expr/pull/27
Patch0: cfg-expr-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
@ -40,8 +36,8 @@ This package contains library source intended for building other packages
which use "%{crate}" crate. which use "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license LICENSE-MIT LICENSE-APACHE
%doc README.md CHANGELOG.md %doc examples README.md CONTRIBUTING.md CODE_OF_CONDUCT.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel

Loading…
Cancel
Save