From 9bd48708e15aed6c25bfb7694dc9299deedcb796 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 14 Dec 2022 19:54:28 +0100 Subject: [PATCH] Update to version 3.0.14; Fixes RHBZ#2134685 --- .gitignore | 1 + path-absolutize-fix-metadata-auto.diff | 6 +++--- rust-path-absolutize.spec | 18 ++++++++++++++---- sources | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5d63a77..b6c938a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /path-absolutize-3.0.10.crate /path-absolutize-3.0.11.crate /path-absolutize-3.0.13.crate +/path-absolutize-3.0.14.crate diff --git a/path-absolutize-fix-metadata-auto.diff b/path-absolutize-fix-metadata-auto.diff index c18ced2..dded711 100644 --- a/path-absolutize-fix-metadata-auto.diff +++ b/path-absolutize-fix-metadata-auto.diff @@ -1,8 +1,8 @@ ---- path-absolutize-3.0.13/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ path-absolutize-3.0.13/Cargo.toml 1970-01-01T00:00:01+00:00 +--- path-absolutize-3.0.14/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ path-absolutize-3.0.14/Cargo.toml 1970-01-01T00:00:01+00:00 @@ -54,5 +54,3 @@ - once_cell_cache = ["path-dedot/once_cell_cache"] unsafe_cache = ["path-dedot/unsafe_cache"] + use_unix_paths_on_wasm = ["path-dedot/use_unix_paths_on_wasm"] -[target."cfg(windows)".dev-dependencies.slash-formatter] -version = "3" diff --git a/rust-path-absolutize.spec b/rust-path-absolutize.spec index 0087a9c..f5f1e4c 100644 --- a/rust-path-absolutize.spec +++ b/rust-path-absolutize.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate path-absolutize Name: rust-path-absolutize -Version: 3.0.13 +Version: 3.0.14 Release: %autorelease Summary: Extend Path and PathBuf for getting an absolute path @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: path-absolutize-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -87,6 +85,18 @@ use the "unsafe_cache" feature of the "%{crate}" crate. %files -n %{name}+unsafe_cache-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+use_unix_paths_on_wasm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_unix_paths_on_wasm-devel %{_description} + +This package contains library source intended for building other packages which +use the "use_unix_paths_on_wasm" feature of the "%{crate}" crate. + +%files -n %{name}+use_unix_paths_on_wasm-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 13afc12..75b710c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (path-absolutize-3.0.13.crate) = e143a53dae814cd956deee958fad56ed48f8d82a75eaa9c8d2f3951c587d9066dfc3a9c41fba72887680f1eab1eb888cb57d5cdb952b42896001fd67918f751b +SHA512 (path-absolutize-3.0.14.crate) = defa1f2128326747cc3a6c30bd230a0ed06ebd5e80cf7f7a938b0c762e99e46a2997e7c166d7eb498f422b6e1f6ed70f1c5015cf80d448a720ca65fc5ccf66f8