| |
@@ -7,7 +7,7 @@
|
| |
|
| |
Name: rust-%{crate}
|
| |
Version: 0.4.17
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: Native bindings to the libcurl library
|
| |
|
| |
License: MIT
|
| |
@@ -16,17 +16,15 @@
|
| |
# Initial patched metadata
|
| |
# * No windows
|
| |
# * No "static" features
|
| |
- # * libnghttp2-sys is only needed for bundled curl
|
| |
+ # * *-sys is only needed for bundled curl
|
| |
Patch0: curl-sys-fix-metadata.diff
|
| |
- Patch1: curl-sys-remove-libnghttp2-sys.diff
|
| |
+ Patch1: curl-sys-remove-unused-deps.diff
|
| |
|
| |
ExclusiveArch: %{rust_arches}
|
| |
|
| |
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)
|
| |
|
| |
@@ -73,18 +71,6 @@
|
| |
%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}+spnego-devel
|
| |
Summary: %{summary}
|
| |
BuildArch: noarch
|
| |
@@ -127,6 +113,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Thu Mar 28 2019 Hristo Venev <hristo@venev.name> - 0.4.17-2
|
| |
+ - Remove unused *-sys dependencies
|
| |
+
|
| |
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.17-1
|
| |
- Update to 0.4.17
|
| |
|
| |