diff --git a/.gitignore b/.gitignore index 23b0d02..9341f1d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /libm-0.2.5.crate /libm-0.2.6.crate /libm-0.2.7.crate +/libm-0.2.8.crate diff --git a/libm-fix-metadata.diff b/libm-fix-metadata.diff deleted file mode 100644 index 59fb72f..0000000 --- a/libm-fix-metadata.diff +++ /dev/null @@ -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" diff --git a/rust-libm.spec b/rust-libm.spec index 36443ea..40693e8 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -1,21 +1,17 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate libm Name: rust-libm -Version: 0.2.7 +Version: 0.2.8 Release: %autorelease Summary: Libm in pure Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/libm 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 @@ -66,7 +62,7 @@ use the "unstable" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 12d2e73..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -unwanted-features = - musl-reference-tests - rand diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..aca41ac --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +summary = "Libm in pure Rust" + +[features] +hide = ["musl-reference-tests", "rand"] diff --git a/sources b/sources index 1b7ad79..32a6445 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libm-0.2.7.crate) = b7adbf657be812451fc50cd5e5f92b7a71d43b4e48761bd2738d65498c9abad851f8e86d3be06ae75cf39c7798c23cafe767bc5fd40f596774e858f69fcb46d9 +SHA512 (libm-0.2.8.crate) = 753df71bb2c838abbac360db2e4400c2d931185ecff993da51a979870f2c3f7ac017380fadee4622102fb4b37ebcc1960b0cbd295afc9cd1cb3307524e1f39c5