Update to version 0.2.3; Fixes RHBZ#2112500

epel9
Fabio Valentini 2 years ago
parent 358234282a
commit 8fcd4795e1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/libm-0.1.4.crate
/libm-0.2.1.crate
/libm-0.2.2.crate
/libm-0.2.3.crate

@ -1,10 +1,10 @@
--- libm-0.2.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libm-0.2.2/Cargo.toml 2022-02-07T22:51:18.738558+00:00
@@ -21,6 +21,7 @@
--- libm-0.2.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libm-0.2.3/Cargo.toml 2022-08-06T16:03:48.236361+00:00
@@ -24,6 +24,7 @@
categories = ["no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libm"
+exclude = ["/ci/*"]
+exclude = ["/ci/"]
[profile.release]
lto = "fat"
[dev-dependencies.no-panic]

@ -1,25 +1,25 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate libm
Name: rust-%{crate}
Version: 0.2.2
Name: rust-libm
Version: 0.2.3
Release: %autorelease
Summary: Libm in pure Rust
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/libm
Source: %{crates_source}
# Initial patched metadata
# * Exclude ci/, https://github.com/japaric/libm/pull/148
Patch0: libm-fix-metadata.diff
# 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
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Libm in pure Rust.}
@ -36,9 +36,12 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md CONTRIBUTING.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,7 +53,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
@ -62,7 +65,7 @@ This package contains library source intended for building other packages which
use the "unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (libm-0.2.2.crate) = 5aed180dec326ed9ee2fb90dfd94127ee5f75804f7ce7fa0ed5c7e1f0533215690553551da44c055f9ad47170ca32971467fb378f7328a3c22930832388eed75
SHA512 (libm-0.2.3.crate) = b436775d2749fadbdb0d506d50fdf4361b522a506c1b632c69861a7ec55a757c3a66e539db67f96d290e3d927935b5394c1afe1bbb122e381353cd714ab2f340

Loading…
Cancel
Save