|
|
@ -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
|
|
|
|