From 8b16fbea849f4ba1046397947de09726dbb3175f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 20 May 2023 16:02:55 +0200 Subject: [PATCH] Update to version 0.3.7 --- .gitignore | 1 + README.md | 3 --- rust-bitreader.spec | 31 +++++++++++++++---------------- sources | 2 +- 4 files changed, 17 insertions(+), 20 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 555dec1..3c5b837 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /bitreader-0.3.4.crate /bitreader-0.3.5.crate +/bitreader-0.3.7.crate diff --git a/README.md b/README.md deleted file mode 100644 index 252c0ce..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-bitreader - -The rust-bitreader package diff --git a/rust-bitreader.spec b/rust-bitreader.spec index 6c978b2..987f60c 100644 --- a/rust-bitreader.spec +++ b/rust-bitreader.spec @@ -1,27 +1,25 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate bitreader -Name: rust-%{crate} -Version: 0.3.5 +Name: rust-bitreader +Version: 0.3.7 Release: %autorelease Summary: BitReader helps reading individual bits from a slice of bytes -# 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/bitreader Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -BitReader helps reading individual bits from a slice of bytes. -You can read "unusual" numbers of bits from the byte slice, for example 13 bits -at once. The reader internally keeps track of position within the buffer.} +BitReader helps reading individual bits from a slice of bytes. You can +read "unusual" numbers of bits from the byte slice, for example 13 bits +at once. The reader internally keeps track of position within the +buffer.} %description %{_description} @@ -35,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%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} @@ -49,7 +48,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}+std-devel Summary: %{summary} @@ -61,7 +60,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 323a3e9..7a45a70 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bitreader-0.3.5.crate) = a336cc5929d1449c09eed66be0c959be0301e1e9f929817df57e0a42d09ae73f393b32ab6ab43bb532db0e6bd7f9d4fb2f5c01854ae042a1b3c30dcee979f2ab +SHA512 (bitreader-0.3.7.crate) = 2c46ad21cf98606e4d31b569234869b501cd60ba7ced309bc1c68f221fd6b43d936c210cf435b58cde5f3a5c21dddbab5102d18db0bf15679f52fe33229a23cc