Update to version 0.2.8; Fixes RHBZ#2242457

epel10
Fabio Valentini 1 year ago
parent 9e7666bd53
commit 3e9f0d245f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/libm-0.2.5.crate /libm-0.2.5.crate
/libm-0.2.6.crate /libm-0.2.6.crate
/libm-0.2.7.crate /libm-0.2.7.crate
/libm-0.2.8.crate

@ -1,10 +0,0 @@
--- libm-0.2.7/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libm-0.2.7/Cargo.toml 2023-05-17T13:03:05.970105+00:00
@@ -24,6 +24,7 @@
categories = ["no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libm"
+exclude = ["/ci/"]
[profile.release]
lto = "fat"

@ -1,21 +1,17 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate libm %global crate libm
Name: rust-libm Name: rust-libm
Version: 0.2.7 Version: 0.2.8
Release: %autorelease Release: %autorelease
Summary: Libm in pure Rust Summary: Libm in pure Rust
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/libm URL: https://crates.io/crates/libm
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude files that are only useful for upstream CI:
# https://github.com/japaric/libm/pull/148
Patch: libm-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
@ -66,7 +62,7 @@ use the "unstable" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,4 +0,0 @@
[DEFAULT]
unwanted-features =
musl-reference-tests
rand

@ -0,0 +1,5 @@
[package]
summary = "Libm in pure Rust"
[features]
hide = ["musl-reference-tests", "rand"]

@ -1 +1 @@
SHA512 (libm-0.2.7.crate) = b7adbf657be812451fc50cd5e5f92b7a71d43b4e48761bd2738d65498c9abad851f8e86d3be06ae75cf39c7798c23cafe767bc5fd40f596774e858f69fcb46d9 SHA512 (libm-0.2.8.crate) = 753df71bb2c838abbac360db2e4400c2d931185ecff993da51a979870f2c3f7ac017380fadee4622102fb4b37ebcc1960b0cbd295afc9cd1cb3307524e1f39c5

Loading…
Cancel
Save