From 51bc8a13c3023792693460c220fe1f704fae03c7 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 12 Feb 2023 14:15:19 +0100 Subject: [PATCH] Update to version 1.3.0; Fixes RHBZ#2166987 --- .gitignore | 1 + rust-fs_extra.spec | 40 ++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index c08457f..73f0ea2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /fs_extra-1.1.0.crate /fs_extra-1.2.0.crate +/fs_extra-1.3.0.crate diff --git a/rust-fs_extra.spec b/rust-fs_extra.spec index 94f181f..6ca8fcb 100644 --- a/rust-fs_extra.spec +++ b/rust-fs_extra.spec @@ -1,29 +1,25 @@ -# Generated by rust2rpm 13 -%bcond_without check +# Generated by rust2rpm 24 +# * some tests hard-code assumptions that are not true across file systems: +# https://github.com/webdesus/fs_extra/issues/69 +%bcond_with check %global debug_package %{nil} %global crate fs_extra -Name: rust-%{crate} -Version: 1.2.0 +Name: rust-fs_extra +Version: 1.3.0 Release: %autorelease -Summary: Expanding opportunities standard library std::fs and std::io +Summary: Expanding std::fs and std::io -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/fs_extra Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Expanding opportunities standard library std::fs and std::io. Recursively copy -folders with recept information about process and much more.} +Expanding std::fs and std::io. Recursively copy folders with information +about process and much more.} %description %{_description} @@ -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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index cf4c7a9..ccea66e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fs_extra-1.2.0.crate) = 66670d624394874d7f786f8d362438c53f5b18008909ab8e7a74e82518dbc189e37588836f05f19dcd4718f4c1a5296fdf274380d574b1f475e28891ecdd6c91 +SHA512 (fs_extra-1.3.0.crate) = 090d2ace0517b86dd2f54c5491366cbb6e1677f64cf64f024f7dc6a3c42c4f8c54b215e954572e2df10ae7f0e956890ecf7ccbeebf66b645c7647409484c845d