From 53b277428aae58cf45f1c8b74f729a47e7f7ea36 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 28 Nov 2019 15:18:47 +0100 Subject: [PATCH] Update to 0.2.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + libm-fix-metadata.diff | 6 +++--- rust-libm.spec | 26 ++++++++------------------ sources | 2 +- 4 files changed, 13 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index c03f297..e0c1d17 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /libm-0.1.2.crate /libm-0.1.3.crate /libm-0.1.4.crate +/libm-0.2.1.crate diff --git a/libm-fix-metadata.diff b/libm-fix-metadata.diff index 325676b..85072b0 100644 --- a/libm-fix-metadata.diff +++ b/libm-fix-metadata.diff @@ -1,9 +1,9 @@ ---- 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 +--- libm-0.2.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ libm-0.2.1/Cargo.toml 2019-11-28T14:17:50.762271+00:00 @@ -21,6 +21,7 @@ categories = ["no-std"] license = "MIT OR Apache-2.0" - repository = "https://github.com/rust-lang-nursery/libm" + repository = "https://github.com/rust-lang/libm" +exclude = ["/ci/*"] [dev-dependencies.no-panic] version = "0.1.8" diff --git a/rust-libm.spec b/rust-libm.spec index 2af692a..885a75e 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -5,7 +5,7 @@ %global crate libm Name: rust-%{crate} -Version: 0.1.4 +Version: 0.2.1 Release: 1%{?dist} Summary: Libm in pure Rust @@ -55,18 +55,6 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml -%package -n %{name}+checked-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+checked-devel %{_description} - -This package contains library source intended for building other packages -which use "checked" feature of "%{crate}" crate. - -%files -n %{name}+checked-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - %package -n %{name}+musl-reference-tests-devel Summary: %{summary} BuildArch: noarch @@ -91,21 +79,20 @@ which use "rand" feature of "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml -%package -n %{name}+stable-devel +%package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+stable-devel %{_description} +%description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages -which use "stable" feature of "%{crate}" crate. +which use "unstable" feature of "%{crate}" crate. -%files -n %{name}+stable-devel +%files -n %{name}+unstable-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -sed -i -e '/#!\[deny(warnings)\]/d' src/lib.rs %cargo_prep %generate_buildrequires @@ -123,6 +110,9 @@ sed -i -e '/#!\[deny(warnings)\]/d' src/lib.rs %endif %changelog +* Thu Nov 28 15:17:50 CET 2019 Igor Gnatenko - 0.2.1-1 +- Update to 0.2.1 + * Sun Sep 08 09:04:01 CEST 2019 Igor Gnatenko - 0.1.4-1 - Update to 0.1.4 diff --git a/sources b/sources index 676b184..4c787b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libm-0.1.4.crate) = 6bc647425ec8be5995ad4798427a86e28282b06532b8e6a53745e2a2ac16652d087b84c0946a4858a49d98995b9e543e1764765d270bf5569cd2ad92d52b81f2 +SHA512 (libm-0.2.1.crate) = a037ce773e4c4b0a9c20a23a9c04a34bc468753a1ccafb42199ae1793adc100148b77b08533c4bcc0f269d7de421c0657b6ea62f132ae808cc3b998f55e713a9