|
|
@ -1,25 +1,23 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate curl
|
|
|
|
%global crate curl
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-curl
|
|
|
|
Version: 0.4.44
|
|
|
|
Version: 0.4.44
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Rust bindings to libcurl for making HTTP requests
|
|
|
|
Summary: Rust bindings to libcurl for making HTTP requests
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/curl
|
|
|
|
URL: https://crates.io/crates/curl
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
# * drop windows- and mac OS-specific dependencies
|
|
|
|
Patch: curl-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop test binary that requires internet connectivity
|
|
|
|
# * drop test binary that requires internet connectivity
|
|
|
|
# * exclude upstream CI files
|
|
|
|
# * exclude upstream CI files
|
|
|
|
Patch0: curl-fix-metadata.diff
|
|
|
|
Patch: curl-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
@ -150,30 +148,6 @@ use the "ssl" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+ssl-devel
|
|
|
|
%files -n %{name}+ssl-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+static-curl-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+static-curl-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+static-ssl-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+static-ssl-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+upkeep_7_62_0-devel
|
|
|
|
%package -n %{name}+upkeep_7_62_0-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|