From d4f22dc0e8311d595263bcef72872f5d80038c18 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 26 Jan 2022 23:20:49 +0100 Subject: [PATCH] Update to version 1.0.7; Fixes RHBZ#2041298 --- .gitignore | 1 + rust-camino.spec | 32 +++++++++++++------------------- sources | 2 +- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 1be6337..6b43e9f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /camino-1.0.4.crate /camino-1.0.5.crate +/camino-1.0.7.crate diff --git a/rust-camino.spec b/rust-camino.spec index c7ac9f4..6edc9ef 100644 --- a/rust-camino.spec +++ b/rust-camino.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate camino Name: rust-%{crate} -Version: 1.0.5 +Version: 1.0.7 Release: %autorelease -Summary: Rust's PathBuf and Path types with UTF-8 encoded data +Summary: UTF-8 paths # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -15,17 +15,11 @@ URL: https://crates.io/crates/camino Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: -camino's Utf8PathBuf and Utf8Path types are like the standard library's PathBuf -and Path types, except they are guaranteed to only contain UTF-8 encoded data. -Therefore, they expose the ability to get their contents as strings, they -implement Display, etc.} +UTF-8 paths.} %description %{_description} @@ -35,12 +29,12 @@ 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 -%doc README.md CHANGELOG.md CODE_OF_CONDUCT.md %license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md CODE_OF_CONDUCT.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -49,8 +43,8 @@ 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 @@ -61,8 +55,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -73,8 +67,8 @@ BuildArch: noarch %description -n %{name}+serde1-devel %{_description} -This package contains library source intended for building other packages -which use "serde1" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index c7b1384..acd27d6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (camino-1.0.5.crate) = 1131997ca090426a25daf3be2fcd6e559d980078dd71fbf3f16b4d593531a24c0f030aa6c9652080fdc02b5420da98991b9c93115ce1c0cad8c0fad4437b1d59 +SHA512 (camino-1.0.7.crate) = 0c22c9de3740d39d058de25b2c9b221928f11cf9340562412a15948ddfeaddcb6da38ed3f18321c322d2811847d7cb5cc1c78304f67e9702a2056e59da64bf33