From 079019c4a606355ef474b1877df8f00c74caff8e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 10 May 2018 11:16:32 +0200 Subject: [PATCH] Update to 1.0.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + LICENSE.md | 21 --------------------- rust-bincode.spec | 18 +++++++++--------- sources | 2 +- 4 files changed, 11 insertions(+), 31 deletions(-) delete mode 100644 LICENSE.md diff --git a/.gitignore b/.gitignore index a18e377..2f4cd6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /bincode-0.9.2.crate +/bincode-1.0.0.crate diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 26b1f00..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Ty Overby - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/rust-bincode.spec b/rust-bincode.spec index 1bd5c45..c91ee7c 100644 --- a/rust-bincode.spec +++ b/rust-bincode.spec @@ -5,26 +5,24 @@ %global crate bincode Name: rust-%{crate} -Version: 0.9.2 -Release: 3%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Binary serialization / deserialization strategy that uses Serde License: MIT URL: https://crates.io/crates/bincode Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# https://github.com/TyOverby/bincode/pull/220 -Source1: https://raw.githubusercontent.com/TyOverby/bincode/v%{version}/LICENSE.md ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) +BuildRequires: (crate(byteorder) >= 1.2.0 with crate(byteorder) < 2.0.0) +BuildRequires: (crate(serde) >= 1.0.27 with crate(serde) < 2.0.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(serde_bytes) >= 0.10.0 with crate(serde_bytes) < 0.11.0) -BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0) +BuildRequires: (crate(serde_bytes) >= 0.10.3 with crate(serde_bytes) < 0.11.0) +BuildRequires: (crate(serde_derive) >= 1.0.27 with crate(serde_derive) < 2.0.0) %endif %description @@ -43,7 +41,6 @@ which use %{crate} from crates.io. %prep %autosetup -n %{crate}-%{version} -p1 -cp -a %{S:1} . %cargo_prep %build @@ -63,6 +60,9 @@ cp -a %{S:1} . %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu May 10 2018 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + * Fri Feb 09 2018 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 3bdd483..39c052f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bincode-0.9.2.crate) = 1b6b26b72ad12c66806fc7b9846d938a6541e85a0fe61a5d8d321a44a98eb1a12d1fa2d83e0f4066535f99adc10639c818d0fe412b24348b46fa178f453eef20 +SHA512 (bincode-1.0.0.crate) = 884b660ab67f07ada0bf1db780e406d2b23c5d5dcd6e30e1fa05cdda15829c469cb8384a7861c29cf757c470c7aede6ae4a6a9a2a6dedab666ba8807b3db4185