diff --git a/rust-tempdir.spec b/rust-tempdir.spec index fd83a1b..54b2a7e 100644 --- a/rust-tempdir.spec +++ b/rust-tempdir.spec @@ -6,19 +6,22 @@ Name: rust-%{crate} Version: 0.3.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for managing a temporary directory License: MIT or ASL 2.0 URL: https://crates.io/crates/tempdir Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump remove_dir_all to 0.5, https://github.com/rust-lang-nursery/tempdir/commit/761e7b60b2a8a16a8327778170f1538a912b9b13 +Patch0: tempdir-0.3.6-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) -BuildRequires: (crate(remove_dir_all) >= 0.3.0 with crate(remove_dir_all) < 0.4.0) +BuildRequires: (crate(remove_dir_all) >= 0.5.0 with crate(remove_dir_all) < 0.6.0) %description %{summary}. @@ -55,6 +58,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Mon Mar 12 2018 Igor Gnatenko - 0.3.6-3 +- Bump remove_dir_all to 0.5 + * Fri Feb 09 2018 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/tempdir-0.3.6-fix-metadata.diff b/tempdir-0.3.6-fix-metadata.diff new file mode 100644 index 0000000..41103f0 --- /dev/null +++ b/tempdir-0.3.6-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tempdir-0.3.6/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ tempdir-0.3.6/Cargo.toml 2018-03-12T10:08:05.998455+01:00 +@@ -26,7 +26,7 @@ + version = "0.4" + + [dependencies.remove_dir_all] +-version = "0.3" ++version = "0.5" + [badges.appveyor] + repository = "rust-lang-libs/tempdir" +