|
|
@ -1,49 +1,30 @@
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate git2
|
|
|
|
%global crate git2
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.1
|
|
|
|
Version: 0.9.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Bindings to libgit2 for interoperating with git repositories
|
|
|
|
Summary: Bindings to libgit2 for interoperating with git repositories
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/git2
|
|
|
|
URL: https://crates.io/crates/git2
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * No vendored openssl
|
|
|
|
|
|
|
|
Patch0: git2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
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/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)
|
|
|
|
|
|
|
|
BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(docopt/default) >= 1.0.0 with crate(docopt/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.7 with crate(tempdir/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(thread-id/default) >= 3.3.0 with crate(thread-id/default) < 4.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(time/default) >= 0.1.39 with crate(time/default) < 0.2.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
Bindings to libgit2 for interoperating with git repositories. This library is\
|
|
|
|
Bindings to libgit2 for interoperating with git repositories. This library is
|
|
|
|
both threadsafe and memory safe and allows both reading and writing git\
|
|
|
|
both threadsafe and memory safe and allows both reading and writing git
|
|
|
|
repositories.
|
|
|
|
repositories.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -149,6 +130,9 @@ which use "unstable" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -161,6 +145,9 @@ which use "unstable" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 20 00:20:24 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.1-2
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.9.1-1
|
|
|
|
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.9.1-1
|
|
|
|
- Update to 0.9.1
|
|
|
|
- Update to 0.9.1
|
|
|
|
|
|
|
|
|
|
|
|