diff --git a/.gitignore b/.gitignore index 2e1d1a2..9b25ef0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /path-dedot-3.0.8.crate /path-dedot-3.0.12.crate /path-dedot-3.0.14.crate +/path-dedot-3.0.17.crate diff --git a/rust-path-dedot.spec b/rust-path-dedot.spec index b6aad0d..fda414e 100644 --- a/rust-path-dedot.spec +++ b/rust-path-dedot.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate path-dedot -Name: rust-%{crate} -Version: 3.0.14 +Name: rust-path-dedot +Version: 3.0.17 Release: %autorelease Summary: Parse path with dots in Path and PathBuf -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/path-dedot Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for extending `Path` and `PathBuf` in order to parse the path which @@ -33,13 +29,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +43,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} @@ -59,11 +55,11 @@ BuildArch: noarch %description -n %{name}+lazy_static-devel %{_description} -This package contains library source intended for building other packages -which use "lazy_static" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy_static_cache-devel Summary: %{summary} @@ -71,11 +67,11 @@ BuildArch: noarch %description -n %{name}+lazy_static_cache-devel %{_description} -This package contains library source intended for building other packages -which use "lazy_static_cache" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "lazy_static_cache" feature of the "%{crate}" crate. %files -n %{name}+lazy_static_cache-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+once_cell_cache-devel Summary: %{summary} @@ -83,11 +79,11 @@ BuildArch: noarch %description -n %{name}+once_cell_cache-devel %{_description} -This package contains library source intended for building other packages -which use "once_cell_cache" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unsafe_cache-devel Summary: %{summary} @@ -95,11 +91,11 @@ BuildArch: noarch %description -n %{name}+unsafe_cache-devel %{_description} -This package contains library source intended for building other packages -which use "unsafe_cache" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 44cca33..204f679 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (path-dedot-3.0.14.crate) = d096df7790cbbceb7ccce6ab858c551ed962963568f23b44bba4199b3435619044deb4d803f558dd6095a461bd273ed0b74abcebac47c5f9507039925cfa87b2 +SHA512 (path-dedot-3.0.17.crate) = 7534c8064c1d4699f92d74003a4e8b2ee11a0a7bf643182ffe243ab68f310337ea1ea942d11d73c1a455884dbe996b65a82609324de3f46cca800cd1a678512d