|
|
@ -1,12 +1,11 @@
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate curl-sys
|
|
|
|
%global crate curl-sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.4.18
|
|
|
|
Version: 0.4.19
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Native bindings to the libcurl library
|
|
|
|
Summary: Native bindings to the libcurl library
|
|
|
|
|
|
|
|
|
|
|
@ -16,23 +15,19 @@ URL: https://crates.io/crates/curl-sys
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * No windows
|
|
|
|
# * No windows
|
|
|
|
# * No "static" features
|
|
|
|
|
|
|
|
# * 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
|
|
|
|
Patch1: curl-sys-remove-libnghttp2-sys.diff
|
|
|
|
Patch1: curl-sys-remove-libnghttp2-sys.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.2 with crate(libc/default) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(libz-sys/default) >= 1.0.18 with crate(libz-sys/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(openssl-sys/default) >= 0.9.0 with crate(openssl-sys/default) < 0.10.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(pkg-config/default) >= 0.3.3 with crate(pkg-config/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
Native bindings to the libcurl library.
|
|
|
|
Native bindings to the libcurl library.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -116,6 +111,10 @@ which use "ssl" feature of "%{crate}" crate.
|
|
|
|
rm -vrf curl
|
|
|
|
rm -vrf curl
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
echo 'pkgconfig(libcurl)'
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -128,6 +127,9 @@ rm -vrf curl
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Thu May 09 2019 Josh Stone <jistone@redhat.com> - 0.4.18-1
|
|
|
|
- Update to 0.4.18
|
|
|
|
- Update to 0.4.18
|
|
|
|
|
|
|
|
|
|
|
|