From 7a031c2fc8165f0e7f9d3fdb3222040e393765ef Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Dec 30 2020 10:40:15 +0000 Subject: Update to 0.1.9 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index 6e35b28..9948236 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /instant-0.1.6.crate +/instant-0.1.9.crate diff --git a/instant-fix-metadata.diff b/instant-fix-metadata.diff index 2339f91..02b59fd 100644 --- a/instant-fix-metadata.diff +++ b/instant-fix-metadata.diff @@ -1,13 +1,14 @@ ---- instant-0.1.6/Cargo.toml 2020-07-05T19:38:15+00:00 -+++ instant-0.1.6/Cargo.toml 2020-08-25T23:17:36.637130+00:00 -@@ -20,63 +20,9 @@ - keywords = ["time", "wasm"] - license = "BSD-3-Clause" +--- instant-0.1.9/Cargo.toml 2020-11-19T14:23:20+00:00 ++++ instant-0.1.9/Cargo.toml 2020-12-30T10:39:37.995349+00:00 +@@ -22,64 +22,9 @@ repository = "https://github.com/sebcrozet/instant" + [dependencies.cfg-if] + version = "1.0" -[dev-dependencies.wasm-bindgen-test] --version = "0.2" - +-version = "0.3" +- [features] + inaccurate = [] now = ["time"] -wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"] -[target.asmjs-unknown-emscripten.dependencies.js-sys] @@ -28,7 +29,7 @@ -features = ["Window", "Performance", "PerformanceTiming"] -optional = true [target."cfg(not(any(feature = \"stdweb\", feature = \"wasm-bindgen\")))".dependencies.time] - version = "0.1" + version = "0.2" optional = true -[target.wasm32-unknown-emscripten.dependencies.js-sys] -version = "0.3" diff --git a/rust-instant.spec b/rust-instant.spec index 151da89..d7b6b43 100644 --- a/rust-instant.spec +++ b/rust-instant.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate instant Name: rust-%{crate} -Version: 0.1.6 +Version: 0.1.9 Release: 1%{?dist} Summary: Partial replacement for std::time::Instant that works on WASM too @@ -55,6 +55,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+inaccurate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+inaccurate-devel %{_description} + +This package contains library source intended for building other packages +which use "inaccurate" feature of "%{crate}" crate. + +%files -n %{name}+inaccurate-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+now-devel Summary: %{summary} BuildArch: noarch @@ -99,5 +111,8 @@ rm tests/wasm.rs %endif %changelog +* Wed Dec 30 11:39:38 CET 2020 Igor Raits - 0.1.9-1 +- Update to 0.1.9 + * Tue Aug 25 16:17:36 PDT 2020 Josh Stone - 0.1.6-1 - Initial package diff --git a/sources b/sources index b77118e..111299a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (instant-0.1.6.crate) = 52a1b53dd6ab086679b5dc21902cb46fb91edcdf1a009ff13c43c89c0ba77e8b7f4c68e6c5939713d9f609d711881a502d121266fbfd99aa07e36807b3e5494a +SHA512 (instant-0.1.9.crate) = 3915f67c3629ec93296d56c4cda0cf97b29b1a70930a9d546abb9518139d4c2f35062563a5094e84841ddb1f00b0f3df9dc00801d96c01994765221edf03ef7c