Update to version 0.4.40

epel9
Fabio Valentini 3 years ago
parent 27afcf1dcf
commit b73e2dfa36
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -15,3 +15,4 @@
/curl-0.4.30.crate /curl-0.4.30.crate
/curl-0.4.31.crate /curl-0.4.31.crate
/curl-0.4.33.crate /curl-0.4.33.crate
/curl-0.4.40.crate

@ -1,6 +1,16 @@
--- curl-0.4.33/Cargo.toml 2020-08-19T05:24:59+00:00 --- curl-0.4.40/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-0.4.33/Cargo.toml 2020-12-02T13:41:08.205229+00:00 +++ curl-0.4.40/Cargo.toml 2021-11-05T20:45:54.860037+00:00
@@ -67,12 +67,7 @@ @@ -38,9 +38,6 @@
path = "examples/aws_sigv4.rs"
required-features = ["static-curl", "ssl"]
-[[test]]
-name = "atexit"
-harness = false
[dependencies.curl-sys]
version = "0.4.50"
default-features = false
@@ -79,12 +76,7 @@
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys] [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys]
version = "0.9.43" version = "0.9.43"
optional = true optional = true

@ -1,12 +1,11 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 18
# * Tests are too environment dependent %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate curl %global crate curl
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.4.33 Version: 0.4.40
Release: %autorelease Release: %autorelease
Summary: Rust bindings to libcurl for making HTTP requests Summary: Rust bindings to libcurl for making HTTP requests
@ -15,7 +14,8 @@ License: MIT
URL: https://crates.io/crates/curl URL: https://crates.io/crates/curl
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No windows/osx # * drop windows- and mac OS-specific dependencies
# * drop test binary that requires internet connectivity
Patch0: curl-fix-metadata.diff Patch0: curl-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -43,7 +43,7 @@ which use "%{crate}" crate.
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/{ci/,.github/} %exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/ci/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -93,6 +93,18 @@ which use "openssl-sys" feature of "%{crate}" crate.
%files -n %{name}+openssl-sys-devel %files -n %{name}+openssl-sys-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+poll_7_68_0-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+poll_7_68_0-devel %{_description}
This package contains library source intended for building other packages
which use "poll_7_68_0" feature of "%{crate}" crate.
%files -n %{name}+poll_7_68_0-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+protocol-ftp-devel %package -n %{name}+protocol-ftp-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -153,8 +165,22 @@ which use "static-ssl" feature of "%{crate}" crate.
%files -n %{name}+static-ssl-devel %files -n %{name}+static-ssl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+upkeep_7_62_0-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+upkeep_7_62_0-devel %{_description}
This package contains library source intended for building other packages
which use "upkeep_7_62_0" feature of "%{crate}" crate.
%files -n %{name}+upkeep_7_62_0-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
# drop test binary that requires internet connectivity
rm tests/atexit.rs
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -168,7 +194,8 @@ which use "static-ssl" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
%cargo_test # skip tests that require internet connectivity
%cargo_test -- -- --skip src/easy/handle.rs --skip src/easy/handler.rs
%endif %endif
%changelog %changelog

@ -1 +1 @@
SHA512 (curl-0.4.33.crate) = 1b0ce46bf2b370150586db61081bf6945119867f05cf6c319a924a74375f1497dccfa0a3f1e92cf78a355167091d557886c54e26bd83814975149e41e28c25f4 SHA512 (curl-0.4.40.crate) = f4cffff61d4c16122f435c13921cb0be82bb1f3d93252f0b01e269d85a70c0266d72be45c218c8cb5b6708b86b0a966574588bd305fa3aebd2a8926f72cf129a

Loading…
Cancel
Save