From 71fe7bba53860ba89aea181bf59d1fdb4607a8d6 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: May 27 2020 10:12:46 +0000 Subject: Update to 2.0.1 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index 0d450a5..1740465 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /path-absolutize-1.2.1.crate /path-absolutize-2.0.0.crate +/path-absolutize-2.0.1.crate diff --git a/path-absolutize-fix-metadata.diff b/path-absolutize-fix-metadata.diff new file mode 100644 index 0000000..7bbb9b8 --- /dev/null +++ b/path-absolutize-fix-metadata.diff @@ -0,0 +1,11 @@ +--- path-absolutize-2.0.1/Cargo.toml 2020-05-27T09:32:20+00:00 ++++ path-absolutize-2.0.1/Cargo.toml 2020-05-27T10:12:10.722476+00:00 +@@ -34,8 +34,6 @@ + [features] + lazy_static_cache = ["path-dedot/lazy_static_cache"] + unsafe_cache = ["path-dedot/unsafe_cache"] +-[target."cfg(windows)".dependencies.slash-formatter] +-version = "2.2.6" + [badges.travis-ci] + branch = "master" + repository = "magiclen/path-absolutize" diff --git a/rust-path-absolutize.spec b/rust-path-absolutize.spec index 2c5a03b..8655809 100644 --- a/rust-path-absolutize.spec +++ b/rust-path-absolutize.spec @@ -5,7 +5,7 @@ %global crate path-absolutize Name: rust-%{crate} -Version: 2.0.0 +Version: 2.0.1 Release: 1%{?dist} Summary: Get an absolute path without dots in `Path` and `PathBuf` @@ -13,6 +13,9 @@ Summary: Get an absolute path without dots in `Path` and `PathBuf` License: MIT URL: https://crates.io/crates/path-absolutize Source: %{crates_source} +# Initial patched metadata +# * No Windows +Patch0: path-absolutize-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -65,42 +68,6 @@ which use "lazy_static_cache" feature of "%{crate}" crate. %files -n %{name}+lazy_static_cache-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+path-dedot-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+path-dedot-devel %{_description} - -This package contains library source intended for building other packages -which use "path-dedot" feature of "%{crate}" crate. - -%files -n %{name}+path-dedot-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+path-dedot-lazy-static-cache-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+path-dedot-lazy-static-cache-devel %{_description} - -This package contains library source intended for building other packages -which use "path-dedot-lazy-static-cache" feature of "%{crate}" crate. - -%files -n %{name}+path-dedot-lazy-static-cache-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+path-dedot-unsafe-cache-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+path-dedot-unsafe-cache-devel %{_description} - -This package contains library source intended for building other packages -which use "path-dedot-unsafe-cache" feature of "%{crate}" crate. - -%files -n %{name}+path-dedot-unsafe-cache-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+unsafe_cache-devel Summary: %{summary} BuildArch: noarch @@ -132,6 +99,9 @@ which use "unsafe_cache" feature of "%{crate}" crate. %endif %changelog +* Wed May 27 12:12:10 CEST 2020 Igor Raits - 2.0.1-1 +- Update to 2.0.1 + * Wed May 27 07:21:23 CEST 2020 Igor Raits - 2.0.0-1 - Update to 2.0.0 diff --git a/sources b/sources index e876c01..798b491 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (path-absolutize-2.0.0.crate) = 911c61595669e556c55914c459e5215010f489eda63aaf665a9048b2f6c08fbe959133edf518a9afc9b359fa93feabea9e6eeaf7afca738e24cd9d9d156f258e +SHA512 (path-absolutize-2.0.1.crate) = c2f3132364c3e6382b73975e23a556bca45ca080774b371a240854f05b0bf5eca575835e7099eb66bcc53033c2a21d6ade670fd0f6807b7376a1216261c0de72