Bump bindgen from 0.59 to 0.63 to fix builds with clang 16+

epel9 imports/e9/rust-onig_sys-69.8.1-3.el9
Fabio Valentini 2 years ago
parent 39740121b8
commit 7bfcdf7da1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,15 +1,17 @@
--- onig_sys-69.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ onig_sys-69.8.1/Cargo.toml 2022-08-20T20:17:41.479447+00:00
@@ -36,8 +36,6 @@
+++ onig_sys-69.8.1/Cargo.toml 2023-04-12T12:14:30.588379+00:00
@@ -35,9 +35,8 @@
repository = "http://github.com/iwillspeak/rust-onig"
[build-dependencies.bindgen]
version = "0.59"
-features = ["runtime"]
-version = "0.59"
+version = "0.63"
features = ["runtime"]
-optional = true
[build-dependencies.cc]
version = "1.0"
@@ -46,6 +44,7 @@
@@ -46,6 +45,7 @@
version = "^0.3.16"
[features]

@ -1,4 +1,4 @@
# Generated by rust2rpm 22
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
@ -13,20 +13,19 @@ License: MIT
URL: https://crates.io/crates/onig_sys
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * bump bindgen build-dependency from 0.59 to 0.63
Patch: onig_sys-fix-metadata.diff
# * unconditionally use bindgen and dynamic linking with pkg-config
Patch: 0001-Unconditionally-use-bindgen-and-dynamic-linking-with.patch
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
`onig_sys` crate contains raw rust bindings to the oniguruma library. This
crate exposes a set of unsafe functions which can then be used by other crates
to create safe wrappers around Oniguruma.
You probably don't want to link to this crate directly; instead check out the
`onig` crate.}
The `onig_sys` crate contains raw rust bindings to the oniguruma
library. This crate exposes a set of unsafe functions which can then be
used by other crates to create safe wrappers around Oniguruma. You
probably don't want to link to this crate directly; instead check out
the `onig` crate.}
%description %{_description}

Loading…
Cancel
Save