diff --git a/.gitignore b/.gitignore index ebf3461..5d39ba0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /predicates-core-1.0.1.crate /predicates-core-1.0.2.crate /predicates-core-1.0.3.crate +/predicates-core-1.0.5.crate diff --git a/rust-predicates-core.spec b/rust-predicates-core.spec index 23bf4cb..1d5868d 100644 --- a/rust-predicates-core.spec +++ b/rust-predicates-core.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate predicates-core -Name: rust-%{crate} -Version: 1.0.3 +Name: rust-predicates-core +Version: 1.0.5 Release: %autorelease Summary: API for boolean-valued predicate functions -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/predicates-core Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: API for boolean-valued predicate functions.} @@ -33,9 +30,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +45,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 12fe949..26de683 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (predicates-core-1.0.3.crate) = 76d056f0acdb2d9c5cd44828b8da8722899438fe7e11ce6c96d3ce2bc8c267508e1010e2ac2c7bedd3281fb29856a3cf29f93de51b0ee349a5ef51466ace799a +SHA512 (predicates-core-1.0.5.crate) = d94481797f2fa307391aed01d5276db04663ceac54150f922c8fdc046c3b1417cd93d767843df95985e69e0ba1202a0df82ea1820f9c67b15a91f2feb2e3e7d0