From 738f03c4ee20d8864750e38ac9f252bfa0e80262 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 10 Nov 2023 00:58:03 +0100 Subject: [PATCH] Update to version 1.8.0; Fixes RHBZ#2247675 --- .gitignore | 1 + rust-bitstream-io.spec | 8 ++++---- rust2rpm.toml | 4 ++++ sources | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 5b67256..e39ce92 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /bitstream-io-1.5.0.crate /bitstream-io-1.6.0.crate /bitstream-io-1.7.0.crate +/bitstream-io-1.8.0.crate diff --git a/rust-bitstream-io.spec b/rust-bitstream-io.spec index 3f60b20..d96a42a 100644 --- a/rust-bitstream-io.spec +++ b/rust-bitstream-io.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate bitstream-io Name: rust-bitstream-io -Version: 1.7.0 +Version: 1.8.0 Release: %autorelease Summary: Library for reading/writing un-aligned values from/to streams @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/bitstream-io Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Library for reading/writing un-aligned values from/to streams in big- @@ -50,7 +50,7 @@ use the "default" 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.toml b/rust2rpm.toml new file mode 100644 index 0000000..176d5db --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[package] +summary = "Library for reading/writing un-aligned values from/to streams" + + diff --git a/sources b/sources index 46d8332..a0ffe1e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bitstream-io-1.7.0.crate) = a5f78549951474b08fddaba2c245838868993ebf32c5f821406e399297ff0ed88804bce6fb1c269ecb73b209718f47d12066f718ff7393f68ce1217d54e89d1a +SHA512 (bitstream-io-1.8.0.crate) = 505b35b5f01f251614ea2f9abd742e2f2aaa8851e4c3b4954d87a7fbc0bed768a7c562718173b802dc4556b699a81953c481485bff218a13a605803b117e65e7