From fe2e6bffb61f7bcf1435142a0d878192b92fc5ac Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 31 May 2019 17:47:11 -0700 Subject: [PATCH] Update to 0.1.3 --- .gitignore | 1 + libm-fix-metadata.diff | 11 +++++--- rust-libm.spec | 60 +++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 4 files changed, 66 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 192ff9b..92116e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libm-0.1.2.crate +/libm-0.1.3.crate diff --git a/libm-fix-metadata.diff b/libm-fix-metadata.diff index 06b7913..1963153 100644 --- a/libm-fix-metadata.diff +++ b/libm-fix-metadata.diff @@ -1,7 +1,10 @@ ---- libm-0.1.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ libm-0.1.2/Cargo.toml 2019-02-04T10:03:29.520964+01:00 -@@ -20,3 +20,4 @@ +--- 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 +@@ -21,6 +21,7 @@ categories = ["no-std"] license = "MIT OR Apache-2.0" - repository = "https://github.com/japaric/libm" + repository = "https://github.com/rust-lang-nursery/libm" +exclude = ["/ci/*"] + [dev-dependencies.no-panic] + version = "0.1.8" + [build-dependencies.rand] diff --git a/rust-libm.spec b/rust-libm.spec index 13f05ca..7d92ece 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm-9-1.fc30 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate libm Name: rust-%{crate} -Version: 0.1.2 -Release: 3%{?dist} +Version: 0.1.3 +Release: 1%{?dist} Summary: libm in pure Rust # Upstream license specification: MIT OR Apache-2.0 @@ -21,6 +21,9 @@ Patch0: libm-fix-metadata.diff ExclusiveArch: %{rust_arches} 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. @@ -53,6 +56,54 @@ 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 + +%description -n %{name}+musl-reference-tests-devel %{_description} + +This package contains library source intended for building other packages +which use "musl-reference-tests" feature of "%{crate}" crate. + +%files -n %{name}+musl-reference-tests-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+rand-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand-devel %{_description} + +This package contains library source intended for building other packages +which use "rand" feature of "%{crate}" crate. + +%files -n %{name}+rand-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+stable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stable-devel %{_description} + +This package contains library source intended for building other packages +which use "stable" feature of "%{crate}" crate. + +%files -n %{name}+stable-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -69,6 +120,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 01 2019 Josh Stone - 0.1.3-1 +- Update to 0.1.3 + * Mon Feb 04 2019 Igor Gnatenko - 0.1.2-3 - Adapt for new packaging diff --git a/sources b/sources index 0064545..1470d3b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libm-0.1.2.crate) = 707a42632a5d92cccf8eb32fc507061e5b3b724c4fccb21f998bed5e187772a2015dee40a0225fb860a38ce2caa2ec3d9060ddd32b86a927308b253b41d73c95 +SHA512 (libm-0.1.3.crate) = fa6d151106de37e57ffb61a2aff2adc21fa7003a9b6a6961748284d7d64754c503bbcd12929dc23650893784e000bf9198acdd779d7f13e088799b719246dcc0