Update to 0.9.0

epel9
Josh Stone 6 years ago
parent 9986766cf5
commit 0b3a87ccb3

1
.gitignore vendored

@ -6,3 +6,4 @@
/git2-0.7.1.crate
/git2-0.7.5.crate
/git2-0.8.0.crate
/git2-0.9.0.crate

@ -1,19 +0,0 @@
diff --git a/src/config.rs b/src/config.rs
index b01729aebdc3..32e4d50bba55 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -452,10 +452,10 @@ impl<'cfg> ConfigEntry<'cfg> {
unsafe { ConfigLevel::from_raw((*self.raw).level) }
}
- /// Depth of includes where this variable was found
- pub fn include_depth(&self) -> u32 {
- unsafe { (*self.raw).include_depth as u32 }
- }
+ // /// Depth of includes where this variable was found
+ // pub fn include_depth(&self) -> u32 {
+ // unsafe { (*self.raw).include_depth as u32 }
+ // }
}
impl<'cfg> Binding for ConfigEntry<'cfg> {

@ -1,4 +1,4 @@
# Generated by rust2rpm
# Generated by rust2rpm-9-1.fc30
# * Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil}
@ -6,7 +6,7 @@
%global crate git2
Name: rust-%{crate}
Version: 0.8.0
Version: 0.9.0
Release: 1%{?dist}
Summary: Bindings to libgit2 for interoperating with git repositories
@ -17,19 +17,16 @@ Source: %{crates_source}
# Initial patched metadata
# * No vendored openssl
Patch0: git2-fix-metadata.diff
# libgit2 0.27 doesn't have this field -- see rust-libgit2-sys
Patch1: rust-git2-no-include_depth.patch
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0)
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
BuildRequires: (crate(libgit2-sys/curl) >= 0.7.11 with crate(libgit2-sys/curl) < 0.8.0)
BuildRequires: (crate(libgit2-sys/default) >= 0.7.11 with crate(libgit2-sys/default) < 0.8.0)
BuildRequires: (crate(libgit2-sys/https) >= 0.7.11 with crate(libgit2-sys/https) < 0.8.0)
BuildRequires: (crate(libgit2-sys/ssh) >= 0.7.11 with crate(libgit2-sys/ssh) < 0.8.0)
BuildRequires: (crate(libgit2-sys/ssh_key_from_memory) >= 0.7.11 with crate(libgit2-sys/ssh_key_from_memory) < 0.8.0)
BuildRequires: (crate(libgit2-sys/default) >= 0.8.0 with crate(libgit2-sys/default) < 0.9.0)
BuildRequires: (crate(libgit2-sys/https) >= 0.8.0 with crate(libgit2-sys/https) < 0.9.0)
BuildRequires: (crate(libgit2-sys/ssh) >= 0.8.0 with crate(libgit2-sys/ssh) < 0.9.0)
BuildRequires: (crate(libgit2-sys/ssh_key_from_memory) >= 0.8.0 with crate(libgit2-sys/ssh_key_from_memory) < 0.9.0)
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
BuildRequires: (crate(openssl-probe/default) >= 0.1.0 with crate(openssl-probe/default) < 0.2.0)
BuildRequires: (crate(openssl-sys/default) >= 0.9.0 with crate(openssl-sys/default) < 0.10.0)
@ -76,18 +73,6 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+curl-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+curl-devel %{_description}
This package contains library source intended for building other packages
which use "curl" feature of "%{crate}" crate.
%files -n %{name}+curl-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+https-devel
Summary: %{summary}
BuildArch: noarch
@ -176,6 +161,9 @@ which use "unstable" feature of "%{crate}" crate.
%endif
%changelog
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.9.0-1
- Update to 0.9.0
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
- Update to 0.8.0

@ -1 +1 @@
SHA512 (git2-0.8.0.crate) = 06270d9f1284796d1c56c4bcac7de477b4665f6c32b5d8ea2fe816d4ff72d662f67f3482349d5d2b055232d9f1619f6fb7afcc7fe0a9053df7133efd9fd342d7
SHA512 (git2-0.9.0.crate) = 43fd23303748aaf1eed71641ffa7f6d097723bc3ba47a878381857b6db65997ed33519d59d5774f3836265d839debbc7441a223afd3780c3767526bdca8a71ff

Loading…
Cancel
Save