|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.4.13
|
|
|
|
Version: 0.4.13
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Native bindings to the libcurl library
|
|
|
|
Summary: Native bindings to the libcurl library
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -22,28 +22,79 @@ Patch1: curl-sys-remove-libnghttp2-sys.diff
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.2 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.2 with crate(libc/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libz-sys) >= 1.0.18 with crate(libz-sys) < 2.0.0)
|
|
|
|
BuildRequires: (crate(libz-sys/default) >= 1.0.18 with crate(libz-sys/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0)
|
|
|
|
BuildRequires: (crate(openssl-sys/default) >= 0.9.0 with crate(openssl-sys/default) < 0.10.0)
|
|
|
|
# [build-dependencies]
|
|
|
|
BuildRequires: (crate(pkg-config/default) >= 0.3.3 with crate(pkg-config/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(pkg-config) >= 0.3.3 with crate(pkg-config) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description \
|
|
|
|
%{summary}.
|
|
|
|
Native bindings to the libcurl library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: pkgconfig(libcurl)
|
|
|
|
Requires: pkgconfig(libcurl)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
Native bindings to the libcurl library.
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/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
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
which use "http2" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+http2-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/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 "openssl-sys" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+openssl-sys-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/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 "ssl" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ssl-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
@ -62,11 +113,10 @@ rm -vrf curl
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.4.13-1
|
|
|
|
- Update to 0.4.13
|
|
|
|
- Update to 0.4.13
|
|
|
|
|
|
|
|
|
|
|
|