|
|
@ -5,8 +5,8 @@
|
|
|
|
%global crate libgit2-sys
|
|
|
|
%global crate libgit2-sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.7.2
|
|
|
|
Version: 0.7.7
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
@ -15,27 +15,32 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
|
|
|
# Doesn't seem to be upstreamable
|
|
|
|
# Doesn't seem to be upstreamable
|
|
|
|
Patch0: 0001-build.rs-always-use-pkg-config.patch
|
|
|
|
Patch0: 0001-build.rs-always-use-pkg-config.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The bundled libgit2 is a snapshot from master, after 0.27 branched, and
|
|
|
|
|
|
|
|
# adds the field "include_depth" to "struct git_config_entry". We need to
|
|
|
|
|
|
|
|
# remove that to match our system libgit2-0.27 instead
|
|
|
|
|
|
|
|
Patch1: rust-libgit2-sys-no-include_depth.patch
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(curl-sys) >= 0.4.0 with crate(curl-sys) < 0.5.0)
|
|
|
|
BuildRequires: (crate(curl-sys) >= 0.4.6 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(libssh2-sys) >= 0.2.4 with crate(libssh2-sys) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libssh2-sys) >= 0.2.8 with crate(libssh2-sys) < 0.3.0)
|
|
|
|
BuildRequires: crate(libz-sys) >= 0.1.2
|
|
|
|
BuildRequires: (crate(libz-sys) >= 1.0.18 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.0 with crate(openssl-sys) < 0.10.0)
|
|
|
|
# [build-dependencies]
|
|
|
|
# [build-dependencies]
|
|
|
|
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
|
|
|
|
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
|
|
|
|
BuildRequires: (crate(cmake) >= 0.1.2 with crate(cmake) < 0.2.0)
|
|
|
|
BuildRequires: (crate(cmake) >= 0.1.24 with crate(cmake) < 0.2.0)
|
|
|
|
BuildRequires: (crate(pkg-config) >= 0.3.0 with crate(pkg-config) < 0.4.0)
|
|
|
|
BuildRequires: (crate(pkg-config) >= 0.3.0 with crate(pkg-config) < 0.4.0)
|
|
|
|
BuildRequires: pkgconfig(libgit2)
|
|
|
|
BuildRequires: (pkgconfig(libgit2) >= 0.27 with pkgconfig(libgit2) < 0.28)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
Requires: pkgconfig(libgit2)
|
|
|
|
BuildRequires: (pkgconfig(libgit2) >= 0.27 with pkgconfig(libgit2) < 0.28)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -67,6 +72,9 @@ rm -vrf libgit2
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Aug 10 2018 Josh Stone <jistone@redhat.com> - 0.7.7-1
|
|
|
|
|
|
|
|
- Update to 0.7.7
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|