|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate libgit2-sys
|
|
|
|
%global crate libgit2-sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.8.0
|
|
|
|
Version: 0.8.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
|
|
|
|
|
|
|
@ -17,16 +17,14 @@ Source: %{crates_source}
|
|
|
|
Patch0: 0001-build.rs-always-use-pkg-config.patch
|
|
|
|
Patch0: 0001-build.rs-always-use-pkg-config.patch
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(cc/default) >= 1.0.25 with crate(cc/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(libz-sys/default) >= 1.0.22 with crate(libz-sys/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(pkg-config/default) >= 0.3.7 with crate(pkg-config/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (pkgconfig(libgit2) >= 0.28 with pkgconfig(libgit2) < 0.29)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
Native bindings to the libgit2 library.
|
|
|
|
Native bindings to the libgit2 library.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -122,6 +120,12 @@ which use "ssh_key_from_memory" feature of "%{crate}" crate.
|
|
|
|
rm -vrf libgit2
|
|
|
|
rm -vrf libgit2
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
|
|
|
echo '(pkgconfig(libgit2) >= 0.28 with pkgconfig(libgit2) < 0.29)'
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -134,6 +138,9 @@ rm -vrf libgit2
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 18 23:40:18 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-1
|
|
|
|
|
|
|
|
- Update to 0.8.1
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.8.0-1
|
|
|
|
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.8.0-1
|
|
|
|
- Update to 0.8.0
|
|
|
|
- Update to 0.8.0
|
|
|
|
|
|
|
|
|
|
|
|