diff --git a/.gitignore b/.gitignore index 92116e1..c03f297 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libm-0.1.2.crate /libm-0.1.3.crate +/libm-0.1.4.crate diff --git a/libm-fix-metadata.diff b/libm-fix-metadata.diff index 1963153..325676b 100644 --- a/libm-fix-metadata.diff +++ b/libm-fix-metadata.diff @@ -1,5 +1,5 @@ ---- libm-0.1.3/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ libm-0.1.3/Cargo.toml 2019-06-01T00:46:43.818033+00:00 +--- libm-0.1.4/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ libm-0.1.4/Cargo.toml 2019-09-08T07:04:01.263696+00:00 @@ -21,6 +21,7 @@ categories = ["no-std"] license = "MIT OR Apache-2.0" diff --git a/rust-libm.spec b/rust-libm.spec index 99f8af2..355c86e 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -1,14 +1,13 @@ -# Generated by rust2rpm-9-1.fc30 -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate libm Name: rust-%{crate} -Version: 0.1.3 -Release: 2%{?dist} -Summary: libm in pure Rust +Version: 0.1.4 +Release: 1%{?dist} +Summary: Libm in pure Rust # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -19,14 +18,14 @@ Source: %{crates_source} Patch0: libm-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(no-panic/default) >= 0.1.8 with crate(no-panic/default) < 0.2.0) -%endif -%global _description \ -libm in pure Rust. +%global _description %{expand: +Libm in pure Rust.} %description %{_description} @@ -108,6 +107,9 @@ which use "stable" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -120,6 +122,9 @@ which use "stable" feature of "%{crate}" crate. %endif %changelog +* Sun Sep 08 09:04:01 CEST 2019 Igor Gnatenko - 0.1.4-1 +- Update to 0.1.4 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 1470d3b..676b184 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libm-0.1.3.crate) = fa6d151106de37e57ffb61a2aff2adc21fa7003a9b6a6961748284d7d64754c503bbcd12929dc23650893784e000bf9198acdd779d7f13e088799b719246dcc0 +SHA512 (libm-0.1.4.crate) = 6bc647425ec8be5995ad4798427a86e28282b06532b8e6a53745e2a2ac16652d087b84c0946a4858a49d98995b9e543e1764765d270bf5569cd2ad92d52b81f2