|
|
@ -1,12 +1,12 @@
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate libgit2-sys
|
|
|
|
%global crate libgit2-sys
|
|
|
|
%global upstream_version 0.13.4+1.4.2
|
|
|
|
%global upstream_version 0.13.5+1.4.5
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-libgit2-sys
|
|
|
|
Name: rust-libgit2-sys
|
|
|
|
Version: 0.13.4
|
|
|
|
Version: 0.13.5
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
|
|
|
|
|
|
|
@ -22,11 +22,9 @@ Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
# * update package.license field to reflect bundled dependencies
|
|
|
|
# * update package.license field to reflect bundled dependencies
|
|
|
|
Patch: libgit2-sys-fix-metadata.diff
|
|
|
|
Patch: libgit2-sys-fix-metadata.diff
|
|
|
|
# * build against the bundled copy of libgit2 unconditionally:
|
|
|
|
# * build against the bundled copy of libgit2 unconditionally:
|
|
|
|
# the version in the Fedora repositories is too old
|
|
|
|
# the version in the Fedora repositories is always either too old or too new
|
|
|
|
Patch: 0001-build-with-vendored-libgit2-unconditionally.patch
|
|
|
|
Patch: 0001-build-with-vendored-libgit2-unconditionally.patch
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
@ -38,7 +36,7 @@ Native bindings to the libgit2 library.}
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
Provides: bundled(libgit2) = 1.4.2
|
|
|
|
Provides: bundled(libgit2) = 1.4.5
|
|
|
|
Provides: bundled(http-parser) = 2.0
|
|
|
|
Provides: bundled(http-parser) = 2.0
|
|
|
|
Provides: bundled(pcre) = 8.44
|
|
|
|
Provides: bundled(pcre) = 8.44
|
|
|
|
|
|
|
|
|
|
|
|