From 9b131c6e1db573c3578716b9cdbf51da959dfcfb Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 23 Mar 2018 17:42:17 -0700 Subject: [PATCH] Update to 3.3.0 --- .gitignore | 1 + rust-thread-id.spec | 9 ++++++--- sources | 2 +- thread-id-3.2.0-fix-metadata.diff | 10 ---------- thread-id-3.3.0-fix-metadata.diff | 12 ++++++++++++ 5 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 thread-id-3.2.0-fix-metadata.diff create mode 100644 thread-id-3.3.0-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a49f6ab..4848a2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /thread-id-3.2.0.crate +/thread-id-3.3.0.crate diff --git a/rust-thread-id.spec b/rust-thread-id.spec index f29d967..bf84bea 100644 --- a/rust-thread-id.spec +++ b/rust-thread-id.spec @@ -5,8 +5,8 @@ %global crate thread-id Name: rust-%{crate} -Version: 3.2.0 -Release: 3%{?dist} +Version: 3.3.0 +Release: 1%{?dist} Summary: Get a unique thread ID License: MIT or ASL 2.0 @@ -15,7 +15,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # Initial patched metadata # * No windows # * No redox -Patch0: thread-id-3.2.0-fix-metadata.diff +Patch0: thread-id-3.3.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -57,6 +57,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Mar 24 2018 Josh Stone - 3.3.0-1 +- Update to 3.3.0 + * Fri Feb 09 2018 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 87db4a9..c35bc79 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (thread-id-3.2.0.crate) = 251ebc0fb83a270b8fab9669ebbb7bc2cc44b1858fd298cb5f9ada0fc63ec6b46b44daf7d91c03f5ba646c14a2d6067c90988b59808e96f71e550b4cda290aa0 +SHA512 (thread-id-3.3.0.crate) = 81ebde9b780de1f052dfb40af860c2877cc2f0a47bff2d4d58eda629b9c1874757c5bfd077277301bc3e068e3ac49eb5bab8ec660582f6778f16a47d4c6c3e1a diff --git a/thread-id-3.2.0-fix-metadata.diff b/thread-id-3.2.0-fix-metadata.diff deleted file mode 100644 index 1b7e55c..0000000 --- a/thread-id-3.2.0-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- thread-id-3.2.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ thread-id-3.2.0/Cargo.toml 2017-07-01T19:42:32.549811+02:00 -@@ -22,7 +22,3 @@ - repository = "https://github.com/ruuda/thread-id" - [target."cfg(unix)".dependencies.libc] - version = "0.2.6" --[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] --version = "0.1" --[target."cfg(windows)".dependencies.kernel32-sys] --version = "0.2.1" diff --git a/thread-id-3.3.0-fix-metadata.diff b/thread-id-3.3.0-fix-metadata.diff new file mode 100644 index 0000000..19d3c67 --- /dev/null +++ b/thread-id-3.3.0-fix-metadata.diff @@ -0,0 +1,12 @@ +--- thread-id-3.3.0/Cargo.toml 2018-03-23T05:49:40-07:00 ++++ thread-id-3.3.0/Cargo.toml 2018-03-23T17:39:59.408637-07:00 +@@ -15,9 +15,3 @@ + + [target.'cfg(unix)'.dependencies] + libc = "0.2.6" +- +-[target.'cfg(windows)'.dependencies] +-winapi = { version = "0.3", features = ["processthreadsapi"] } +- +-[target.'cfg(target_os = "redox")'.dependencies] +-redox_syscall = "0.1"