Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

3
.gitignore vendored

@ -34,6 +34,3 @@
/git2-0.17.2.crate /git2-0.17.2.crate
/git2-0.18.0.crate /git2-0.18.0.crate
/git2-0.18.1.crate /git2-0.18.1.crate
/git2-0.18.2.crate
/git2-0.18.3.crate
/git2-0.19.0.crate

@ -1,18 +0,0 @@
--- git2-0.19.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ git2-0.19.0/Cargo.toml 2024-10-29T17:01:33.028659+00:00
@@ -44,15 +44,8 @@
[dependencies.url]
version = "2.0"
-[dev-dependencies.clap]
-version = "4.4.13"
-features = ["derive"]
-
[dev-dependencies.tempfile]
version = "3.1.0"
-
-[dev-dependencies.time]
-version = "0.1.39"
[features]
default = [

@ -1,25 +1,19 @@
# Generated by rust2rpm 26 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate git2 %global crate git2
Name: rust-git2 Name: rust-git2
Version: 0.19.0 Version: 0.18.1
Release: %autorelease Release: %autorelease
Summary: Bindings to libgit2 for interoperating with git repositories Summary: Bindings to libgit2 for interoperating with git repositories
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/git2 URL: https://crates.io/crates/git2
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop example-only dependencies (clap ^4, time ^0.1)
Patch: git2-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
%if %{with check}
BuildRequires: /usr/bin/git
%endif
%global _description %{expand: %global _description %{expand:
Bindings to libgit2 for interoperating with git repositories. This Bindings to libgit2 for interoperating with git repositories. This
@ -144,11 +138,12 @@ use the "vendored-libgit2" feature of the "%{crate}" crate.
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
# drop examples that pull in time ^0.1
rm -rv examples/
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
%if %{with check}
echo '/usr/bin/git'
%endif
%build %build
%cargo_build %cargo_build

@ -1,8 +1,3 @@
[package]
cargo-toml-patch-comments = [
"drop example-only dependencies (clap ^4, time ^0.1)",
]
[features] [features]
hide = [ hide = [
"vendored-openssl", "vendored-openssl",
@ -14,9 +9,3 @@ test = [
"/usr/bin/git", "/usr/bin/git",
] ]
[scripts]
prep.post = [
"# drop examples that pull in time ^0.1",
"rm -rv examples/",
]

@ -1 +1 @@
SHA512 (git2-0.19.0.crate) = 9d868ba1594ace291002c4a10dcd43f192dbb8c2070abd74883e57a7f53825c7a29080ecbe4279f6c7ee845c261bcbc93b10004b99df27de41cd29bd48e137e8 SHA512 (git2-0.18.1.crate) = 3fb535e820365ac5aecc5a1cd3af869ea952ed6741a7890b095ac6f4509fdee7389949da45e4f66188b5e261fb4c47d49ffc1043b4b2b39020ea21e22bc69fa7

Loading…
Cancel
Save