|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -12,11 +12,8 @@ Summary: Parse path with dots in Path and PathBuf
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/path-dedot
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop bencher dependency and benchmark code
|
|
|
|
|
Patch: path-dedot-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A library for extending `Path` and `PathBuf` in order to parse the path
|
|
|
|
@ -111,7 +108,7 @@ use the "use_unix_paths_on_wasm" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|