From 47ef5c7e9e410b6d5c8b41b63aaa7cb233b846c5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 16 Apr 2024 12:57:25 +0200 Subject: [PATCH] Update to version 0.2.18; Fixes RHBZ#2274712 --- .gitignore | 1 + rust-allocator-api2.spec | 13 ++++++------- sources | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 163af84..0c87ffc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /allocator-api2-0.2.15.crate /allocator-api2-0.2.16.crate +/allocator-api2-0.2.18.crate diff --git a/rust-allocator-api2.spec b/rust-allocator-api2.spec index cfd0f66..fc12019 100644 --- a/rust-allocator-api2.spec +++ b/rust-allocator-api2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate allocator-api2 Name: rust-allocator-api2 -Version: 0.2.16 +Version: 0.2.18 Release: %autorelease Summary: Mirror of Rust's allocator API @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/allocator-api2 Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Mirror of Rust's allocator API.} @@ -30,9 +30,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/COPYING -%license %{crate_instdir}/license/APACHE -%license %{crate_instdir}/license/MIT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -98,7 +97,7 @@ use the "std" 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/sources b/sources index 6f3849b..e690ed0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (allocator-api2-0.2.16.crate) = e1eb0df6b44b62115795ebf772f81e9ac0b6d273afd81659dbddb7eb6628b6e5ef6a60ea21413e79ee638afb72e6872ba83a075f6324daf93f2f1eda48daff2f +SHA512 (allocator-api2-0.2.18.crate) = 5e5b0e23e1f5b259e5d3746e3e05817af8dee95af7105ea775a5c1d69b4e537a4d6a25e2c1d46ab83e2385217b158f7940dc1315ae581c35ee23289647105e73