From c1736a84991b637679316bd1f0e3e1f4f83bf25a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 7 Jan 2022 18:35:16 +0100 Subject: [PATCH 01/10] Update to version 1.9.0; Fixes RHBZ#2032465 --- .gitignore | 1 + .rust2rpm.conf | 3 +++ rust-once_cell.spec | 21 +++++++++------------ sources | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 1bd3ef9..ca9e0a3 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /once_cell-1.7.1.crate /once_cell-1.7.2.crate /once_cell-1.8.0.crate +/once_cell-1.9.0.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..6593735 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + atomic-polyfill diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 0c1b5ee..42dd86d 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate once_cell Name: rust-%{crate} -Version: 1.8.0 +Version: 1.9.0 Release: %autorelease Summary: Single assignment cells and lazy values @@ -15,9 +15,6 @@ URL: https://crates.io/crates/once_cell Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,7 +30,7 @@ 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 @@ -47,7 +44,7 @@ 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 @@ -59,7 +56,7 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use "the alloc" feature of the "%{crate}" crate. +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -71,7 +68,7 @@ BuildArch: noarch %description -n %{name}+parking_lot-devel %{_description} This package contains library source intended for building other packages which -use "the parking_lot" feature of the "%{crate}" crate. +use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -83,7 +80,7 @@ BuildArch: noarch %description -n %{name}+race-devel %{_description} This package contains library source intended for building other packages which -use "the race" feature of the "%{crate}" crate. +use the "race" feature of the "%{crate}" crate. %files -n %{name}+race-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -95,7 +92,7 @@ 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 @@ -107,7 +104,7 @@ BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which -use "the unstable" feature of the "%{crate}" crate. +use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 125c615..2ffc465 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.8.0.crate) = 88e55c9433225ce85a08353168c87fca2237615482160a5c28f3ac17f06d48c63e0c21b5f7ef81f82ca133436e371802ea099453844f1c111003bcb6ba89e827 +SHA512 (once_cell-1.9.0.crate) = cfdb6aa4bcc0f50d4c37eb69867d2deefa70323a7b607e55180b7d417b7188c4f2889417fd04fc51671c65eac75c7d9e7eda06a87dedb846056def66d14eaa46 From 077a69f4fa8161c939357ba2a22554eee0d1f103 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 4 Mar 2022 22:53:30 +0100 Subject: [PATCH 03/10] Update to version 1.10.0; Fixes RHBZ#2060589 --- .gitignore | 1 + rust-once_cell.spec | 26 ++++++++++++++------------ sources | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index ca9e0a3..e4e60e5 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /once_cell-1.7.2.crate /once_cell-1.8.0.crate /once_cell-1.9.0.crate +/once_cell-1.10.0.crate diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 42dd86d..2c4bd16 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate once_cell Name: rust-%{crate} -Version: 1.9.0 +Version: 1.10.0 Release: %autorelease Summary: Single assignment cells and lazy values @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Single assignment cells and lazy values.} @@ -33,9 +33,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} @@ -47,7 +49,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}+alloc-devel Summary: %{summary} @@ -59,7 +61,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parking_lot-devel Summary: %{summary} @@ -71,7 +73,7 @@ This package contains library source intended for building other packages which use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+race-devel Summary: %{summary} @@ -83,7 +85,7 @@ This package contains library source intended for building other packages which use the "race" feature of the "%{crate}" crate. %files -n %{name}+race-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -95,7 +97,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 %package -n %{name}+unstable-devel Summary: %{summary} @@ -107,7 +109,7 @@ This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 2ffc465..f1336f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.9.0.crate) = cfdb6aa4bcc0f50d4c37eb69867d2deefa70323a7b607e55180b7d417b7188c4f2889417fd04fc51671c65eac75c7d9e7eda06a87dedb846056def66d14eaa46 +SHA512 (once_cell-1.10.0.crate) = f6b5ce5e68923296d2041f83ac037f10ad7b9e94fc607c71332e8ee942a02c29534c2073cecdb132c7e1d91428e9d9687fbf05393ca0abbf7e15db50bb3b74ab From 9b7d71bfd546db69c15d60572957130cc4bf743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 24 May 2022 14:21:52 +0200 Subject: [PATCH 04/10] update to 1.12.0 --- .gitignore | 1 + rust-once_cell.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e4e60e5..b7198cf 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /once_cell-1.8.0.crate /once_cell-1.9.0.crate /once_cell-1.10.0.crate +/once_cell-1.12.0.crate diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 2c4bd16..54f71a1 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -5,7 +5,7 @@ %global crate once_cell Name: rust-%{crate} -Version: 1.10.0 +Version: 1.12.0 Release: %autorelease Summary: Single assignment cells and lazy values diff --git a/sources b/sources index f1336f7..a08dab2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.10.0.crate) = f6b5ce5e68923296d2041f83ac037f10ad7b9e94fc607c71332e8ee942a02c29534c2073cecdb132c7e1d91428e9d9687fbf05393ca0abbf7e15db50bb3b74ab +SHA512 (once_cell-1.12.0.crate) = 02da0e6eccee2d5246fff5e6323bd7eff0f4641801be5e5910763929a5e9d8b62c07f81001c405cc6aff03f68a14ed5bfebd9900bbdd09568bd1ab9ca9b73093 From 1d80ba880223b512a113f1e48bb6ea6741a03877 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 May 2022 23:02:35 +0200 Subject: [PATCH 05/10] Fix missing subpackage for the optional parking_lot_core feature --- rust-once_cell.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 54f71a1..fcf9167 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -75,6 +75,18 @@ use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+parking_lot_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parking_lot_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "parking_lot_core" feature of the "%{crate}" crate. + +%files -n %{name}+parking_lot_core-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+race-devel Summary: %{summary} BuildArch: noarch From 740b8aaa8e8ebe95a305b20e4a80bc0f92d325a0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 8 Jul 2022 16:28:39 +0200 Subject: [PATCH 06/10] Update to version 1.13.0; Fixes RHBZ#2103650 --- .gitignore | 1 + rust-once_cell.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b7198cf..12d0d69 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /once_cell-1.9.0.crate /once_cell-1.10.0.crate /once_cell-1.12.0.crate +/once_cell-1.13.0.crate diff --git a/rust-once_cell.spec b/rust-once_cell.spec index fcf9167..fd6074e 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -5,7 +5,7 @@ %global crate once_cell Name: rust-%{crate} -Version: 1.12.0 +Version: 1.13.0 Release: %autorelease Summary: Single assignment cells and lazy values diff --git a/sources b/sources index a08dab2..8efb760 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.12.0.crate) = 02da0e6eccee2d5246fff5e6323bd7eff0f4641801be5e5910763929a5e9d8b62c07f81001c405cc6aff03f68a14ed5bfebd9900bbdd09568bd1ab9ca9b73093 +SHA512 (once_cell-1.13.0.crate) = 20a72f8741e6edc2b7f54eee822fdbea1b1c0120d3621059f61eca2d5adbcf044a474b5142871d37a3c0f90495224ec8fbb3b90e62660b66fde3a4d3a5add303 From badbdffc91cfbdaaa3a4f0de7007d66324b37162 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 16 Aug 2022 15:49:41 +0200 Subject: [PATCH 08/10] Update to version 1.13.1; Fixes RHBZ#2118693 --- .gitignore | 1 + rust-once_cell.spec | 9 ++++----- .rust2rpm.conf => rust2rpm.conf | 0 sources | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename .rust2rpm.conf => rust2rpm.conf (100%) diff --git a/.gitignore b/.gitignore index 12d0d69..0391c19 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /once_cell-1.10.0.crate /once_cell-1.12.0.crate /once_cell-1.13.0.crate +/once_cell-1.13.1.crate diff --git a/rust-once_cell.spec b/rust-once_cell.spec index fd6074e..b5c348b 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -1,16 +1,15 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate once_cell -Name: rust-%{crate} -Version: 1.13.0 +Name: rust-once_cell +Version: 1.13.1 Release: %autorelease Summary: Single assignment cells and lazy values -# 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/once_cell Source: %{crates_source} diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index 8efb760..5a69c19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.13.0.crate) = 20a72f8741e6edc2b7f54eee822fdbea1b1c0120d3621059f61eca2d5adbcf044a474b5142871d37a3c0f90495224ec8fbb3b90e62660b66fde3a4d3a5add303 +SHA512 (once_cell-1.13.1.crate) = 492831607d12846923107b464a70de62f5997845faaae1625f3e54e2610e96b0355ce9e554051c2fae28f7e6e558ed456a6fc0b3c6a71b26f7443ede5eff5b32 From 9bea6b201409ca741c36416cc797f20054c8a3ef Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 2 Sep 2022 14:56:05 +0200 Subject: [PATCH 09/10] Update to version 1.14.0; Fixes RHBZ#2123721 --- .gitignore | 1 + rust-once_cell.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0391c19..e4db730 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /once_cell-1.12.0.crate /once_cell-1.13.0.crate /once_cell-1.13.1.crate +/once_cell-1.14.0.crate diff --git a/rust-once_cell.spec b/rust-once_cell.spec index b5c348b..d3d6c70 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -5,7 +5,7 @@ %global crate once_cell Name: rust-once_cell -Version: 1.13.1 +Version: 1.14.0 Release: %autorelease Summary: Single assignment cells and lazy values diff --git a/sources b/sources index 5a69c19..2f3da8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.13.1.crate) = 492831607d12846923107b464a70de62f5997845faaae1625f3e54e2610e96b0355ce9e554051c2fae28f7e6e558ed456a6fc0b3c6a71b26f7443ede5eff5b32 +SHA512 (once_cell-1.14.0.crate) = 81531f06f32854e1794555e10ccd6ee2b6913bfefdd9eed52dd44a02e799fa6371cdf102cc67bc70d581a0cc4abb7dd16c9c12ede6df4ff38b20dc5908bad186 From 8ca27843155d1e29413acf9a8cd996a7334e043c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 5 Oct 2022 14:31:11 +0200 Subject: [PATCH 10/10] Update to version 1.15.0; Fixes RHBZ#2127323 --- .gitignore | 1 + rust-once_cell.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e4db730..f62268a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /once_cell-1.13.0.crate /once_cell-1.13.1.crate /once_cell-1.14.0.crate +/once_cell-1.15.0.crate diff --git a/rust-once_cell.spec b/rust-once_cell.spec index d3d6c70..496ac7f 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -5,7 +5,7 @@ %global crate once_cell Name: rust-once_cell -Version: 1.14.0 +Version: 1.15.0 Release: %autorelease Summary: Single assignment cells and lazy values diff --git a/sources b/sources index 2f3da8a..9faafbb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (once_cell-1.14.0.crate) = 81531f06f32854e1794555e10ccd6ee2b6913bfefdd9eed52dd44a02e799fa6371cdf102cc67bc70d581a0cc4abb7dd16c9c12ede6df4ff38b20dc5908bad186 +SHA512 (once_cell-1.15.0.crate) = 934a7c3631e9ca4fa78d9577b6672ca0b2f926a8d6c3be9542b906c5968033446f98f76ae6f368a1a5b92ab9064c31a57d74ab6d2097108029a7ea951541ff7e