From 85de0f817bb532008326e4f4bbd0aa26e7ec8bc6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 30 May 2023 00:57:10 +0200 Subject: [PATCH] Update to version 0.16.1 --- .gitignore | 1 + README.md | 3 --- rust-git2.spec | 17 +++++++---------- .rust2rpm.conf => rust2rpm.conf | 2 +- sources | 2 +- 5 files changed, 10 insertions(+), 15 deletions(-) delete mode 100644 README.md rename .rust2rpm.conf => rust2rpm.conf (83%) diff --git a/.gitignore b/.gitignore index ebda4b5..1214d74 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /git2-0.13.24.crate /git2-0.13.25.crate /git2-0.14.4.crate +/git2-0.16.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index 786dd6b..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-git2 - -The rust-git2 package \ No newline at end of file diff --git a/rust-git2.spec b/rust-git2.spec index 3293a23..3ba9388 100644 --- a/rust-git2.spec +++ b/rust-git2.spec @@ -1,27 +1,24 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate git2 -Name: rust-%{crate} -Version: 0.14.4 +Name: rust-git2 +Version: 0.16.1 Release: %autorelease Summary: Bindings to libgit2 for interoperating with git repositories -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/git2 Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -Bindings to libgit2 for interoperating with git repositories. This library is -both threadsafe and memory safe and allows both reading and writing git -repositories.} +Bindings to libgit2 for interoperating with git repositories. This +library is both threadsafe and memory safe and allows both reading and +writing git repositories.} %description %{_description} diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 83% rename from .rust2rpm.conf rename to rust2rpm.conf index 0415a4b..28b4869 100644 --- a/.rust2rpm.conf +++ b/rust2rpm.conf @@ -1,5 +1,5 @@ [DEFAULT] -buildrequires = +testrequires = /usr/bin/git unwanted-features = vendored-openssl diff --git a/sources b/sources index 7617361..e244f15 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git2-0.14.4.crate) = 05a5894eb90e5371525222f69321c2376f6b8e0306a04ff05a9917005ca77a86b6100ec19338e47265599f3a61603511991ea8664e7c64702a580841ef98963a +SHA512 (git2-0.16.1.crate) = 4963798b6d9fc087a4394515b0f6da0a9e01fcbc220dc3d1880a277ea0487083ac05c0bc3a52a537885eb065a9b2209658a199835457b38c94e45395ad8d6252