https://bugzilla.redhat.com/show_bug.cgi?id=1947088
Robert-André Mauchin 🐧 <zebob.m(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |zebob.m(a)gmail.com
Assignee|nobody(a)fedoraproject.org |zebob.m(a)gmail.com
Doc Type|--- |If docs needed, set a value
Flags| |fedora-review?
--- Comment #1 from Robert-André Mauchin 🐧 <zebob.m(a)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