diff --git a/.gitignore b/.gitignore index a9a2031..aea391f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /once_cell-1.0.2.crate /once_cell-1.1.0.crate /once_cell-1.2.0.crate +/once_cell-1.3.0.crate diff --git a/once_cell-fix-metadata.diff b/once_cell-fix-metadata.diff new file mode 100644 index 0000000..4b51ef1 --- /dev/null +++ b/once_cell-fix-metadata.diff @@ -0,0 +1,11 @@ +--- once_cell-1.3.0/Cargo.toml 2020-01-14T17:46:39+00:00 ++++ once_cell-1.3.0/Cargo.toml 2020-01-15T00:57:23.465074+00:00 +@@ -52,7 +52,7 @@ + name = "test_synchronization" + required-features = ["std"] + [dependencies.parking_lot] +-version = "0.9.0" ++version = "0.10.0" + optional = true + default_features = false + [dev-dependencies.crossbeam-utils] diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 5e04140..476dffd 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate once_cell Name: rust-%{crate} -Version: 1.2.0 +Version: 1.3.0 Release: 1%{?dist} Summary: Single assignment cells and lazy values @@ -13,6 +13,9 @@ Summary: Single assignment cells and lazy values License: MIT or ASL 2.0 URL: https://crates.io/crates/once_cell Source: %{crates_source} +# Initial patched metadata +# * Bump to parking_lot 0.10 +Patch0: once_cell-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+parking_lot-devel Summary: %{summary} @@ -62,7 +65,7 @@ This package contains library source intended for building other packages which use "parking_lot" feature of "%{crate}" crate. %files -n %{name}+parking_lot-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -74,7 +77,7 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -95,6 +98,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 15 2020 Josh Stone - 1.3.0-1 +- Update to 1.3.0 + * Mon Sep 23 07:53:58 CEST 2019 Igor Gnatenko - 1.2.0-1 - Update to 1.2.0 diff --git a/sources b/sources index 543f028..8c08950 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.2.0.crate) = 0f3044445d4cdf0b0a84a03ae6bd98fe3922eac79835fea8b35119f66e5ed970886cc4b0c910f0514da117b6f0eac28d7727034456d6a5f08c2ef1bcd58046e3 +SHA512 (once_cell-1.3.0.crate) = 2d662e410fd3c0cc30a65e711f6ab0120f76f59e9b6b6bf0e99d2c6c1333397688d9923aa3778e956c125297cb00bc9509869279ff21725819621be7c7bdec4b