From 0416db72081c4df82a503e86d04d5c92ad0a1fbe Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 11 Nov 2023 12:24:01 +0100 Subject: [PATCH] Update to version 0.18.0 --- .gitignore | 1 + git2-curl-fix-metadata.diff | 4 ++-- rust-git2-curl.spec | 9 +++++---- rust2rpm.toml | 4 ++++ sources | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index cfa7d15..14c5c83 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /git2-curl-0.14.1.crate /git2-curl-0.15.0.crate /git2-curl-0.17.0.crate +/git2-curl-0.18.0.crate diff --git a/git2-curl-fix-metadata.diff b/git2-curl-fix-metadata.diff index 1cb3994..6731d6a 100644 --- a/git2-curl-fix-metadata.diff +++ b/git2-curl-fix-metadata.diff @@ -1,5 +1,5 @@ ---- 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 +--- git2-curl-0.18.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ git2-curl-0.18.0/Cargo.toml 2023-11-09T14:36:32.424839+00:00 @@ -54,9 +54,3 @@ [dev-dependencies.tempfile] diff --git a/rust-git2-curl.spec b/rust-git2-curl.spec index 5e59794..f5c8868 100644 --- a/rust-git2-curl.spec +++ b/rust-git2-curl.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * missing dev-dependencies: civet, conduit, conduit-git-http-backend %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate git2-curl Name: rust-git2-curl -Version: 0.17.0 +Version: 0.18.0 Release: %autorelease Summary: Backend for an HTTP transport in libgit2 powered by libcurl @@ -17,7 +17,7 @@ Source: %{crates_source} # * drop features and dependencies for the unused zlib-ng support Patch: git2-curl-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Backend for an HTTP transport in libgit2 powered by libcurl. Intended to @@ -37,6 +37,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -52,7 +53,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..dbe0cd0 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependencies: civet, conduit, conduit-git-http-backend"] + diff --git a/sources b/sources index b9b230c..475f650 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git2-curl-0.17.0.crate) = f73dccb6153e7420549273124eba9426aca487c0ec199d506f7a6296379c06c636a1ca3d22a921f85e55e4ed5b4d42497fe730cf97067acaf5fa0790f4973af5 +SHA512 (git2-curl-0.18.0.crate) = 5ae0f79b6683f3f6cc136dbecb90c005ea332b74fc90f8384c2f057f886a2e61b76a724736d7da21cc527c3ce09b2c88e608f7c74e48341ccc2f2dc495d8aea5