From a1cce0f04399fafadf3076ec07828ae2c73f2502 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 11:56:21 +0200 Subject: [PATCH] Update to version 1.3.0; Fixes RHBZ#2068628 --- .gitignore | 1 + rust-bitstream-io.spec | 26 ++++++++++++-------------- sources | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 6b39c69..f3dda24 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /bitstream-io-1.0.0.crate /bitstream-io-1.1.0.crate /bitstream-io-1.2.0.crate +/bitstream-io-1.3.0.crate diff --git a/rust-bitstream-io.spec b/rust-bitstream-io.spec index 2a9ca3c..b63f871 100644 --- a/rust-bitstream-io.spec +++ b/rust-bitstream-io.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate bitstream-io Name: rust-%{crate} -Version: 1.2.0 +Version: 1.3.0 Release: %autorelease Summary: Library for reading/writing un-aligned values from/to streams @@ -15,11 +15,8 @@ URL: https://crates.io/crates/bitstream-io Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for reading/writing un-aligned values from/to streams in big-endian and @@ -33,13 +30,14 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +45,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index bfc14f4..7e6a37b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bitstream-io-1.2.0.crate) = 04c44cde341aadc2acbc38533797039c94b7c46d2c762b7824f4d1ac46518a3812ac8fe6c2853d4b5af163aba61e54b7434212d9444a46936383e72f98e32072 +SHA512 (bitstream-io-1.3.0.crate) = 1e2edb439b030e139c18a6de3660658e8eadcdeda82e5469848a17a571f986b84a57a35de62627c9cc21b9fd8131ceb533f90e9f646a78ff185016d03376793b