summaryrefslogtreecommitdiffstats
path: root/oniguruma.spec
diff options
context:
space:
mode:
Diffstat (limited to 'oniguruma.spec')
-rw-r--r--oniguruma.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/oniguruma.spec b/oniguruma.spec
index 6cb224a..3a25153 100644
--- a/oniguruma.spec
+++ b/oniguruma.spec
@@ -23,17 +23,14 @@ Name: %{libname}
%else
Name: %{libname}%{soname}
%endif
-Version: 6.9.3
-Release: 3%{?dist}
+Version: 6.9.4
+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
-Patch0: https://github.com/kkos/oniguruma/commit/d3e402928b6eb3327f8f7d59a9edfa622fec557b.patch
-Patch1: https://github.com/kkos/oniguruma/commit/15c4228aa2ffa02140a99912dd3177df0b1841c6.patch
-
BuildRequires: gcc
%if "%{name}" == "%{libname}"
@@ -69,8 +66,6 @@ developing applications that use %{name}.
%prep
%setup -q -n onig-%{version}
%{__sed} -i.multilib -e 's|-L@libdir@||' onig-config.in
-%patch0 -p1 -b .up
-%patch1 -p1 -b .up1
%if 0
for f in \
@@ -103,6 +98,10 @@ find $RPM_BUILD_ROOT -name '*.la' \
%check
+%if 0%{?rhel} == 6
+sed -e '/^test_regset_LDADD/s/$/ -lrt/' -i test/Makefile
+%endif
+
%{__make} check
@@ -146,6 +145,11 @@ find $RPM_BUILD_ROOT -name '*.la' \
%changelog
+* Fri Nov 29 2019 Remi Collet <remi@remirepo.net> -6.9.4-1
+- update to 6.9.4 (from Fedora)
+- report build failure on EL-6
+ https://github.com/kkos/oniguruma/issues/166
+
* Tue Oct 8 2019 Remi Collet <remi@remirepo.net> -6.9.3-3
- fix heap-buffer-overflow using upstream patch