From 6a2818afb2a2adb9306f0a62251fa3db8163da75 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 3 Mar 2022 14:40:19 +0100 Subject: [PATCH 2/6] Update to version 0.4.6; Fixes RHBZ#2047889 --- .gitignore | 1 + .rust2rpm.conf | 3 --- rust-lock_api.spec | 54 +++++++++++++++++++++++++++------------------- sources | 2 +- 4 files changed, 34 insertions(+), 26 deletions(-) delete mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 6c1e99a..a6b909e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /lock_api-0.4.3.crate /lock_api-0.4.4.crate /lock_api-0.4.5.crate +/lock_api-0.4.6.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index 1715b93..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - nightly diff --git a/rust-lock_api.spec b/rust-lock_api.spec index 29770d3..657f089 100644 --- a/rust-lock_api.spec +++ b/rust-lock_api.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate lock_api Name: rust-%{crate} -Version: 0.4.5 +Version: 0.4.6 Release: %autorelease Summary: Wrappers to create fully-featured Mutex and RwLock types @@ -15,11 +15,8 @@ URL: https://crates.io/crates/lock_api Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Wrappers to create fully-featured Mutex and RwLock types. Compatible with @@ -33,12 +30,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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}+arc_lock-devel Summary: %{summary} @@ -58,11 +56,23 @@ BuildArch: noarch %description -n %{name}+arc_lock-devel %{_description} -This package contains library source intended for building other packages -which use "arc_lock" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "arc_lock" feature of the "%{crate}" crate. %files -n %{name}+arc_lock-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +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 %{crate_instdir}/Cargo.toml %package -n %{name}+owning_ref-devel Summary: %{summary} @@ -70,11 +80,11 @@ BuildArch: noarch %description -n %{name}+owning_ref-devel %{_description} -This package contains library source intended for building other packages -which use "owning_ref" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "owning_ref" feature of the "%{crate}" crate. %files -n %{name}+owning_ref-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -82,11 +92,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-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 93263cb..abc1c9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lock_api-0.4.5.crate) = d6cd948a4183a73e8b91b9167d551e72dd75820c76123fb0839f8389c7872d2c46dbcf5785d7600ecc4e27f3d214f476585b9c39e85f70500eb8d012e5ff9535 +SHA512 (lock_api-0.4.6.crate) = ba14d341564eba91bb5ec58bb2e0d6c87e70b3694c4609396f0c0f4afc0c6c105a88cb99c303b1e9761b0fc6cae56f79ba6a7663b063454ab1ede4d49274906d From 3067a3eb12c4218661504102b85cca91663a8beb Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 30 Mar 2022 23:08:09 +0200 Subject: [PATCH 3/6] Update to version 0.4.7; Fixes RHBZ#2070232 --- .gitignore | 1 + rust-lock_api.spec | 6 +++--- sources | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a6b909e..de0850b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /lock_api-0.4.4.crate /lock_api-0.4.5.crate /lock_api-0.4.6.crate +/lock_api-0.4.7.crate diff --git a/rust-lock_api.spec b/rust-lock_api.spec index 657f089..4ec4bb7 100644 --- a/rust-lock_api.spec +++ b/rust-lock_api.spec @@ -5,12 +5,12 @@ %global crate lock_api Name: rust-%{crate} -Version: 0.4.6 +Version: 0.4.7 Release: %autorelease Summary: Wrappers to create fully-featured Mutex and RwLock types -# Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 URL: https://crates.io/crates/lock_api Source: %{crates_source} diff --git a/sources b/sources index abc1c9a..64b1ad4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lock_api-0.4.6.crate) = ba14d341564eba91bb5ec58bb2e0d6c87e70b3694c4609396f0c0f4afc0c6c105a88cb99c303b1e9761b0fc6cae56f79ba6a7663b063454ab1ede4d49274906d +SHA512 (lock_api-0.4.7.crate) = b1a5227fd131edaa70e017f7ddb43af8b4efa58488007b898ca1dfc818a3a441b732b7adbf1270e72a68ee5d2a99a5d48f33b2bca8e2cf78694953d20d27636d From 96d6a5e1a11ab9290d965e683ed16889db3b8fe3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 2 Sep 2022 15:13:14 +0200 Subject: [PATCH 5/6] Update to version 0.4.8; Fixes RHBZ#2121999 --- .gitignore | 1 + rust-lock_api.spec | 9 ++++----- sources | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index de0850b..cab22f8 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /lock_api-0.4.5.crate /lock_api-0.4.6.crate /lock_api-0.4.7.crate +/lock_api-0.4.8.crate diff --git a/rust-lock_api.spec b/rust-lock_api.spec index 4ec4bb7..e8b6b7d 100644 --- a/rust-lock_api.spec +++ b/rust-lock_api.spec @@ -1,16 +1,15 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate lock_api -Name: rust-%{crate} -Version: 0.4.7 +Name: rust-lock_api +Version: 0.4.8 Release: %autorelease Summary: Wrappers to create fully-featured Mutex and RwLock types -# 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/lock_api Source: %{crates_source} diff --git a/sources b/sources index 64b1ad4..13b7f66 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lock_api-0.4.7.crate) = b1a5227fd131edaa70e017f7ddb43af8b4efa58488007b898ca1dfc818a3a441b732b7adbf1270e72a68ee5d2a99a5d48f33b2bca8e2cf78694953d20d27636d +SHA512 (lock_api-0.4.8.crate) = 2dd90be33a732cb8111b522cf65fbf37926ab3121c4dba20dbf66403805575ee597d90d776807c13be1a48ddc5920a691ef78dce734adc6a26b52d4ad44b9785 From abf37a8d36dd5414c6a796635518b4db7810d2da Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 5 Oct 2022 13:56:02 +0200 Subject: [PATCH 6/6] Update to version 0.4.9; Fixes RHBZ#2128461 --- .gitignore | 1 + rust-lock_api.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cab22f8..fa69823 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /lock_api-0.4.6.crate /lock_api-0.4.7.crate /lock_api-0.4.8.crate +/lock_api-0.4.9.crate diff --git a/rust-lock_api.spec b/rust-lock_api.spec index e8b6b7d..0dcfc8c 100644 --- a/rust-lock_api.spec +++ b/rust-lock_api.spec @@ -5,7 +5,7 @@ %global crate lock_api Name: rust-lock_api -Version: 0.4.8 +Version: 0.4.9 Release: %autorelease Summary: Wrappers to create fully-featured Mutex and RwLock types diff --git a/sources b/sources index 13b7f66..77a5ca6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lock_api-0.4.8.crate) = 2dd90be33a732cb8111b522cf65fbf37926ab3121c4dba20dbf66403805575ee597d90d776807c13be1a48ddc5920a691ef78dce734adc6a26b52d4ad44b9785 +SHA512 (lock_api-0.4.9.crate) = 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990