diff --git a/.gitignore b/.gitignore index b1a3ba1..586dbc3 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,8 @@ /crossbeam-utils-0.8.3.crate /crossbeam-utils-0.8.4.crate /crossbeam-utils-0.8.5.crate +/crossbeam-utils-0.8.6.crate +/crossbeam-utils-0.8.7.crate +/crossbeam-utils-0.8.8.crate +/crossbeam-utils-0.8.10.crate +/crossbeam-utils-0.8.11.crate diff --git a/crossbeam-utils-fix-metadata-auto.diff b/crossbeam-utils-fix-metadata-auto.diff new file mode 100644 index 0000000..da139a0 --- /dev/null +++ b/crossbeam-utils-fix-metadata-auto.diff @@ -0,0 +1,9 @@ +--- crossbeam-utils-0.8.11/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ crossbeam-utils-0.8.11/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -50,6 +50,3 @@ + nightly = [] + std = ["once_cell"] + +-[target."cfg(crossbeam_loom)".dependencies.loom] +-version = "0.5" +-optional = true diff --git a/crossbeam-utils-fix-metadata.diff b/crossbeam-utils-fix-metadata.diff deleted file mode 100644 index 31177d6..0000000 --- a/crossbeam-utils-fix-metadata.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- crossbeam-utils-0.8.5/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ crossbeam-utils-0.8.5/Cargo.toml 2021-06-01T22:16:40.433988+00:00 -@@ -35,6 +35,3 @@ - default = ["std"] - nightly = [] - std = ["lazy_static"] --[target."cfg(crossbeam_loom)".dependencies.loom] --version = "0.5" --optional = true diff --git a/rust-crossbeam-utils.spec b/rust-crossbeam-utils.spec index ab2797a..db7e353 100644 --- a/rust-crossbeam-utils.spec +++ b/rust-crossbeam-utils.spec @@ -1,28 +1,23 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate crossbeam-utils -Name: rust-%{crate} -Version: 0.8.5 +Name: rust-crossbeam-utils +Version: 0.8.11 Release: %autorelease Summary: Utilities for concurrent programming -# 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/crossbeam-utils Source: %{crates_source} -# Initial patched metadata -# * drop unused loom dev-dependency -Patch0: crossbeam-utils-fix-metadata.diff +# Automatically generated patch to strip foreign dependencies +Patch: crossbeam-utils-fix-metadata-auto.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Utilities for concurrent programming.} @@ -36,12 +31,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +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,34 +47,34 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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 +%package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+lazy_static-devel %{_description} +%description -n %{name}+nightly-devel %{_description} This package contains library source intended for building other packages which -use "the lazy_static" feature of the "%{crate}" crate. +use the "nightly" feature of the "%{crate}" crate. -%files -n %{name}+lazy_static-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%files -n %{name}+nightly-devel +%ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+nightly-devel +%package -n %{name}+once_cell-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+nightly-devel %{_description} +%description -n %{name}+once_cell-devel %{_description} This package contains library source intended for building other packages which -use "the nightly" feature of the "%{crate}" crate. +use the "once_cell" feature of the "%{crate}" crate. -%files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -86,10 +83,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +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 372a7bc..ae815a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-utils-0.8.5.crate) = fd4d2ae10340bb96c22b31190b300aab54e96b8089fd62489e102c76a944e6a16c582a90bc40f5e188f13f841293a4b9becf30830c2ece04f3ce78c29066532f +SHA512 (crossbeam-utils-0.8.11.crate) = eeb19480ca1860953507606f6649756974f65a05883c695fa371ff6d80a9fd0b94872aad5168955b4771b38f50314364236cb39363bcafe9750b687ff92a5ed5