From b524788514308ae4d77a0b0bbab171224e57b948 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 11 Jan 2024 20:47:49 +0100 Subject: [PATCH] Update to version 0.9.6; Fixes RHBZ#2254640 --- .gitignore | 1 + rust-const-oid.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 468207c..4ffebdd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /const-oid-0.9.3.crate /const-oid-0.9.4.crate /const-oid-0.9.5.crate +/const-oid-0.9.6.crate diff --git a/rust-const-oid.spec b/rust-const-oid.spec index a0108ec..e1a79ba 100644 --- a/rust-const-oid.spec +++ b/rust-const-oid.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate const-oid Name: rust-const-oid -Version: 0.9.5 +Version: 0.9.6 Release: %autorelease Summary: Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard @@ -13,7 +13,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/const-oid Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Const-friendly implementation of the ISO/IEC Object Identifier (OID) @@ -87,7 +87,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/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 5e07d6f..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..9112561 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard" + diff --git a/sources b/sources index d35f7c6..20db25a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (const-oid-0.9.5.crate) = 88406f4a9da556e9470b588247067fc62d970a61696e1bcc9cf7bff9efc1cff644d7c48cf95e65c08d93ddaf055b7365e6d697d67f48e4fa8ceae16f55c414d7 +SHA512 (const-oid-0.9.6.crate) = b871d3b4326c4828b1c1d7a3e968315fa320e0b52e97081a95617ded0dc5b93d42b3f79ad26ff3b58a4835dcc442473f3965c2b60026412ad6aacc0c23e9f399