Merge branch 'rawhide' into epel9

epel9
Fabio Valentini 2 years ago
commit 104425b2df
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

3
.gitignore vendored

@ -2,3 +2,6 @@
/libm-0.1.3.crate /libm-0.1.3.crate
/libm-0.1.4.crate /libm-0.1.4.crate
/libm-0.2.1.crate /libm-0.2.1.crate
/libm-0.2.2.crate
/libm-0.2.3.crate
/libm-0.2.5.crate

@ -1,10 +1,10 @@
--- libm-0.2.1/Cargo.toml 1970-01-01T00:00:00+00:00 --- libm-0.2.5/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libm-0.2.1/Cargo.toml 2019-11-28T14:17:50.762271+00:00 +++ libm-0.2.5/Cargo.toml 2022-08-20T20:12:55.550260+00:00
@@ -21,6 +21,7 @@ @@ -25,6 +25,7 @@
categories = ["no-std"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libm" repository = "https://github.com/rust-lang/libm"
+exclude = ["/ci/*"] resolver = "1"
[dev-dependencies.no-panic] +exclude = ["/ci/"]
version = "0.1.8"
[build-dependencies.rand] [profile.release]
lto = "fat"

@ -1,29 +1,25 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 22
# no-panic fails: https://github.com/rust-lang/libm/issues/234 %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate libm %global crate libm
Name: rust-%{crate} Name: rust-libm
Version: 0.2.1 Version: 0.2.5
Release: %autorelease Release: %autorelease
Summary: Libm in pure Rust Summary: Libm in pure Rust
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/libm URL: https://crates.io/crates/libm
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * Exclude ci/, https://github.com/japaric/libm/pull/148 # * exclude files that are only useful for upstream CI:
Patch0: libm-fix-metadata.diff # https://github.com/japaric/libm/pull/148
Patch: libm-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Libm in pure Rust.} Libm in pure Rust.}
@ -37,12 +33,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc CHANGELOG.md CONTRIBUTING.md README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,10 +50,10 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel %package -n %{name}+unstable-devel
Summary: %{summary} Summary: %{summary}
@ -63,10 +62,10 @@ BuildArch: noarch
%description -n %{name}+unstable-devel %{_description} %description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the unstable" feature of the "%{crate}" crate. use the "unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel %files -n %{name}+unstable-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (libm-0.2.1.crate) = a037ce773e4c4b0a9c20a23a9c04a34bc468753a1ccafb42199ae1793adc100148b77b08533c4bcc0f269d7de421c0657b6ea62f132ae808cc3b998f55e713a9 SHA512 (libm-0.2.5.crate) = 4d56501fdc86011f1b707b349c409564c85c2484b185adf9dc5d5a8a8fcca8c0e172c95ee5dbfb428b7b13d8cfb1e23c596d3ae3bfa878f2019fabd3258c7863

Loading…
Cancel
Save