diff --git a/.gitignore b/.gitignore index 11b4e3e..df89e9c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /jobserver-0.1.11.crate /jobserver-0.1.12.crate /jobserver-0.1.13.crate +/jobserver-0.1.17.crate diff --git a/jobserver-fix-metadata.diff b/jobserver-fix-metadata.diff index df1ce2d..758062e 100644 --- a/jobserver-fix-metadata.diff +++ b/jobserver-fix-metadata.diff @@ -1,8 +1,8 @@ ---- jobserver-0.1.13/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ jobserver-0.1.13/Cargo.toml 2019-03-16T14:48:26.547148+00:00 +--- jobserver-0.1.17/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ jobserver-0.1.17/Cargo.toml 2019-11-15T23:11:14.974905+00:00 @@ -60,5 +60,3 @@ version = "0.2" [target."cfg(unix)".dependencies.libc] - version = "0.2" --[target."cfg(windows)".dependencies.rand] --version = "0.6" + version = "0.2.50" +-[target."cfg(windows)".dependencies.getrandom] +-version = "0.1.12" diff --git a/rust-jobserver.spec b/rust-jobserver.spec index 7f83224..8ac9230 100644 --- a/rust-jobserver.spec +++ b/rust-jobserver.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 %bcond_with check %global debug_package %{nil} %global crate jobserver Name: rust-%{crate} -Version: 0.1.13 -Release: 2%{?dist} +Version: 0.1.17 +Release: 1%{?dist} Summary: Implementation of the GNU make jobserver for Rust # Upstream license specification: MIT/Apache-2.0 @@ -18,20 +18,14 @@ Source: %{crates_source} Patch0: jobserver-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) -%if %{with check} -BuildRequires: (crate(futures/default) >= 0.1.0 with crate(futures/default) < 0.2.0) -BuildRequires: (crate(num_cpus/default) >= 1.0.0 with crate(num_cpus/default) < 2.0.0) -BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0) -BuildRequires: (crate(tokio-core/default) >= 0.1.0 with crate(tokio-core/default) < 0.2.0) -BuildRequires: (crate(tokio-process/default) >= 0.2.0 with crate(tokio-process/default) < 0.3.0) -%endif -%global _description \ -An implementation of the GNU make jobserver for Rust. +%global _description %{expand: +An implementation of the GNU make jobserver for Rust.} %description %{_description} @@ -65,6 +59,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -77,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Nov 15 2019 Josh Stone - 0.1.17-1 +- Update to 0.1.17 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 8bbe7e1..46f01a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jobserver-0.1.13.crate) = fd6c85c1fe3195305e3fa30f47a1971d2e9509161ad4c5e9b1c588e93dc093ac76e6d6830630fe6f182755715cbd1690c8beb5865df59c295d0496cc9f9047df +SHA512 (jobserver-0.1.17.crate) = 14578203a000efe2cd88e9de96af216b5aec50f02aa2f33a884119d2edbad02626c05eae6f203ef92032f7d6f9ca58f427a368f843bd379e9e35b585d04fa161