diff --git a/.gitignore b/.gitignore index 9341f1d..bcc6538 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /libm-0.2.6.crate /libm-0.2.7.crate /libm-0.2.8.crate +/libm-0.2.11.crate diff --git a/rust-libm.spec b/rust-libm.spec index 40693e8..18c3837 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -1,19 +1,19 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate libm Name: rust-libm -Version: 0.2.8 +Version: 0.2.11 Release: %autorelease Summary: Libm in pure Rust -License: MIT OR Apache-2.0 +License: MIT AND (MIT OR Apache-2.0) URL: https://crates.io/crates/libm Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Libm in pure Rust.} @@ -30,8 +30,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/LICENSE-APACHE -%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/LICENSE.txt %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/README.md @@ -49,6 +48,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+force-soft-floats-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force-soft-floats-devel %{_description} + +This package contains library source intended for building other packages which +use the "force-soft-floats" feature of the "%{crate}" crate. + +%files -n %{name}+force-soft-floats-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index aca41ac..74f9184 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,5 +1,3 @@ [package] summary = "Libm in pure Rust" -[features] -hide = ["musl-reference-tests", "rand"] diff --git a/sources b/sources index 32a6445..3306a43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libm-0.2.8.crate) = 753df71bb2c838abbac360db2e4400c2d931185ecff993da51a979870f2c3f7ac017380fadee4622102fb4b37ebcc1960b0cbd295afc9cd1cb3307524e1f39c5 +SHA512 (libm-0.2.11.crate) = 86742b5d97dc976cec5bbf75f565b40c7058e74cf840cbc7baf4d84823318040ac692b5796a407bd44caac553dda3f5a087d3bf8d6099cf26305123ce106c7bb