diff --git a/.gitignore b/.gitignore index 9948236..b6380de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /instant-0.1.6.crate /instant-0.1.9.crate +/instant-0.1.12.crate diff --git a/changelog b/changelog new file mode 100644 index 0000000..de7696e --- /dev/null +++ b/changelog @@ -0,0 +1,11 @@ +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* 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/instant-fix-metadata.diff b/instant-fix-metadata.diff index 02b59fd..36dac71 100644 --- a/instant-fix-metadata.diff +++ b/instant-fix-metadata.diff @@ -1,6 +1,6 @@ ---- 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 @@ +--- instant-0.1.12/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ instant-0.1.12/Cargo.toml 2021-11-28T07:23:26.587821+00:00 +@@ -21,61 +21,6 @@ repository = "https://github.com/sebcrozet/instant" [dependencies.cfg-if] version = "1.0" @@ -9,7 +9,7 @@ - [features] inaccurate = [] - now = ["time"] + now = [] -wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"] -[target.asmjs-unknown-emscripten.dependencies.js-sys] -version = "0.3" @@ -28,9 +28,6 @@ -version = "0.3" -features = ["Window", "Performance", "PerformanceTiming"] -optional = true - [target."cfg(not(any(feature = \"stdweb\", feature = \"wasm-bindgen\")))".dependencies.time] - version = "0.2" - optional = true -[target.wasm32-unknown-emscripten.dependencies.js-sys] -version = "0.3" -optional = true diff --git a/rust-instant.spec b/rust-instant.spec index b6d23b5..128de2b 100644 --- a/rust-instant.spec +++ b/rust-instant.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 19 %bcond_without check %global debug_package %{nil} %global crate instant Name: rust-%{crate} -Version: 0.1.9 -Release: 3%{?dist} +Version: 0.1.12 +Release: %autorelease Summary: Partial replacement for std::time::Instant that works on WASM too # Upstream license specification: BSD-3-Clause @@ -35,12 +35,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use "%{crate}" crate. %files devel %license LICENSE -%doc README.md +%doc AUTHORS CHANGELOGS.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -49,8 +49,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use "the default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -61,8 +61,8 @@ 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. +This package contains library source intended for building other packages which +use "the inaccurate" feature of the "%{crate}" crate. %files -n %{name}+inaccurate-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -73,24 +73,12 @@ BuildArch: noarch %description -n %{name}+now-devel %{_description} -This package contains library source intended for building other packages -which use "now" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use "the now" feature of the "%{crate}" crate. %files -n %{name}+now-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+time-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+time-devel %{_description} - -This package contains library source intended for building other packages -which use "time" feature of "%{crate}" crate. - -%files -n %{name}+time-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 rm tests/wasm.rs @@ -111,14 +99,4 @@ rm tests/wasm.rs %endif %changelog -* Fri Jul 23 2021 Fedora Release Engineering - 0.1.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 0.1.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* 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 +%autochangelog diff --git a/sources b/sources index 111299a..b3a9936 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (instant-0.1.9.crate) = 3915f67c3629ec93296d56c4cda0cf97b29b1a70930a9d546abb9518139d4c2f35062563a5094e84841ddb1f00b0f3df9dc00801d96c01994765221edf03ef7c +SHA512 (instant-0.1.12.crate) = fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407