diff --git a/.gitignore b/.gitignore index b8e2ab9..bbef999 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /onig_sys-69.2.0.crate /onig_sys-69.5.0.crate /onig_sys-69.5.1.crate +/onig_sys-69.6.0.crate diff --git a/onig_sys-fix-metadata.diff b/onig_sys-fix-metadata.diff index 6f281e2..38c272b 100644 --- a/onig_sys-fix-metadata.diff +++ b/onig_sys-fix-metadata.diff @@ -1,17 +1,17 @@ ---- onig_sys-69.5.1/Cargo.toml 2020-09-09T17:48:07+00:00 -+++ onig_sys-69.5.1/Cargo.toml 2020-09-23T15:17:18.342497+00:00 -@@ -23,9 +23,8 @@ +--- onig_sys-69.6.0/Cargo.toml 2020-11-22T10:29:19+00:00 ++++ onig_sys-69.6.0/Cargo.toml 2020-11-27T23:27:23.302301+00:00 +@@ -23,9 +23,7 @@ license = "MIT" repository = "http://github.com/iwillspeak/rust-onig" [build-dependencies.bindgen] -version = "0.55" -+version = "0.54" - features = ["runtime"] +-features = ["runtime"] -optional = true ++version = "0.56" [build-dependencies.cc] version = "1.0" -@@ -35,6 +34,6 @@ +@@ -35,6 +33,6 @@ [features] default = ["generate"] diff --git a/rust-onig_sys.spec b/rust-onig_sys.spec index 83c4a1a..eca84c2 100644 --- a/rust-onig_sys.spec +++ b/rust-onig_sys.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} %global crate onig_sys Name: rust-%{crate} -Version: 69.5.1 +Version: 69.6.0 Release: 1%{?dist} Summary: Raw rust bindings to the oniguruma library @@ -14,8 +14,8 @@ License: MIT URL: https://crates.io/crates/onig_sys Source: %{crates_source} # Initial patched metadata -# * Downgrade bindgen from 0.55 to 0.54 until it can be updated in fedora -# * Make bindgen as non-optional dep (for next patch) +# * Bump bindgen to 0.56: https://github.com/rust-onig/rust-onig/pull/157 +# * Mark bindgen as non-optional dep (for next patch) Patch0: onig_sys-fix-metadata.diff # Always use system onig Patch0001: 0001-Always-use-system-onig.patch @@ -26,6 +26,7 @@ BuildArch: noarch %endif BuildRequires: rust-packaging +BuildRequires: pkgconfig(oniguruma) >= 6.8.0 %global _description %{expand: `onig_sys` crate contains raw rust bindings to the oniguruma library. This @@ -105,7 +106,6 @@ rm -vrf oniguruma/ %generate_buildrequires %cargo_generate_buildrequires -echo 'pkgconfig(oniguruma) >= 6.8.0' %build %cargo_build @@ -119,6 +119,9 @@ echo 'pkgconfig(oniguruma) >= 6.8.0' %endif %changelog +* Fri Nov 27 2020 Fabio Valentini - 69.6.0-1 +- Update to version 69.6.0. + * Wed Sep 23 2020 Fabio Valentini - 69.5.1-1 - Update to version 69.5.1. diff --git a/sources b/sources index 964555e..bb71b01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (onig_sys-69.5.1.crate) = d85005612206a383af1a00ea508d076d27e31109659a9741e55deaa8423aa649a90af6cdaead67143943f3f9e1db212d5a88597b600a116067f7a5d855a9a379 +SHA512 (onig_sys-69.6.0.crate) = 79903461da8cdacf3f50c7f4d7a1babb200a883a3fa6515119a6d2a82c15eb64b7f758932a2a8c46f89acd052d8f2ab84cf87bf16a3ec9c570667232f54418f5