From 4e2c164e827c467432b444945789d4236de0333e Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 16 Jan 2020 10:32:30 -0800 Subject: [PATCH] Update to 0.8.1 --- .gitignore | 1 + rust-uuid.spec | 105 +++++++---------------------------------- sources | 2 +- uuid-fix-metadata.diff | 16 +++---- 4 files changed, 28 insertions(+), 96 deletions(-) diff --git a/.gitignore b/.gitignore index a832f5a..b0ea6a4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /uuid-0.7.2.crate /uuid-0.7.3.crate /uuid-0.7.4.crate +/uuid-0.8.1.crate diff --git a/rust-uuid.spec b/rust-uuid.spec index 3cfa384..8bd6c07 100644 --- a/rust-uuid.spec +++ b/rust-uuid.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate uuid Name: rust-%{crate} -Version: 0.7.4 -Release: 3%{?dist} +Version: 0.8.1 +Release: 1%{?dist} Summary: Library to generate and parse UUIDs # Upstream license specification: Apache-2.0 OR MIT @@ -41,7 +41,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} @@ -53,31 +53,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 - -%package -n %{name}+byteorder-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+byteorder-devel %{_description} - -This package contains library source intended for building other packages -which use "byteorder" feature of "%{crate}" crate. - -%files -n %{name}+byteorder-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+const_fn-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+const_fn-devel %{_description} - -This package contains library source intended for building other packages -which use "const_fn" feature of "%{crate}" crate. - -%files -n %{name}+const_fn-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+md5-devel Summary: %{summary} @@ -89,19 +65,7 @@ This package contains library source intended for building other packages which use "md5" feature of "%{crate}" crate. %files -n %{name}+md5-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+nightly-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+nightly-devel %{_description} - -This package contains library source intended for building other packages -which use "nightly" feature of "%{crate}" crate. - -%files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} @@ -113,7 +77,7 @@ This package contains library source intended for building other packages which use "rand" feature of "%{crate}" crate. %files -n %{name}+rand-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -125,7 +89,7 @@ This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+sha1-devel Summary: %{summary} @@ -137,7 +101,7 @@ This package contains library source intended for building other packages which use "sha1" feature of "%{crate}" crate. %files -n %{name}+sha1-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+slog-devel Summary: %{summary} @@ -149,7 +113,7 @@ This package contains library source intended for building other packages which use "slog" feature of "%{crate}" crate. %files -n %{name}+slog-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -161,31 +125,7 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+stdweb-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+stdweb-devel %{_description} - -This package contains library source intended for building other packages -which use "stdweb" feature of "%{crate}" crate. - -%files -n %{name}+stdweb-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+u128-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+u128-devel %{_description} - -This package contains library source intended for building other packages -which use "u128" feature of "%{crate}" crate. - -%files -n %{name}+u128-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+v1-devel Summary: %{summary} @@ -197,7 +137,7 @@ This package contains library source intended for building other packages which use "v1" feature of "%{crate}" crate. %files -n %{name}+v1-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+v3-devel Summary: %{summary} @@ -209,7 +149,7 @@ This package contains library source intended for building other packages which use "v3" feature of "%{crate}" crate. %files -n %{name}+v3-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+v4-devel Summary: %{summary} @@ -221,7 +161,7 @@ This package contains library source intended for building other packages which use "v4" feature of "%{crate}" crate. %files -n %{name}+v4-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+v5-devel Summary: %{summary} @@ -233,19 +173,7 @@ This package contains library source intended for building other packages which use "v5" feature of "%{crate}" crate. %files -n %{name}+v5-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+wasm-bindgen-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+wasm-bindgen-devel %{_description} - -This package contains library source intended for building other packages -which use "wasm-bindgen" feature of "%{crate}" crate. - -%files -n %{name}+wasm-bindgen-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 @@ -266,6 +194,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate. %endif %changelog +* Thu Jan 16 2020 Josh Stone - 0.8.1-1 +- Update to 0.8.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.7.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3ee0bd2..d2bca21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uuid-0.7.4.crate) = 5c0d5f85b05db505ba6736437c78fc62e7a961ec1fd7d262749c282ae41bc1b1adda373644790de64ebebf59a200f8e610767f3e5fe0caf87305ecd5a229c265 +SHA512 (uuid-0.8.1.crate) = 754cd59021053cd3ec6b929cf6ed15127a8d0d9be1777e100153d6a23160a251c146eb180fccd1e515d1d0728332bbdb7c36e8f111958489234db6299df28f7c diff --git a/uuid-fix-metadata.diff b/uuid-fix-metadata.diff index cae2135..75edcd1 100644 --- a/uuid-fix-metadata.diff +++ b/uuid-fix-metadata.diff @@ -1,17 +1,17 @@ ---- uuid-0.7.4/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ uuid-0.7.4/Cargo.toml 2019-06-22T08:18:57.093112+00:00 -@@ -68,7 +68,6 @@ +--- uuid-0.8.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ uuid-0.8.1/Cargo.toml 2020-01-16T18:28:31.119399+00:00 +@@ -65,17 +65,11 @@ + [features] - const_fn = ["nightly"] default = ["std"] -guid = ["winapi"] - nightly = [] std = [] - stdweb = ["rand/stdweb"] -@@ -78,9 +77,6 @@ +-stdweb = ["rand/stdweb"] + v1 = [] + v3 = ["md5"] v4 = ["rand"] v5 = ["sha1"] - wasm-bindgen = ["rand/wasm-bindgen"] +-wasm-bindgen = ["rand/wasm-bindgen"] -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -optional = true