diff --git a/onig_sys-fix-metadata.diff b/onig_sys-fix-metadata.diff new file mode 100644 index 0000000..3d9ca81 --- /dev/null +++ b/onig_sys-fix-metadata.diff @@ -0,0 +1,11 @@ +--- onig_sys-69.2.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ onig_sys-69.2.0/Cargo.toml 2019-09-05T03:38:15.109145+00:00 +@@ -23,7 +23,7 @@ + license = "MIT" + repository = "http://github.com/iwillspeak/rust-onig" + [build-dependencies.bindgen] +-version = "0.50" ++version = "0.51" + + [build-dependencies.cc] + version = "1.0" diff --git a/rust-onig_sys.spec b/rust-onig_sys.spec index 265d89f..8ecdf46 100644 --- a/rust-onig_sys.spec +++ b/rust-onig_sys.spec @@ -13,8 +13,11 @@ Summary: Raw rust bindings to the oniguruma library License: MIT URL: https://crates.io/crates/onig_sys Source: %{crates_source} +# Initial patched metadata +# * Update bindgen to 0.51, https://github.com/rust-onig/rust-onig/pull/118 +Patch0: onig_sys-fix-metadata.diff # Use system onig by default -Patch0: rust-onig_sys-use-system-onig.diff +Patch1: rust-onig_sys-use-system-onig.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build}