Compare commits

..

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

43
.gitignore vendored

@ -1,42 +1 @@
/curl-sys-0.3.15.crate
/curl-sys-0.4.1.crate
/curl-sys-0.4.2.crate
/curl-sys-0.4.5.crate
/curl-sys-0.4.6.crate
/curl-sys-0.4.7.crate
/curl-sys-0.4.8.crate
/curl-sys-0.4.9.crate
/curl-sys-0.4.10.crate
/curl-sys-0.4.11.crate
/curl-sys-0.4.12.crate
/curl-sys-0.4.13.crate
/curl-sys-0.4.15.crate
/curl-sys-0.4.16.crate
/curl-sys-0.4.17.crate
/curl-sys-0.4.18.crate
/curl-sys-0.4.19.crate
/curl-sys-0.4.24.crate
/curl-sys-0.4.25.crate
/curl-sys-0.4.26.crate
/curl-sys-0.4.27.crate
/curl-sys-0.4.28+curl-7.69.0.crate
/curl-sys-0.4.29+curl-7.68.0.crate
/curl-sys-0.4.30+curl-7.69.1.crate
/curl-sys-0.4.31+curl-7.70.0.crate
/curl-sys-0.4.32+curl-7.70.0.crate
/curl-sys-0.4.33+curl-7.71.1.crate
/curl-sys-0.4.36+curl-7.71.1.crate
/curl-sys-0.4.39+curl-7.74.0.crate
/curl-sys-0.4.45+curl-7.78.0.crate
/curl-sys-0.4.50+curl-7.79.1.crate
/curl-sys-0.4.51+curl-7.80.0.crate
/curl-sys-0.4.52+curl-7.81.0.crate
/curl-sys-0.4.55+curl-7.83.1.crate
/curl-sys-0.4.56+curl-7.83.1.crate
/curl-sys-0.4.59+curl-7.86.0.crate
/curl-sys-0.4.60+curl-7.88.1.crate
/curl-sys-0.4.63+curl-8.1.2.crate
/curl-sys-0.4.65+curl-8.2.1.crate
/curl-sys-0.4.66+curl-8.3.0.crate
/curl-sys-0.4.68+curl-8.4.0.crate
/curl-sys-0.4.70+curl-8.5.0.crate
SOURCES/curl-sys-0.4.77+curl-8.10.1.crate

@ -0,0 +1 @@
6cc48be9229b3e5f6a4a5408931957835a958ada SOURCES/curl-sys-0.4.77+curl-8.10.1.crate

@ -1,17 +1,17 @@
From fd991562a64708318e9750c1c0345b91a9cd22d2 Mon Sep 17 00:00:00 2001
From b20169c69e40a568c510e39b24ef5c844f81ce25 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Tue, 17 Oct 2023 13:21:16 +0200
Date: Mon, 7 Oct 2024 21:24:01 +0200
Subject: [PATCH] unconditionally use pkg-config to link with system libcurl
---
build.rs | 584 +------------------------------------------------------
1 file changed, 5 insertions(+), 579 deletions(-)
build.rs | 599 +------------------------------------------------------
1 file changed, 5 insertions(+), 594 deletions(-)
diff --git a/build.rs b/build.rs
index 17a6861..497789c 100644
index fa57dd9..497789c 100644
--- a/build.rs
+++ b/build.rs
@@ -1,608 +1,34 @@
@@ -1,623 +1,34 @@
-use std::env;
-use std::fs;
-use std::path::{Path, PathBuf};
@ -19,6 +19,14 @@ index 17a6861..497789c 100644
fn main() {
- println!("cargo:rerun-if-changed=curl");
- println!(
- "cargo:rustc-check-cfg=cfg(\
- libcurl_vendored,\
- link_libnghttp2,\
- link_libz,\
- link_openssl,\
- )"
- );
- let target = env::var("TARGET").unwrap();
- let windows = target.contains("windows");
-
@ -114,7 +122,7 @@ index 17a6861..497789c 100644
- .replace("@LIBCURL_LIBS@", "")
- .replace("@SUPPORT_FEATURES@", "")
- .replace("@SUPPORT_PROTOCOLS@", "")
- .replace("@CURLVERSION@", "8.5.0"),
- .replace("@CURLVERSION@", "8.10.1"),
- )
- .unwrap();
-
@ -136,6 +144,7 @@ index 17a6861..497789c 100644
- .define("CURL_DISABLE_TFTP", None)
- .define("CURL_STATICLIB", None)
- .define("ENABLE_IPV6", None)
- .define("HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID", None)
- .define("HAVE_ASSERT_H", None)
- .define("OS", "\"unknown\"") // TODO
- .define("HAVE_ZLIB_H", None)
@ -161,8 +170,10 @@ index 17a6861..497789c 100644
- .file("curl/lib/curl_get_line.c")
- .file("curl/lib/curl_memrchr.c")
- .file("curl/lib/curl_range.c")
- .file("curl/lib/curl_sha512_256.c")
- .file("curl/lib/curl_threads.c")
- .file("curl/lib/curl_trc.c")
- .file("curl/lib/cw-out.c")
- .file("curl/lib/doh.c")
- .file("curl/lib/dynbuf.c")
- .file("curl/lib/dynhds.c")
@ -205,6 +216,7 @@ index 17a6861..497789c 100644
- .file("curl/lib/progress.c")
- .file("curl/lib/rand.c")
- .file("curl/lib/rename.c")
- .file("curl/lib/request.c")
- .file("curl/lib/select.c")
- .file("curl/lib/sendf.c")
- .file("curl/lib/setopt.c")
@ -229,8 +241,10 @@ index 17a6861..497789c 100644
- .file("curl/lib/vauth/vauth.c")
- .file("curl/lib/vquic/curl_msh3.c")
- .file("curl/lib/vquic/curl_ngtcp2.c")
- .file("curl/lib/vquic/curl_osslq.c")
- .file("curl/lib/vquic/curl_quiche.c")
- .file("curl/lib/vquic/vquic.c")
- .file("curl/lib/vquic/vquic-tls.c")
- .file("curl/lib/vtls/hostcheck.c")
- .file("curl/lib/vtls/keylog.c")
- .file("curl/lib/vtls/vtls.c")
@ -246,7 +260,6 @@ index 17a6861..497789c 100644
- .file("curl/lib/curl_endian.c")
- .file("curl/lib/curl_gethostname.c")
- .file("curl/lib/curl_ntlm_core.c")
- .file("curl/lib/curl_ntlm_wb.c")
- .file("curl/lib/http_ntlm.c")
- .file("curl/lib/md4.c")
- .file("curl/lib/vauth/ntlm.c")
@ -292,6 +305,7 @@ index 17a6861..497789c 100644
- // features, make sure we only compile one vtls.
- if cfg!(feature = "rustls") {
- cfg.define("USE_RUSTLS", None)
- .file("curl/lib/vtls/cipher_suite.c")
- .file("curl/lib/vtls/rustls.c")
- .include(env::var_os("DEP_RUSTLS_FFI_INCLUDE").unwrap());
- } else if cfg!(feature = "windows-static-ssl") {
@ -330,6 +344,7 @@ index 17a6861..497789c 100644
- .file("curl/lib/vtls/x509asn1.c");
- } else if target.contains("-apple-") {
- cfg.define("USE_SECTRANSP", None)
- .file("curl/lib/vtls/cipher_suite.c")
- .file("curl/lib/vtls/sectransp.c")
- .file("curl/lib/vtls/x509asn1.c");
- if xcode_major_version().map_or(true, |v| v >= 9) {
@ -626,5 +641,5 @@ index 17a6861..497789c 100644
- None
-}
--
2.43.0
2.46.2

@ -0,0 +1,21 @@
--- curl-sys-0.4.77+curl-8.10.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-sys-0.4.77+curl-8.10.1/Cargo.toml 2024-10-07T19:20:21.308338+00:00
@@ -12,7 +12,7 @@
[package]
edition = "2018"
name = "curl-sys"
-version = "0.4.77+curl-8.10.1"
+version = "0.4.77"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = "build.rs"
links = "curl"
@@ -82,9 +82,4 @@
version = "0.9.64"
optional = true
-[target.'cfg(target_env = "msvc")'.build-dependencies.vcpkg]
-version = "0.2"
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = ["Win32_Networking_WinSock"]

@ -1,6 +1,6 @@
--- curl-sys-0.4.70+curl-8.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-sys-0.4.70+curl-8.5.0/Cargo.toml 2024-01-13T14:57:15.083595+00:00
@@ -29,20 +29,6 @@
--- curl-sys-0.4.77+curl-8.10.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-sys-0.4.77+curl-8.10.1/Cargo.toml 2024-10-07T19:21:27.146697+00:00
@@ -38,20 +38,6 @@
[dependencies.libc]
version = "0.2.2"
@ -14,14 +14,14 @@
-default-features = false
-
-[dependencies.rustls-ffi]
-version = "0.8"
-version = "0.14"
-features = ["no_log_capture"]
-optional = true
-
[build-dependencies.cc]
version = "1.0"
@@ -51,23 +37,13 @@
@@ -60,23 +46,13 @@
[features]
default = ["ssl"]
@ -44,5 +44,5 @@
- "static-curl",
-]
[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.64"

@ -0,0 +1,26 @@
[package]
cargo-toml-patch-comments = [
"drop windows-specific features and dependencies",
"drop optional dependencies and unused features (libnghttp2, mesalink)",
"drop rustls support (rustls is not supported on all architectures)",
"drop optional, unused zlib-ng support",
]
[[package.extra-patches]]
number = 10
file = "0001-unconditionally-use-pkg-config-to-link-with-system-l.patch"
comments = [
"remove code related to building vendored curl sources",
"unconditionally use pkg-config to link with system libcurl",
]
[requires]
build = ["pkgconfig(libcurl)"]
lib = ["pkgconfig(libcurl)"]
[scripts]
prep.post = [
"# remove bundled curl sources",
"rm -vr curl/",
]

@ -0,0 +1,393 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate curl-sys
%global upstream_version 0.4.77+curl-8.10.1
Name: rust-curl-sys
Version: 0.4.77
Release: %autorelease
Summary: Native bindings to the libcurl library
License: MIT
URL: https://crates.io/crates/curl-sys
Source: %{crates_source %{crate} %{upstream_version}}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: curl-sys-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop windows-specific features and dependencies
# * drop optional dependencies and unused features (libnghttp2, mesalink)
# * drop rustls support (rustls is not supported on all architectures)
# * drop optional, unused zlib-ng support
Patch: curl-sys-fix-metadata.diff
# * remove code related to building vendored curl sources
# * unconditionally use pkg-config to link with system libcurl
Patch10: 0001-unconditionally-use-pkg-config-to-link-with-system-l.patch
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: pkgconfig(libcurl)
%global _description %{expand:
Native bindings to the libcurl library.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
Requires: pkgconfig(libcurl)
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+http2-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+http2-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+ntlm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ntlm-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+openssl-sys-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+openssl-sys-devel %{_description}
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 %{crate_instdir}/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 the "poll_7_68_0" feature of the "%{crate}" crate.
%files -n %{name}+poll_7_68_0-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+protocol-ftp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+protocol-ftp-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+spnego-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+spnego-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+ssl-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ssl-devel %{_description}
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 %{crate_instdir}/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 the "upkeep_7_62_0" feature of the "%{crate}" crate.
%files -n %{name}+upkeep_7_62_0-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{upstream_version} -p1
%cargo_prep
# remove bundled curl sources
rm -vr curl/
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.4.77-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Mon Oct 07 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.77-1
- Update to version 0.4.77+curl-8.10.1; Fixes RHBZ#2311749
* Fri Aug 09 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.74-1
- Update to version 0.4.74+curl-8.9.0; Fixes RHBZ#2301676
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.73-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Jul 07 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.73-1
- Update to version 0.4.73+curl-8.8.0; Fixes RHBZ#2295453
* Thu Apr 25 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.72-1
- Update to version 0.4.72+curl-8.6.0; Fixes RHBZ#2262290
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.70-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 13 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.70-1
- Update to version 0.4.70+curl-8.5.0; Fixes RHBZ#2253472
* Tue Oct 17 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.68-1
- Update to version 0.4.68+curl-8.4.0; Fixes RHBZ#2242878
* Tue Sep 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.66-1
- Update to version 0.4.66+curl-8.3.0; Fixes RHBZ#2239531
* Sat Jul 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.65-1
- Update to version 0.4.65+curl-8.2.1; Fixes RHBZ#2225628
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.63-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.63-1
- Update to version 0.4.63+curl-8.1.2; Fixes RHBZ#2180058
* Tue Feb 28 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.60-1
- Update to version 0.4.60+curl-7.88.1; Fixes RHBZ#2172110
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.59-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Dec 12 2022 Fabio Valentini <decathorpe@gmail.com> - 0.4.59-1
- Update to version 0.4.59+curl-7.86.0; Fixes RHBZ#2138052
* Sun Jul 24 2022 Fabio Valentini <decathorpe@gmail.com> - 0.4.56-1
- Update to version 0.4.56+curl-7.83.1; Fixes RHBZ#2109772
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.55-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 25 2022 Fabio Valentini <decathorpe@gmail.com> - 0.4.55-1
- Update to version 0.4.55+curl-7.83.1; Fixes RHBZ#2063393
* Thu Jan 27 2022 Fabio Valentini <decathorpe@gmail.com> - 0.4.52-1
- Update to version 0.4.52+curl-7.81.0; Fixes RHBZ#2038503
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.51-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Nov 26 2021 Fabio Valentini <decathorpe@gmail.com> - 0.4.51-1
- Update to version 0.4.51+curl-7.80.0; Fixes RHBZ#2025204
* Fri Nov 05 2021 Fabio Valentini <decathorpe@gmail.com> - 0.4.50-1
- Update to version 0.4.50+curl-7.79.1; Fixes RHBZ#2004570
* Thu Jul 29 2021 Fabio Valentini <decathorpe@gmail.com> - 0.4.45-1
- Update to version 0.4.45+curl-7.78.0; Fixes RHBZ#1936752
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.39-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Dec 13 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.39-1
- Update to version 0.4.39+curl-7.74.0.
- Fixes RHBZ#1888087
* Thu Aug 20 2020 Josh Stone <jistone@redhat.com> - 0.4.36-1
- Update to 0.4.36+curl-7.71.1
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.33-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 23 2020 Josh Stone <jistone@redhat.com> - 0.4.33-1
- Update to 0.4.33+curl-7.71.1
* Fri Jun 26 2020 Josh Stone <jistone@redhat.com> - 0.4.32-1
- Update to 0.4.32+curl-7.70.0
* Sun May 17 16:07:18 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.31-2
- Drop move unneeded dependencies
- Add static features back, but make them noop
* Wed Apr 29 2020 Josh Stone <jistone@redhat.com> - 0.4.31-1
- Update to 0.4.31+curl-7.70.0
* Wed Mar 11 2020 Josh Stone <jistone@redhat.com> - 0.4.30+curl-7.69.1
- Update to 0.4.30+curl-7.69.1
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.4.29-1
- Update to 0.4.29+curl-7.68.0
* Wed Mar 04 2020 Josh Stone <jistone@redhat.com> - 0.4.28-1
- Update to 0.4.28+curl-7.69.0
* Sat Feb 29 2020 Josh Stone <jistone@redhat.com> - 0.4.27-1
- Update to 0.4.27
* Thu Feb 20 2020 Josh Stone <jistone@redhat.com> - 0.4.26-1
- Update to 0.4.26
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 0.4.25-1
- Update to 0.4.25
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.4.24-1
- Update to 0.4.24
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jun 20 12:41:37 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.19-1
- Update to 0.4.19
* Thu May 09 2019 Josh Stone <jistone@redhat.com> - 0.4.18-1
- Update to 0.4.18
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.17-1
- Update to 0.4.17
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jan 09 2019 Josh Stone <jistone@redhat.com> - 0.4.16-1
- Update to 0.4.16
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.15-2
- Run tests in infrastructure
* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.4.15-1
- Update to 0.4.15
- Adapt to new packaging
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.13-2
- Adapt to new packaging
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.4.13-1
- Update to 0.4.13
* Thu Sep 20 2018 Josh Stone <jistone@redhat.com> - 0.4.12-1
- Update to 0.4.12
* Tue Sep 18 2018 Josh Stone <jistone@redhat.com> - 0.4.11-1
- Update to 0.4.11
* Fri Sep 14 2018 Josh Stone <jistone@redhat.com> - 0.4.10-1
- Update to 0.4.10
* Thu Sep 13 2018 Josh Stone <jistone@redhat.com> - 0.4.9-1
- Update to 0.4.9
* Sat Aug 04 2018 Josh Stone <jistone@redhat.com> - 0.4.8-1
- Update to 0.4.8
* Tue Jul 31 2018 Josh Stone <jistone@redhat.com> - 0.4.7-1
- Update to 0.4.7
* Sat Jul 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.6-1
- Update to 0.4.6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.4.5-1
- Update to 0.4.5
* Mon Apr 16 2018 Josh Stone <jistone@redhat.com> - 0.4.2-1
- Update to 0.4.2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
- Update to 0.4.1
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-2
- Rebuild for rust-packaging v5
* Sun Nov 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-1
- Initial package
## END: Generated by rpmautospec

@ -1,130 +0,0 @@
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.39-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Dec 13 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.39-1
- Update to version 0.4.39+curl-7.74.0.
- Fixes RHBZ#1888087
* Thu Aug 20 2020 Josh Stone <jistone@redhat.com> - 0.4.36-1
- Update to 0.4.36+curl-7.71.1
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.33-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 23 2020 Josh Stone <jistone@redhat.com> - 0.4.33-1
- Update to 0.4.33+curl-7.71.1
* Fri Jun 26 2020 Josh Stone <jistone@redhat.com> - 0.4.32-1
- Update to 0.4.32+curl-7.70.0
* Sun May 17 16:07:18 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.31-2
- Drop move unneeded dependencies
- Add static features back, but make them noop
* Wed Apr 29 2020 Josh Stone <jistone@redhat.com> - 0.4.31-1
- Update to 0.4.31+curl-7.70.0
* Wed Mar 11 2020 Josh Stone <jistone@redhat.com> - 0.4.30+curl-7.69.1
- Update to 0.4.30+curl-7.69.1
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.4.29-1
- Update to 0.4.29+curl-7.68.0
* Wed Mar 04 2020 Josh Stone <jistone@redhat.com> - 0.4.28-1
- Update to 0.4.28+curl-7.69.0
* Sat Feb 29 2020 Josh Stone <jistone@redhat.com> - 0.4.27-1
- Update to 0.4.27
* Thu Feb 20 2020 Josh Stone <jistone@redhat.com> - 0.4.26-1
- Update to 0.4.26
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 0.4.25-1
- Update to 0.4.25
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.4.24-1
- Update to 0.4.24
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jun 20 12:41:37 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.19-1
- Update to 0.4.19
* Thu May 09 2019 Josh Stone <jistone@redhat.com> - 0.4.18-1
- Update to 0.4.18
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.17-1
- Update to 0.4.17
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jan 09 2019 Josh Stone <jistone@redhat.com> - 0.4.16-1
- Update to 0.4.16
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.15-2
- Run tests in infrastructure
* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.4.15-1
- Update to 0.4.15
- Adapt to new packaging
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.13-2
- Adapt to new packaging
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.4.13-1
- Update to 0.4.13
* Thu Sep 20 2018 Josh Stone <jistone@redhat.com> - 0.4.12-1
- Update to 0.4.12
* Tue Sep 18 2018 Josh Stone <jistone@redhat.com> - 0.4.11-1
- Update to 0.4.11
* Fri Sep 14 2018 Josh Stone <jistone@redhat.com> - 0.4.10-1
- Update to 0.4.10
* Thu Sep 13 2018 Josh Stone <jistone@redhat.com> - 0.4.9-1
- Update to 0.4.9
* Sat Aug 04 2018 Josh Stone <jistone@redhat.com> - 0.4.8-1
- Update to 0.4.8
* Tue Jul 31 2018 Josh Stone <jistone@redhat.com> - 0.4.7-1
- Update to 0.4.7
* Sat Jul 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.6-1
- Update to 0.4.6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.4.5-1
- Update to 0.4.5
* Mon Apr 16 2018 Josh Stone <jistone@redhat.com> - 0.4.2-1
- Update to 0.4.2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
- Update to 0.4.1
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-2
- Rebuild for rust-packaging v5
* Sun Nov 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-1
- Initial package

@ -1,29 +0,0 @@
--- curl-sys-0.4.70+curl-8.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ curl-sys-0.4.70+curl-8.5.0/Cargo.toml 2024-01-13T14:56:26.426384+00:00
@@ -12,7 +12,7 @@
[package]
edition = "2018"
name = "curl-sys"
-version = "0.4.70+curl-8.5.0"
+version = "0.4.70"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = "build.rs"
links = "curl"
@@ -73,15 +73,10 @@
version = "0.9.64"
optional = true
-[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
-version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48"
-features = ["Win32_Networking_WinSock"]
-
[badges.appveyor]
repository = "alexcrichton/curl-rust"
[badges.travis-ci]
repository = "alexcrichton/curl-rust"
+
+

@ -1,180 +0,0 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate curl-sys
%global upstream_version 0.4.70+curl-8.5.0
Name: rust-curl-sys
Version: 0.4.70
Release: %autorelease
Summary: Native bindings to the libcurl library
License: MIT
URL: https://crates.io/crates/curl-sys
Source: %{crates_source %{crate} %{upstream_version}}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: curl-sys-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * remove curl version suffix from crate version
# * drop windows-specific features and dependencies
# * drop optional dependencies and unused features (libnghttp2, mesalink)
# * drop rustls support (rustls is not supported on all architectures)
# * drop optional, unused zlib-ng support
Patch: curl-sys-fix-metadata.diff
# * remove code related to building vendored curl sources
# * unconditionally use pkg-config to link with system libcurl
Patch: 0001-unconditionally-use-pkg-config-to-link-with-system-l.patch
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Native bindings to the libcurl library.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
Requires: pkgconfig(libcurl)
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+http2-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+http2-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+ntlm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ntlm-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+openssl-sys-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+openssl-sys-devel %{_description}
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 %{crate_instdir}/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 the "poll_7_68_0" feature of the "%{crate}" crate.
%files -n %{name}+poll_7_68_0-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+protocol-ftp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+protocol-ftp-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+spnego-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+spnego-devel %{_description}
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 %{crate_instdir}/Cargo.toml
%package -n %{name}+ssl-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ssl-devel %{_description}
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 %{crate_instdir}/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 the "upkeep_7_62_0" feature of the "%{crate}" crate.
%files -n %{name}+upkeep_7_62_0-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{upstream_version} -p1
%cargo_prep
# remove bundled curl sources
rm -vr curl/
%generate_buildrequires
%cargo_generate_buildrequires
echo 'pkgconfig(libcurl)'
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -1,4 +0,0 @@
[requires]
build = ["pkgconfig(libcurl)"]
lib = ["pkgconfig(libcurl)"]

@ -1 +0,0 @@
SHA512 (curl-sys-0.4.70+curl-8.5.0.crate) = 349fb40ef95da3595425056c44bac9bf122f8e9b2095fbe0f2ea7442460cc40ad49bc30b7aec5961cd625d804348306971d53783f13208e6813158c9096e58b4
Loading…
Cancel
Save