|
|
@ -3,17 +3,19 @@
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate curl-sys
|
|
|
|
%global crate curl-sys
|
|
|
|
|
|
|
|
%global upstream_version 0.4.28+curl-7.69.0
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.4.27
|
|
|
|
Version: 0.4.28
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1
|
|
|
|
Summary: Native bindings to the libcurl library
|
|
|
|
Summary: Native bindings to the libcurl library
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/curl-sys
|
|
|
|
URL: https://crates.io/crates/curl-sys
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Remove curl version from version field
|
|
|
|
# * No windows
|
|
|
|
# * No windows
|
|
|
|
# * libnghttp2-sys is only needed for bundled curl
|
|
|
|
# * libnghttp2-sys is only needed for bundled curl
|
|
|
|
Patch0: curl-sys-fix-metadata.diff
|
|
|
|
Patch0: curl-sys-fix-metadata.diff
|
|
|
@ -118,7 +120,7 @@ which use "ssl" feature of "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
# No bundled deps
|
|
|
|
# No bundled deps
|
|
|
|
rm -vrf curl
|
|
|
|
rm -vrf curl
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
@ -139,6 +141,9 @@ echo 'pkgconfig(libcurl)'
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Sat Feb 29 2020 Josh Stone <jistone@redhat.com> - 0.4.27-1
|
|
|
|
- Update to 0.4.27
|
|
|
|
- Update to 0.4.27
|
|
|
|
|
|
|
|
|
|
|
|