public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-path-absolutize] epel10: Update to version 4.0.1; Fixes RHBZ#2499398
@ 2026-08-16  7:18 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-16  7:18 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-path-absolutize
Branch : epel10
Commit : f11a4e7909e7577d3fb1cc2fa2ca61b1dbcb4621
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-03T09:11:20+01:00
Stats  : +26/-73 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-path-absolutize/c/f11a4e7909e7577d3fb1cc2fa2ca61b1dbcb4621?branch=epel10

Log:
Update to version 4.0.1; Fixes RHBZ#2499398

---
diff --git a/.gitignore b/.gitignore
index 4c2fb3e..72197e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /path-absolutize-3.0.14.crate
 /path-absolutize-3.1.0.crate
 /path-absolutize-3.1.1.crate
+/path-absolutize-4.0.1.crate

diff --git a/path-absolutize-fix-metadata-auto.diff b/path-absolutize-fix-metadata-auto.diff
index 467a703..9b3b56c 100644
--- a/path-absolutize-fix-metadata-auto.diff
+++ b/path-absolutize-fix-metadata-auto.diff
@@ -1,8 +1,8 @@
---- path-absolutize-3.1.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ path-absolutize-3.1.1/Cargo.toml	2024-10-23T21:35:11.427680+00:00
-@@ -55,5 +55,3 @@
- unsafe_cache = ["path-dedot/unsafe_cache"]
- use_unix_paths_on_wasm = ["path-dedot/use_unix_paths_on_wasm"]
+--- path-absolutize-4.0.1/Cargo.toml	2006-07-24T01:21:28+00:00
++++ path-absolutize-4.0.1/Cargo.toml	2026-08-03T08:10:42.292653+00:00
+@@ -64,5 +64,3 @@
+ [dev-dependencies.bencher]
+ version = "0.1.5"
  
 -[target."cfg(windows)".dev-dependencies.slash-formatter]
 -version = "3"

diff --git a/path-absolutize-fix-metadata.diff b/path-absolutize-fix-metadata.diff
index 750684a..22f9251 100644
--- a/path-absolutize-fix-metadata.diff
+++ b/path-absolutize-fix-metadata.diff
@@ -1,26 +1,9 @@
---- path-absolutize-3.1.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ path-absolutize-3.1.1/Cargo.toml	2024-10-23T21:35:24.730755+00:00
-@@ -20,7 +20,6 @@
-     "Cargo.toml",
-     "README.md",
-     "LICENSE",
--    "benches/bench.rs",
- ]
- description = "A library for extending `Path` and `PathBuf` in order to get an absolute path and remove the containing dots."
- homepage = "https://magiclen.org/path-absolutize"
-@@ -39,15 +38,8 @@
- license = "MIT"
- repository = "https://github.com/magiclen/path-absolutize"
- 
--[[bench]]
--name = "bench"
--harness = false
--
+--- path-absolutize-4.0.1/Cargo.toml	2006-07-24T01:21:28+00:00
++++ path-absolutize-4.0.1/Cargo.toml	2026-08-03T08:10:46.724957+00:00
+@@ -61,6 +61,3 @@
  [dependencies.path-dedot]
- version = "3.1.1"
--
+ version = "4.0.1"
+ 
 -[dev-dependencies.bencher]
 -version = "0.1.5"
- 
- [features]
- lazy_static_cache = ["path-dedot/lazy_static_cache"]
+-

diff --git a/rust-path-absolutize.spec b/rust-path-absolutize.spec
index 224a696..329f6e4 100644
--- a/rust-path-absolutize.spec
+++ b/rust-path-absolutize.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate path-absolutize
 
 Name:           rust-path-absolutize
-Version:        3.1.1
+Version:        4.0.1
 Release:        %autorelease
 Summary:        Extend Path and PathBuf for getting an absolute path
 
@@ -15,7 +15,7 @@ Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          path-absolutize-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
-# * drop bencher dependency and benchmark code
+# * drop unused, benchmark-only bencher dev-dependency
 Patch:          path-absolutize-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -52,52 +52,16 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+lazy_static_cache-devel
+%package     -n %{name}+fixed_workdir-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+lazy_static_cache-devel %{_description}
+%description -n %{name}+fixed_workdir-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "lazy_static_cache" feature of the "%{crate}" crate.
+use the "fixed_workdir" feature of the "%{crate}" crate.
 
-%files       -n %{name}+lazy_static_cache-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+once_cell_cache-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+once_cell_cache-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "once_cell_cache" feature of the "%{crate}" crate.
-
-%files       -n %{name}+once_cell_cache-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+unsafe_cache-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+unsafe_cache-devel %{_description}
-
-This package contains library source intended for building other packages which
-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
+%files       -n %{name}+fixed_workdir-devel
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
index bb4faec..2ce4140 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,2 +1,7 @@
 [package]
+# Upstream: “A library for extending `Path` and `PathBuf` in order to get an
+# absolute path and remove the containing dots.”
 summary = "Extend Path and PathBuf for getting an absolute path"
+cargo-toml-patch-comments = [
+    "drop unused, benchmark-only bencher dev-dependency",
+]

diff --git a/sources b/sources
index dbd4e00..6b441f8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (path-absolutize-3.1.1.crate) = d5377c9b781beda9c025918e2fa5c73fbe6747d41ba8ae642a4ccf2a6308d53a803707b1f3e940937588683ff3a6afd8f1b3e28e316311e134e42428e65b4a04
+SHA512 (path-absolutize-4.0.1.crate) = e56c750c2d5ab4d4179616447096fbd169dff123baf9ff29ef455ef018631da73a4cdc714609113976ebb548e0cd49f49254c1fae929d3385479c833d124c6fc

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-16  7:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16  7:18 [rpms/rust-path-absolutize] epel10: Update to version 4.0.1; Fixes RHBZ#2499398 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox