diff --git a/.gitignore b/.gitignore index be63868..e031517 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /async-task-1.2.1.crate /async-task-1.3.0.crate /async-task-1.3.1.crate +/async-task-3.0.0.crate diff --git a/async-task-fix-metadata.diff b/async-task-fix-metadata.diff deleted file mode 100644 index e7a7f6c..0000000 --- a/async-task-fix-metadata.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- async-task-1.3.0/Cargo.toml 2020-01-24T23:18:41+00:00 -+++ async-task-1.3.0/Cargo.toml 2020-01-27T22:39:00.566469+00:00 -@@ -39,6 +39,3 @@ - version = "0.1.0-alpha.4" - [target."cfg(unix)".dependencies.libc] - version = "0.2.66" --[target."cfg(windows)".dependencies.winapi] --version = "0.3.8" --features = ["processthreadsapi"] diff --git a/rust-async-task.spec b/rust-async-task.spec index 5433809..5679975 100644 --- a/rust-async-task.spec +++ b/rust-async-task.spec @@ -1,12 +1,11 @@ # Generated by rust2rpm 13 -# testing needs an alpha pin-utils -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate async-task Name: rust-%{crate} -Version: 1.3.1 +Version: 3.0.0 Release: 1%{?dist} Summary: Task abstraction for building executors @@ -14,9 +13,6 @@ Summary: Task abstraction for building executors License: ASL 2.0 or MIT URL: https://crates.io/crates/async-task Source: %{crates_source} -# Initial patched metadata -# * No windows -Patch0: async-task-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -56,6 +52,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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +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_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -75,6 +83,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Apr 17 2020 Josh Stone - 3.0.0-1 +- Update to 3.0.0 + * Thu Feb 06 2020 Josh Stone - 1.3.1-1 - Update to 1.3.1 diff --git a/sources b/sources index a311bf2..101ba04 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-task-1.3.1.crate) = fdf50912b8a108a4247e9ad869165da30225ac12ab6856ae63c8b1933af90599b985e9fe37df4e2086c97ff43ef5693f6771de31350c1c77fcfaf2e1e5604378 +SHA512 (async-task-3.0.0.crate) = 28fbaba504a557618853ea36db3fc49718f714c4a67f9a8a384163d2bcb34124c6843a5b591a8f763022d253ec0068b30ef0e8b4a289c1a415eb840a063dd742