From e9a20ada6cd521ab2983988ab87db70c4a7188bc Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 29 Jan 2018 14:55:57 +0100 Subject: [PATCH] Update to 0.4.2 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + heapsize-0.4.1-fix-metadata.diff | 12 ------------ heapsize-0.4.2-fix-metadata.diff | 9 +++++++++ rust-heapsize.spec | 9 ++++++--- sources | 2 +- 5 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 heapsize-0.4.1-fix-metadata.diff create mode 100644 heapsize-0.4.2-fix-metadata.diff diff --git a/.gitignore b/.gitignore index c27ee12..d171d8a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /heapsize-0.4.1.crate +/heapsize-0.4.2.crate diff --git a/heapsize-0.4.1-fix-metadata.diff b/heapsize-0.4.1-fix-metadata.diff deleted file mode 100644 index 16cae28..0000000 --- a/heapsize-0.4.1-fix-metadata.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- heapsize-0.4.1/Cargo.toml 2017-07-15T16:05:14+02:00 -+++ heapsize-0.4.1/Cargo.toml 2017-11-06T08:47:21.426680+01:00 -@@ -7,9 +7,6 @@ - repository = "https://github.com/servo/heapsize" - build = "build.rs" - --[target.'cfg(windows)'.dependencies] --kernel32-sys = "0.2.1" -- - [features] - unstable = [] - diff --git a/heapsize-0.4.2-fix-metadata.diff b/heapsize-0.4.2-fix-metadata.diff new file mode 100644 index 0000000..c434edd --- /dev/null +++ b/heapsize-0.4.2-fix-metadata.diff @@ -0,0 +1,9 @@ +--- heapsize-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ heapsize-0.4.2/Cargo.toml 2018-01-29T14:57:28.337858+01:00 +@@ -22,6 +22,3 @@ + [features] + flexible-tests = [] + unstable = [] +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3.4" +-features = ["std", "heapapi"] diff --git a/rust-heapsize.spec b/rust-heapsize.spec index c518259..e784914 100644 --- a/rust-heapsize.spec +++ b/rust-heapsize.spec @@ -5,8 +5,8 @@ %global crate heapsize Name: rust-%{crate} -Version: 0.4.1 -Release: 2%{?dist} +Version: 0.4.2 +Release: 1%{?dist} Summary: Infrastructure for measuring the total runtime size of an object on the heap License: MIT or ASL 2.0 @@ -14,7 +14,7 @@ URL: https://crates.io/crates/heapsize Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No Windows -Patch0: heapsize-0.4.1-fix-metadata.diff +Patch0: heapsize-0.4.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -55,6 +55,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Mon Jan 29 2018 Igor Gnatenko - 0.4.2-1 +- Update to 0.4.2 + * Mon Jan 08 2018 Igor Gnatenko - 0.4.1-2 - Rebuild for rust-packaging v5 diff --git a/sources b/sources index 965233b..cfc00af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (heapsize-0.4.1.crate) = 6afcc268cf1e1ad7a326e95ff50e0f94d65266f7047304bc181329d9f057956e729926966dd87e520d571705106d8cbb57767cbc4348753a6a198b1bda8e05e4 +SHA512 (heapsize-0.4.2.crate) = 4da68aac4f8e4fc67687b657cf0d497ded962b83574529f3ea6570f93f81535a0f4c85d6c5ad5149e7a7d44e3d58b55e031a30deae3149bad2377bd1d9fe3891