From e853e1ad315b08401fa9759fa361cdbee3669463 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 16 Jun 2023 12:00:57 +0200 Subject: [PATCH] Update to version 0.17.0 --- .gitignore | 1 + README.md | 3 --- git2-curl-fix-metadata.diff | 11 +++++++---- rust-git2-curl.spec | 11 ++++------- sources | 2 +- 5 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 630d094..cfa7d15 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /git2-curl-0.14.0.crate /git2-curl-0.14.1.crate /git2-curl-0.15.0.crate +/git2-curl-0.17.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index fe6a450..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-git2-curl - -The rust-git2-curl package \ No newline at end of file diff --git a/git2-curl-fix-metadata.diff b/git2-curl-fix-metadata.diff index b2c5634..1cb3994 100644 --- a/git2-curl-fix-metadata.diff +++ b/git2-curl-fix-metadata.diff @@ -1,9 +1,12 @@ ---- git2-curl-0.15.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ git2-curl-0.15.0/Cargo.toml 2022-08-25T10:35:12.972414+00:00 -@@ -45,6 +45,3 @@ +--- git2-curl-0.17.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ git2-curl-0.17.0/Cargo.toml 2023-05-30T16:03:43.452019+00:00 +@@ -54,9 +54,3 @@ [dev-dependencies.tempfile] version = "3.0" - -[features] --zlib-ng-compat = ["git2/zlib-ng-compat", "curl/zlib-ng-compat"] +-zlib-ng-compat = [ +- "git2/zlib-ng-compat", +- "curl/zlib-ng-compat", +-] diff --git a/rust-git2-curl.spec b/rust-git2-curl.spec index dad4c72..5e59794 100644 --- a/rust-git2-curl.spec +++ b/rust-git2-curl.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 # * missing dev-dependencies: civet, conduit, conduit-git-http-backend %bcond_with check %global debug_package %{nil} @@ -6,11 +6,10 @@ %global crate git2-curl Name: rust-git2-curl -Version: 0.15.0 +Version: 0.17.0 Release: %autorelease Summary: Backend for an HTTP transport in libgit2 powered by libcurl -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/git2-curl Source: %{crates_source} @@ -18,13 +17,11 @@ Source: %{crates_source} # * drop features and dependencies for the unused zlib-ng support Patch: git2-curl-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -Backend for an HTTP transport in libgit2 powered by libcurl. -Intended to be used with the git2 crate.} +Backend for an HTTP transport in libgit2 powered by libcurl. Intended to +be used with the git2 crate.} %description %{_description} diff --git a/sources b/sources index 95fb1c3..b9b230c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git2-curl-0.15.0.crate) = f28249071661689e57b852a8edaff6a1d2f5dddc6c6c84ac83fd3c270235eb1551f74fdfe43e32ff753a39f53981bf438760ebaf04ab698a9e313d1f4652c021 +SHA512 (git2-curl-0.17.0.crate) = f73dccb6153e7420549273124eba9426aca487c0ec199d506f7a6296379c06c636a1ca3d22a921f85e55e4ed5b4d42497fe730cf97067acaf5fa0790f4973af5