|
|
@ -1,12 +1,13 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm
|
|
|
|
%bcond_without check
|
|
|
|
# Tests require internet
|
|
|
|
|
|
|
|
%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.11
|
|
|
|
Version: 0.4.12
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Rust bindings to libcurl for making HTTP requests
|
|
|
|
Summary: Rust bindings to libcurl for making HTTP requests
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -14,20 +15,21 @@ URL: https://crates.io/crates/curl
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * No windows/osx
|
|
|
|
# * No windows/osx
|
|
|
|
Patch0: curl-0.4.11-fix-metadata.diff
|
|
|
|
Patch0: curl-0.4.12-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(curl-sys) >= 0.4.1 with crate(curl-sys) < 0.5.0)
|
|
|
|
BuildRequires: (crate(curl-sys) >= 0.4.2 with crate(curl-sys) < 0.5.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(openssl-probe) >= 0.1.0 with crate(openssl-probe) < 0.2.0)
|
|
|
|
BuildRequires: (crate(openssl-probe) >= 0.1.0 with crate(openssl-probe) < 0.2.0)
|
|
|
|
BuildRequires: (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0)
|
|
|
|
BuildRequires: (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0)
|
|
|
|
BuildRequires: (crate(socket2) >= 0.3.0 with crate(socket2) < 0.4.0)
|
|
|
|
BuildRequires: (crate(socket2) >= 0.3.2 with crate(socket2) < 0.4.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(mio) >= 0.6.0 with crate(mio) < 0.7.0)
|
|
|
|
BuildRequires: (crate(mio) >= 0.6.0 with crate(mio) < 0.7.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(mio-extras) >= 2.0.3 with crate(mio-extras) < 3.0.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -55,8 +57,7 @@ which use %{crate} from crates.io.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# https://github.com/alexcrichton/curl-rust/issues/196
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test || :
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
@ -66,6 +67,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jul 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.12-1
|
|
|
|
|
|
|
|
- Update to 0.4.12
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-3
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|