https://bugzilla.redhat.com/show_bug.cgi?id=1947088

Robert-André Mauchin 🐧 <zebo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |zebo...@gmail.com
           Assignee|nob...@fedoraproject.org    |zebo...@gmail.com
           Doc Type|---                         |If docs needed, set a value
              Flags|                            |fedora-review?



--- Comment #1 from Robert-André Mauchin 🐧 <zebo...@gmail.com> ---
 - Please add a comment specifying your changes:

# Initial patched metadata
# * Bump sha2 to 0.9
# * Remove dependency on rust-crypto
# * Relax unicode-normalization dep
# * Relax hex dep
# * Set "reqwest-010" as default
Patch0:         oauth2-fix-metadata.diff

 - Please use "rust2rpm -p" to generate the fix-metadata file:

--- oauth2-3.0.0/Cargo.toml     2020-06-14T16:44:33+00:00
+++ oauth2-3.0.0/Cargo.toml     2021-04-07T16:54:58.016547+00:00
@@ -78,18 +78,15 @@
 version = "1.0"

 [dependencies.sha2]
-version = "0.8"
+version = "0.9"

 [dependencies.unicode-normalization]
-version = "=0.1.9"
+version = "0.1.9"

 [dependencies.url]
 version = "2.1"
 [dev-dependencies.hex]
-version = "=0.4.0"
-
-[dev-dependencies.rust-crypto]
-version = "0.2.36"
+version = "0.4.0"

 [dev-dependencies.tokio]
 version = "0.1"
@@ -99,7 +96,7 @@
 features = ["v4"]

 [features]
-default = ["reqwest-09"]
+default = ["reqwest-010"]
 futures-01 = ["futures-0-1"]
 futures-03 = ["futures-0-3", "async-trait"]
 reqwest-010 = ["reqwest-0-10", "http-0-2"]


 - Please add any other modification in a separate patch.

 - Instead of patching out examples, I'd recommend only testing the library and
doc and not the examples:

%if %{with check}
%check
%cargo_test -- --lib
%cargo_test -- --doc
%endif

 - Add examples to devel:

%files          devel
%license LICENSE-MIT LICENSE-APACHE
%doc examples README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/


 - License ok
 - Latest version packaged
 - Builds in mock
 - No rpmlint errors
 - Conforms to Packaging Guidelines


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to