From 13e9b551310edeba43444ad257fb85f72a80c30f Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 15 Jan 2019 16:17:12 -0800 Subject: [PATCH] Update to 4.3.1 --- .gitignore | 1 + onig-fix-metadata.diff | 8 ++++++++ rust-onig.spec | 8 +++++++- sources | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 onig-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a915598..c1ef95a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /onig-4.2.0.crate /onig-4.2.1.crate /onig-4.3.0.crate +/onig-4.3.1.crate diff --git a/onig-fix-metadata.diff b/onig-fix-metadata.diff new file mode 100644 index 0000000..1dc7918 --- /dev/null +++ b/onig-fix-metadata.diff @@ -0,0 +1,8 @@ +--- onig-4.3.1/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ onig-4.3.1/Cargo.toml 2019-01-15T16:15:07.230609-08:00 +@@ -32,5 +32,3 @@ + posix-api = ["onig_sys/posix-api"] + print-debug = ["onig_sys/print-debug"] + std-pattern = [] +-[target."cfg(windows)".dependencies.libc] +-version = "0.2" diff --git a/rust-onig.spec b/rust-onig.spec index bde7929..65eca1b 100644 --- a/rust-onig.spec +++ b/rust-onig.spec @@ -6,13 +6,16 @@ %global crate onig Name: rust-%{crate} -Version: 4.3.0 +Version: 4.3.1 Release: 1%{?dist} Summary: Set of rust bindings for the oniguruma regular expression library License: MIT URL: https://crates.io/crates/onig Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Remove windows dependency +Patch0: onig-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -107,6 +110,9 @@ which use "std-pattern" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 16 2019 Josh Stone - 4.3.1-1 +- Update to 4.3.1 + * Sat Jan 12 2019 Igor Gnatenko - 4.3.0-1 - Update to 4.3.0 diff --git a/sources b/sources index f7e5da7..d7ee676 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (onig-4.3.0.crate) = ce5183f0fa3eb5414cc8fa87a5c42fb50688ed775a8282c691cb2a4d2c738290738dcb1f5d670fa27343b96770473d6c88fe6c27641988556567084973429bcf +SHA512 (onig-4.3.1.crate) = 66f077820994259b83c9c9829a050eac180c736add63e3c431f9fad6d4b47636945c10b29f281540b46a1144a093557195784ec406fa032822f4c770a2aa8488