diff --git a/.gitignore b/.gitignore index 642a177..7cef615 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /curl-0.4.40.crate /curl-0.4.41.crate /curl-0.4.42.crate +/curl-0.4.43.crate diff --git a/curl-fix-metadata.diff b/curl-fix-metadata.diff index a936a9f..de6a732 100644 --- a/curl-fix-metadata.diff +++ b/curl-fix-metadata.diff @@ -1,5 +1,11 @@ ---- curl-0.4.42/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ curl-0.4.42/Cargo.toml 2022-01-27T13:44:01.922753+00:00 +--- curl-0.4.43/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ curl-0.4.43/Cargo.toml 2022-05-25T12:12:21.425575+00:00 +@@ -1,4 +1,4 @@ +-# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO ++## THIS FILE IS AUTOMATICALLY GENERATED BY CARGO + # + # When uploading crates to the registry Cargo will automatically + # "normalize" Cargo.toml files for maximal compatibility @@ -47,9 +47,6 @@ path = "examples/multi-dl.rs" required-features = ["ssl"] @@ -8,7 +14,7 @@ -name = "atexit" -harness = false [dependencies.curl-sys] - version = "0.4.52" + version = "0.4.53" default-features = false @@ -90,12 +87,7 @@ [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys] diff --git a/rust-curl.spec b/rust-curl.spec index d23c8f7..89541e1 100644 --- a/rust-curl.spec +++ b/rust-curl.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate curl Name: rust-%{crate} -Version: 0.4.42 +Version: 0.4.43 Release: %autorelease Summary: Rust bindings to libcurl for making HTTP requests @@ -20,7 +20,7 @@ Patch0: curl-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust bindings to libcurl for making HTTP requests.} @@ -37,10 +37,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ -%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/ci/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ +%exclude %{crate_instdir}/ci/ %package -n %{name}+default-devel Summary: %{summary} @@ -52,7 +52,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http2-devel Summary: %{summary} @@ -64,7 +64,7 @@ This package contains library source intended for building other packages which use the "http2" feature of the "%{crate}" crate. %files -n %{name}+http2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ntlm-devel Summary: %{summary} @@ -76,7 +76,7 @@ This package contains library source intended for building other packages which use the "ntlm" feature of the "%{crate}" crate. %files -n %{name}+ntlm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+openssl-probe-devel Summary: %{summary} @@ -88,7 +88,7 @@ This package contains library source intended for building other packages which use the "openssl-probe" feature of the "%{crate}" crate. %files -n %{name}+openssl-probe-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+openssl-sys-devel Summary: %{summary} @@ -100,7 +100,7 @@ This package contains library source intended for building other packages which use the "openssl-sys" feature of the "%{crate}" crate. %files -n %{name}+openssl-sys-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+poll_7_68_0-devel Summary: %{summary} @@ -112,7 +112,7 @@ This package contains library source intended for building other packages which use the "poll_7_68_0" feature of the "%{crate}" crate. %files -n %{name}+poll_7_68_0-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+protocol-ftp-devel Summary: %{summary} @@ -124,7 +124,7 @@ This package contains library source intended for building other packages which use the "protocol-ftp" feature of the "%{crate}" crate. %files -n %{name}+protocol-ftp-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+spnego-devel Summary: %{summary} @@ -136,7 +136,7 @@ This package contains library source intended for building other packages which use the "spnego" feature of the "%{crate}" crate. %files -n %{name}+spnego-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ssl-devel Summary: %{summary} @@ -148,7 +148,7 @@ This package contains library source intended for building other packages which use the "ssl" feature of the "%{crate}" crate. %files -n %{name}+ssl-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+static-curl-devel Summary: %{summary} @@ -160,7 +160,7 @@ This package contains library source intended for building other packages which use the "static-curl" feature of the "%{crate}" crate. %files -n %{name}+static-curl-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+static-ssl-devel Summary: %{summary} @@ -172,7 +172,7 @@ This package contains library source intended for building other packages which use the "static-ssl" feature of the "%{crate}" crate. %files -n %{name}+static-ssl-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+upkeep_7_62_0-devel Summary: %{summary} @@ -184,7 +184,7 @@ This package contains library source intended for building other packages which use the "upkeep_7_62_0" feature of the "%{crate}" crate. %files -n %{name}+upkeep_7_62_0-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f53444e..6192655 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (curl-0.4.42.crate) = d350772332df29e974e5479c8ace920eaa7d39e95cd50e107aa2c519b25525bdc55134733e9b7c665b3cba9f8bd4236c5e0965c419b16a7719f2d83eca878858 +SHA512 (curl-0.4.43.crate) = 13803b2b0903c57e17e17d4099f1dc68550449068d703418bb065599ee733ebd5a2a8839b8ea65d303509107b151b21ee61f04170228b83e06dc8c79350e70bf