Compare commits

...

3 Commits

Author SHA1 Message Date
Michel Lind fba0258d3a Drop bencher dependency and benchmark code
4 months ago
Fedora Release Engineering 952471c71a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7 months ago
Fedora Release Engineering 3553af1191 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1 year ago

@ -1,5 +1,5 @@
--- path-absolutize-3.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ path-absolutize-3.1.1/Cargo.toml 2023-09-09T17:40:57.965698+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"]

@ -0,0 +1,26 @@
--- 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
-
[dependencies.path-dedot]
version = "3.1.1"
-
-[dev-dependencies.bencher]
-version = "0.1.5"
[features]
lazy_static_cache = ["path-dedot/lazy_static_cache"]

@ -1,4 +1,4 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -12,10 +12,13 @@ Summary: Extend Path and PathBuf for getting an absolute path
License: MIT
URL: https://crates.io/crates/path-absolutize
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# 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
Patch: path-absolutize-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A library for extending `Path` and `PathBuf` in order to get an absolute
@ -98,7 +101,7 @@ use the "use_unix_paths_on_wasm" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1,2 +0,0 @@
[DEFAULT]
summary = Extend Path and PathBuf for getting an absolute path

@ -0,0 +1,2 @@
[package]
summary = "Extend Path and PathBuf for getting an absolute path"
Loading…
Cancel
Save