|
|
@ -5,17 +5,18 @@
|
|
|
|
%global crate libssh2-sys
|
|
|
|
%global crate libssh2-sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.2.10
|
|
|
|
Version: 0.2.11
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Native bindings to the libssh2 library
|
|
|
|
Summary: Native bindings to the libssh2 library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# https://github.com/alexcrichton/ssh2-rs/issues/75
|
|
|
|
# https://github.com/alexcrichton/ssh2-rs/issues/75
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/libssh2-sys
|
|
|
|
URL: https://crates.io/crates/libssh2-sys
|
|
|
|
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
|
|
|
|
# * No Windows
|
|
|
|
Patch0: libssh2-sys-0.2.8-fix-metadata.diff
|
|
|
|
Patch0: libssh2-sys-fix-metadata.diff
|
|
|
|
# # Doesn't seem to be upstreamable
|
|
|
|
# # Doesn't seem to be upstreamable
|
|
|
|
Patch1: 0001-build.rs-always-use-pkg-config.patch
|
|
|
|
Patch1: 0001-build.rs-always-use-pkg-config.patch
|
|
|
|
|
|
|
|
|
|
|
@ -24,10 +25,10 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
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(libz-sys) >= 1.0.18 with crate(libz-sys) < 2.0.0)
|
|
|
|
BuildRequires: (crate(libz-sys) >= 1.0.21 with crate(libz-sys) < 2.0.0)
|
|
|
|
BuildRequires: (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0)
|
|
|
|
BuildRequires: (crate(openssl-sys) >= 0.9.35 with crate(openssl-sys) < 0.10.0)
|
|
|
|
# [build-dependencies]
|
|
|
|
# [build-dependencies]
|
|
|
|
BuildRequires: (crate(cmake) >= 0.1.2 with crate(cmake) < 0.2.0)
|
|
|
|
BuildRequires: (crate(cc) >= 1.0.25 with crate(cc) < 2.0.0)
|
|
|
|
BuildRequires: (crate(pkg-config) >= 0.3.11 with crate(pkg-config) < 0.4.0)
|
|
|
|
BuildRequires: (crate(pkg-config) >= 0.3.11 with crate(pkg-config) < 0.4.0)
|
|
|
|
BuildRequires: pkgconfig(libssh2)
|
|
|
|
BuildRequires: pkgconfig(libssh2)
|
|
|
|
|
|
|
|
|
|
|
@ -68,6 +69,9 @@ rm -vrf libssh2/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Sep 17 2018 Josh Stone <jistone@redhat.com> - 0.2.11-1
|
|
|
|
|
|
|
|
- Update to 0.2.11
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 07 2018 Josh Stone <jistone@redhat.com> - 0.2.10-1
|
|
|
|
* Tue Aug 07 2018 Josh Stone <jistone@redhat.com> - 0.2.10-1
|
|
|
|
- Update to 0.2.10
|
|
|
|
- Update to 0.2.10
|
|
|
|
|
|
|
|
|
|
|
|