From 404df00aea8b6a34e654067c5462922c4a7b12b8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 May 2020 12:37:54 +0200 Subject: update to 6.9.5-rev1 (from Fedora) --- oniguruma.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/oniguruma.spec b/oniguruma.spec index 3a25153..a4e7bb0 100644 --- a/oniguruma.spec +++ b/oniguruma.spec @@ -18,18 +18,21 @@ # EPEL-7 have 5.9, soname 2 # RHEL-6 have 5.9, soname 2 +%global mainver 6.9.5 +%global postver rev1 + %if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 Name: %{libname} %else Name: %{libname}%{soname} %endif -Version: 6.9.4 +Version: %{mainver}%{?postver:+%postver} Release: 1%{?dist} Summary: Regular expressions library License: BSD URL: https://github.com/kkos/oniguruma/ -Source0: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz +Source0: https://github.com/kkos/oniguruma/releases/download/v%{mainver}%{?postver:_%postver}/onig-%{mainver}%{?postver:-%postver}.tar.gz BuildRequires: gcc @@ -64,7 +67,7 @@ developing applications that use %{name}. %prep -%setup -q -n onig-%{version} +%setup -q -n onig-%{mainver} %{__sed} -i.multilib -e 's|-L@libdir@||' onig-config.in %if 0 @@ -83,6 +86,7 @@ done %build %configure \ + --enable-posix-api \ --disable-silent-rules \ --disable-static \ --with-rubydir=%{_bindir} @@ -145,6 +149,9 @@ sed -e '/^test_regset_LDADD/s/$/ -lrt/' -i test/Makefile %changelog +* Thu May 14 2020 Remi Collet -6.9.5+rev1-1 +- update to 6.9.5-rev1 (from Fedora) + * Fri Nov 29 2019 Remi Collet -6.9.4-1 - update to 6.9.4 (from Fedora) - report build failure on EL-6 -- cgit