#1 Update to version 0.21.1
Closed 3 years ago by sohank2602. Opened 3 years ago by sohank2602.
rpms/ sohank2602/rust-bitvec update-version  into  rawhide

file modified
+1
@@ -2,3 +2,4 @@ 

  /*.src.rpm

  

  /bitvec-0.19.4.crate

+ /bitvec-0.21.1.crate

@@ -1,26 +0,0 @@ 

- diff --git a/src/array.rs b/src/array.rs

- index c0422c7..7ca8c0e 100644

- --- a/src/array.rs

- +++ b/src/array.rs

- @@ -188,7 +188,7 @@ where

-  	/// ```rust

-  	/// use bitvec::prelude::*;

-  	///

- -	/// let bitarr: BitArray<LocalBits, [usize; 1]> = bitarr![0; 30];

- +	/// let bitarr = bitarr![Lsb0, usize; 0; 30];

-  	/// let native: [usize; 1] = bitarr.unwrap();

-  	/// ```

-  	#[inline(always)]

- diff --git a/src/array/traits.rs b/src/array/traits.rs

- index 0733a8a..4b62579 100644

- --- a/src/array/traits.rs

- +++ b/src/array/traits.rs

- @@ -412,7 +412,7 @@ mod tests {

-  		let arr: &mut BitArray<Msb0, [u16; 4]> = bits.try_into().unwrap();

-  		assert!(arr.not_any());

-  

- -		let bits = bits![mut 0; 4];

- +		let bits = bits![mut LocalBits, usize; 0; 4];

-  		let bit_arr: Result<&BitArray<LocalBits, usize>, _> =

-  			(&*bits).try_into();

-  		assert!(bit_arr.is_err());

@@ -1,11 +0,0 @@ 

- --- bitvec-0.19.4/Cargo.toml	2020-10-26T22:34:28+00:00

- +++ bitvec-0.19.4/Cargo.toml	2020-11-24T11:35:30.427497+00:00

- @@ -35,7 +35,7 @@

-  default-features = false

-  

-  [dependencies.radium]

- -version = "0.5"

- +version = "0.6.1"

-  

-  [dependencies.serde]

-  version = "1"

file modified
+4 -10
@@ -5,7 +5,7 @@ 

  %global crate bitvec

  

  Name:           rust-%{crate}

- Version:        0.19.4

+ Version:        0.21.1

  Release:        2%{?dist}

  Summary:        Crate for manipulating memory, bit by bit

  
@@ -14,15 +14,6 @@ 

  License:        MIT

  URL:            https://crates.io/crates/bitvec

  Source:         %{crates_source}

- # Initial patched metadata

- # * bump radium from 0.5 to 0.6:

- #   https://github.com/bitvecto-rs/bitvec/commit/dedee4b

- Patch0:         bitvec-fix-metadata.diff

- 

- # 0.19.x series has some problems with s390x that have been fixed for 0.20.x:

- # https://github.com/bitvecto-rs/bitvec/commit/bb80797

- # https://github.com/bitvecto-rs/bitvec/commit/3bce0aa

- Patch1:         0001-fix-s390x-issues.patch

  

  ExclusiveArch:  %{rust_arches}

  %if %{__cargo_skip_build}
@@ -127,6 +118,9 @@ 

  %endif

  

  %changelog

+ * Mon Mar 15 2021 Sohan Kunkerkar<skunkerk@redhat.com> - 0.21.1-1

+ - Update to version 0.21.1

+ 

  * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.4-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (bitvec-0.19.4.crate) = 851594cf67c8ec82e56d8b182c92646b6f3d3d15c21a52e5082a7221e8e280d85b68928e744d0dcbaf7200013873a1c7c7d987cbd22886f396711ab6a50ad7ff

+ SHA512 (bitvec-0.21.1.crate) = 35f9244ca8bbb0fcdd53795706cad8c66a778c277353411109e9e2e13a8424029802e9655acc214bf99c9352fb5812e66a2e5240083dbde1a9dc6c02ba522945

This bump is required to resolve one of the dependencies for creating rust-mbrman. Presently hitting the following error while trying to create a scratch-build for the mbrman package:

Error: 
 Problem: nothing provides requested (crate(bitvec/default) >= 0.21.0 with crate(bitvec/default) < 0.22.0~)
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

No can do, at least for now. There are two problems:

I suggest trying to make mbrman use bitvec 0.19 for now.

@decathorpe Thanks for the inputs. I will close this PR and make necessary changes in the downstream repo.

Pull-Request has been closed by sohank2602

3 years ago