diff --git a/.gitignore b/.gitignore index da7600b..5d96fa1 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /crossbeam-utils-0.8.5.crate /crossbeam-utils-0.8.6.crate /crossbeam-utils-0.8.7.crate +/crossbeam-utils-0.8.8.crate diff --git a/crossbeam-utils-fix-metadata.diff b/crossbeam-utils-fix-metadata.diff index 14e0cf5..520a738 100644 --- a/crossbeam-utils-fix-metadata.diff +++ b/crossbeam-utils-fix-metadata.diff @@ -1,5 +1,5 @@ ---- crossbeam-utils-0.8.7/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ crossbeam-utils-0.8.7/Cargo.toml 2022-02-07T23:44:49.109890+00:00 +--- crossbeam-utils-0.8.8/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ crossbeam-utils-0.8.8/Cargo.toml 2022-03-29T10:59:12.766422+00:00 @@ -48,7 +48,3 @@ default = ["std"] nightly = [] diff --git a/rust-crossbeam-utils.spec b/rust-crossbeam-utils.spec index b5a7c02..767c76b 100644 --- a/rust-crossbeam-utils.spec +++ b/rust-crossbeam-utils.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate crossbeam-utils Name: rust-%{crate} -Version: 0.8.7 +Version: 0.8.8 Release: %autorelease Summary: Utilities for concurrent programming @@ -19,7 +19,7 @@ Patch0: crossbeam-utils-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Utilities for concurrent programming.} @@ -36,9 +36,11 @@ 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 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}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +52,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}+lazy_static-devel Summary: %{summary} @@ -62,7 +64,7 @@ This package contains library source intended for building other packages which use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} @@ -74,7 +76,7 @@ This package contains library source intended for building other packages which use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -86,7 +88,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 966bb4c..b87e4a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-utils-0.8.7.crate) = b9c999f570640513c38c95fe5e50d0e89adfd27a9370952a8ee441118ffc0f092d21f6dbe7c68f653a6e766e5c1aeb209145d49542f1bdaa1f561e6707ad482b +SHA512 (crossbeam-utils-0.8.8.crate) = ab960afdb82863160a3fa1c21c64b35b3112725bd72fc8e0724175937f4b23d0628253032229501938cd86a8e406a59c06cb44e8bdf34619de781a84ebb46ea0