diff --git a/rust-tempdir.spec b/rust-tempdir.spec index e070013..70f4a76 100644 --- a/rust-tempdir.spec +++ b/rust-tempdir.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.3.7 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Library for managing a temporary directory # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/tempdir Source: %{crates_source} +# Initial patched metadata +# * bump remove_dir_all from 0.5 to 0.7 (not upstreamable, project dead) +Patch0: tempdir-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -39,7 +42,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -51,7 +54,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -72,6 +75,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed May 19 2021 Fabio Valentini - 0.3.7-13 +- Bump remove_dir_all to 0.7. + * Wed Jan 27 2021 Fedora Release Engineering - 0.3.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/tempdir-fix-metadata.diff b/tempdir-fix-metadata.diff new file mode 100644 index 0000000..7af683f --- /dev/null +++ b/tempdir-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tempdir-0.3.7/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ tempdir-0.3.7/Cargo.toml 2021-05-19T13:21:49.313243+00:00 +@@ -26,7 +26,7 @@ + version = "0.4" + + [dependencies.remove_dir_all] +-version = "0.5" ++version = "0.7" + [badges.appveyor] + repository = "rust-lang-libs/tempdir" +