|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 19
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate git2
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.13.24
|
|
|
|
|
Version: 0.13.25
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Bindings to libgit2 for interoperating with git repositories
|
|
|
|
|
|
|
|
|
@ -13,14 +13,8 @@ Summary: Bindings to libgit2 for interoperating with git repositories
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/git2
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Drop thread-id dependency, https://github.com/rust-lang/git2-rs/pull/776
|
|
|
|
|
Patch0: git2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
@ -38,7 +32,7 @@ BuildArch: noarch
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "%{crate}" crate.
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
@ -52,7 +46,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the default" feature of the "%{crate}" crate.
|
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -64,7 +58,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+https-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the https" feature of the "%{crate}" crate.
|
|
|
|
|
use the "https" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+https-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -76,7 +70,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+openssl-probe-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the openssl-probe" feature of the "%{crate}" crate.
|
|
|
|
|
use the "openssl-probe" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+openssl-probe-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -88,7 +82,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+openssl-sys-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the openssl-sys" feature of the "%{crate}" crate.
|
|
|
|
|
use the "openssl-sys" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+openssl-sys-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -100,7 +94,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+ssh-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the ssh" feature of the "%{crate}" crate.
|
|
|
|
|
use the "ssh" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ssh-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -112,7 +106,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+ssh_key_from_memory-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the ssh_key_from_memory" feature of the "%{crate}" crate.
|
|
|
|
|
use the "ssh_key_from_memory" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ssh_key_from_memory-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -124,7 +118,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+unstable-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the unstable" feature of the "%{crate}" crate.
|
|
|
|
|
use the "unstable" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+unstable-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|