diff --git a/.gitignore b/.gitignore index 9689c07..e171bc7 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ /libgit2-sys-0.15.2+1.6.4.crate /libgit2-sys-0.16.1+1.7.1.crate /libgit2-sys-0.16.2+1.7.2.crate +/libgit2-sys-0.17.0+1.8.1.crate diff --git a/0001-build-with-vendored-libgit2-unconditionally.patch b/0001-build-with-vendored-libgit2-unconditionally.patch index 366e22c..5dd2a51 100644 --- a/0001-build-with-vendored-libgit2-unconditionally.patch +++ b/0001-build-with-vendored-libgit2-unconditionally.patch @@ -18,7 +18,7 @@ index b497005..4bf1136 100644 -/// Tries to use system libgit2 and emits necessary build script instructions. -fn try_system_libgit2() -> Result { - let mut cfg = pkg_config::Config::new(); -- match cfg.range_version("1.7.2".."1.8.0").probe("libgit2") { +- match cfg.range_version("1.8.1".."1.9.0").probe("libgit2") { - Ok(lib) => { - for include in &lib.include_paths { - println!("cargo:root={}", include.display()); diff --git a/libgit2-sys-fix-metadata-auto.diff b/libgit2-sys-fix-metadata-auto.diff index 350a2c7..c057933 100644 --- a/libgit2-sys-fix-metadata-auto.diff +++ b/libgit2-sys-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- libgit2-sys-0.16.2+1.7.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libgit2-sys-0.16.2+1.7.2/Cargo.toml 2024-02-13T15:26:27.947475+00:00 +--- libgit2-sys-0.17.0+1.8.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libgit2-sys-0.17.0+1.8.1/Cargo.toml 2024-10-29T16:56:20.415096+00:00 @@ -12,7 +12,7 @@ [package] edition = "2018" name = "libgit2-sys" --version = "0.16.2+1.7.2" -+version = "0.16.2" +-version = "0.17.0+1.8.1" ++version = "0.17.0" authors = [ "Josh Triplett ", "Alex Crichton ", diff --git a/libgit2-sys-fix-metadata.diff b/libgit2-sys-fix-metadata.diff index 6e53a8a..bcc237b 100644 --- a/libgit2-sys-fix-metadata.diff +++ b/libgit2-sys-fix-metadata.diff @@ -1,5 +1,5 @@ ---- libgit2-sys-0.16.2+1.7.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libgit2-sys-0.16.2+1.7.2/Cargo.toml 2024-02-13T15:26:53.261791+00:00 +--- libgit2-sys-0.17.0+1.8.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libgit2-sys-0.17.0+1.8.1/Cargo.toml 2024-10-29T16:56:35.928174+00:00 @@ -27,7 +27,7 @@ "libgit2/tests/*", ] diff --git a/rust-libgit2-sys.spec b/rust-libgit2-sys.spec index b90db4d..45bf2dc 100644 --- a/rust-libgit2-sys.spec +++ b/rust-libgit2-sys.spec @@ -1,18 +1,18 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate libgit2-sys -%global upstream_version 0.16.2+1.7.2 +%global upstream_version 0.17.0+1.8.1 Name: rust-libgit2-sys -Version: 0.16.2 +Version: 0.17.0 Release: %autorelease Summary: Native bindings to the libgit2 library # * libgit2-sys crate: MIT OR Apache-2.0 # * bundled libgit2: GPL-2.0-only WITH GCC-exception-2.0 -# * bundled http-parser: MIT +# * bundled llhttp: MIT # * bundled pcre: BSD-3-Clause License: (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT URL: https://crates.io/crates/libgit2-sys @@ -38,9 +38,9 @@ Native bindings to the libgit2 library.} Summary: %{summary} BuildArch: noarch -Provides: bundled(libgit2) = 1.7.2 -Provides: bundled(http-parser) = 2.0 -Provides: bundled(pcre) = 8.44 +Provides: bundled(libgit2) = 1.8.1 +Provides: bundled(llhttp) = 9.2.1 +Provides: bundled(pcre) = 8.45 %description devel %{_description} @@ -51,7 +51,7 @@ use the "%{crate}" crate. %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/libgit2/COPYING -%license %{crate_instdir}/libgit2/deps/http-parser/COPYING +%license %{crate_instdir}/libgit2/deps/llhttp/LICENSE-MIT %license %{crate_instdir}/libgit2/deps/pcre/LICENCE %doc %{crate_instdir}/CHANGELOG.md %{crate_instdir}/ diff --git a/sources b/sources index 5dbebad..f3f47b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libgit2-sys-0.16.2+1.7.2.crate) = 45e23f66e1823c551b1f91d1466d971b05927e591684b35b75047ac5f7d23de889910b662ec403388b88a35dfd19b8ad9787481d36e10949e610aa02fcc35c40 +SHA512 (libgit2-sys-0.17.0+1.8.1.crate) = 4c37c30426dbba1d9981d65ee42210ec07e2dae73ce2d18beee17b161eb96de0c7b1696cc8b97fa514eb9fdcb8b853713cd19174fc55f033b6a9c1e25520f75b