Compare commits

...

7 Commits

2
.gitignore vendored

@ -20,3 +20,5 @@
/curl-0.4.42.crate
/curl-0.4.43.crate
/curl-0.4.44.crate
/curl-0.4.46.crate
/curl-0.4.47.crate

@ -1,19 +1,16 @@
--- curl-0.4.44/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-0.4.44/Cargo.toml 2023-03-02T13:43:53.758003+00:00
@@ -107,16 +107,6 @@
version = "0.9.43"
--- curl-0.4.47/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-0.4.47/Cargo.toml 2024-10-07T19:25:34.117043+00:00
@@ -145,13 +145,3 @@
version = "0.9.64"
optional = true
-[target."cfg(target_env = \"msvc\")".dependencies.schannel]
-[target.'cfg(target_env = "msvc")'.dependencies.schannel]
-version = "0.1.13"
-
-[target."cfg(target_env = \"msvc\")".dependencies.winapi]
-version = "0.3"
-[target.'cfg(target_env = "msvc")'.dependencies.windows-sys]
-version = "0.52"
-features = [
- "libloaderapi",
- "wincrypt",
- "Win32_Foundation",
- "Win32_System_LibraryLoader",
- "Win32_Security_Cryptography",
-]
-
[badges.appveyor]
repository = "alexcrichton/curl-rust"

@ -1,21 +1,10 @@
--- curl-0.4.44/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-0.4.44/Cargo.toml 2023-03-02T13:44:31.215139+00:00
@@ -25,6 +25,7 @@
--- curl-0.4.47/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-0.4.47/Cargo.toml 2024-10-07T19:25:43.071091+00:00
@@ -29,6 +29,7 @@
]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"
+exclude = ["/ci/"]
[[example]]
name = "https"
@@ -52,10 +53,6 @@
name = "multi-dl"
path = "examples/multi-dl.rs"
required-features = ["ssl"]
-
-[[test]]
-name = "atexit"
-harness = false
[dependencies.curl-sys]
version = "0.4.56"
[lib]
name = "curl"

@ -1,25 +1,25 @@
# Generated by rust2rpm 24
%bcond_without check
# Generated by rust2rpm 26
# * tests fail, require internet access, or pull in outdated dependencies
%bcond_with check
%global debug_package %{nil}
%global crate curl
Name: rust-curl
Version: 0.4.44
Version: 0.4.47
Release: %autorelease
Summary: Rust bindings to libcurl for making HTTP requests
License: MIT
URL: https://crates.io/crates/curl
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# Automatically generated patch to strip dependencies and normalize metadata
Patch: curl-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop test binary that requires internet connectivity
# * exclude upstream CI files
Patch: curl-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rust bindings to libcurl for making HTTP requests.}
@ -161,9 +161,7 @@ use the "upkeep_7_62_0" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
# drop test binary that requires internet connectivity
rm tests/atexit.rs
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -177,8 +175,7 @@ rm tests/atexit.rs
%if %{with check}
%check
# skip tests that require internet connectivity
%cargo_test -- -- --skip src/easy/handle.rs --skip src/easy/handler.rs
%cargo_test
%endif
%changelog

@ -1,8 +0,0 @@
[DEFAULT]
unwanted-features =
force-system-lib-on-osx
mesalink
rustls
static-curl
static-ssl
zlib-ng-compat

@ -0,0 +1,15 @@
[tests]
run = ["none"]
comments = ["tests fail, require internet access, or pull in outdated dependencies"]
[features]
hide = [
"force-system-lib-on-osx",
"mesalink",
"rustls",
"static-curl",
"static-ssl",
"windows-static-ssl",
"zlib-ng-compat",
]

@ -1 +1 @@
SHA512 (curl-0.4.44.crate) = 499c3496cb019856773da10c5dcdf539c3fb7542a5e5dde4923d36e0f9274515b43a68bd31fc18a9adbfa9061d752fa698dfc2fbb6a6b1c1347001b3d112b3e5
SHA512 (curl-0.4.47.crate) = d74601c1dd34d4846e1d275c0b72b0a8a72505b97eec9d721288b47dc65f0533e57fc36113815edb7cbc8c0e7c909ddfacb9607004a7f3167adacc06237e1d84

Loading…
Cancel
Save