#1 bump dependencies in Cargo.toml to fix FTBFS issue
Merged 3 years ago by decathorpe. Opened 3 years ago by decathorpe.
Unknown source master  into  master

file modified
+11 -3
@@ -6,15 +6,20 @@

  

  Name:           rust-%{crate}

  Version:        1.1.0

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Library to interface with Secret Service API

  

  # Upstream license specification: MIT OR Apache-2.0

  License:        MIT or ASL 2.0

  URL:            https://crates.io/crates/secret-service

  Source:         %{crates_source}

- # Initial patched metadata

- # * Bump num to 0.3

+ # patch Cargo.toml to update dependencies (no code changes necessary)

+ # https://github.com/hwchen/secret-service-rs/pull/21

+ # - aes 0.3.2 → 0.4.0

+ # - block-modes 0.3.2 → 0.5.0

+ # - hkdf 0.8 → 0.9

+ # - num 0.2.0 → 0.3.0

+ # - sha2 0.8.0 → 0.9

  Patch0:         secret-service-fix-metadata.diff

  

  ExclusiveArch:  %{rust_arches}
@@ -74,6 +79,9 @@

  %endif

  

  %changelog

+ * Mon Aug 24 2020 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-5

+ - Bump dependencies in Cargo.toml to fix FTBFS issue.

+ 

  * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4

  - Second attempt - Rebuilt for

    https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

@@ -1,6 +1,26 @@

- --- secret-service-1.1.0/Cargo.toml	2020-03-05T20:36:18+00:00

- +++ secret-service-1.1.0/Cargo.toml	2020-07-10T01:09:20.204178+00:00

- @@ -36,7 +36,7 @@

+ diff --git a/Cargo.toml b/Cargo.toml

+ index 9a7b756..204295e 100644

+ --- a/Cargo.toml

+ +++ b/Cargo.toml

+ @@ -21,25 +21,25 @@ keywords = ["secret-service", "password", "linux", "keychain"]

+  license = "MIT OR Apache-2.0"

+  repository = "https://github.com/hwchen/secret-service-rs.git"

+  [dependencies.aes]

+ -version = "0.3.2"

+ +version = "0.4.0"

+  

+  [dependencies.block-modes]

+ -version = "0.3.2"

+ +version = "0.5.0"

+  

+  [dependencies.dbus]

+  version = "0.2.3"

+  

+  [dependencies.hkdf]

+ -version = "0.8"

+ +version = "0.9"

+  

+  [dependencies.lazy_static]

   version = "1.3.0"

   

   [dependencies.num]
@@ -9,3 +29,7 @@

   

   [dependencies.rand]

   version = "0.6.5"

+  

+  [dependencies.sha2]

+ -version = "0.8.0"

+ +version = "0.9.0"

Bump Cargo.toml dependencies to what's available in fedora:

  • aes 0.3.2 → 0.4.0
  • block-modes 0.3.2 → 0.5.0
  • hkdf 0.8 → 0.9
  • sha2 0.8.0 → 0.9

Fixes: RHBZ#1865440

@decathorpe please submit patch upstream & mention it in spec comment. Thanks!

@decathorpe please submit patch upstream & mention it in spec comment. Thanks!

rebased onto de63c97

3 years ago

I submitted a PR upstream and added the link as a comment to the .spec file.

Pull-Request has been merged by decathorpe

3 years ago