summaryrefslogtreecommitdiffstats
path: root/oniguruma.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-05-14 12:37:54 +0200
committerRemi Collet <remi@remirepo.net>2020-05-14 12:37:54 +0200
commit404df00aea8b6a34e654067c5462922c4a7b12b8 (patch)
tree61658006df0414bb1dbdf6c702d89863caed8a61 /oniguruma.spec
parent6f9d2e00226fe1ba47377593ab0269974f2bb8ac (diff)
update to 6.9.5-rev1 (from Fedora)
Diffstat (limited to 'oniguruma.spec')
-rw-r--r--oniguruma.spec13
1 files 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 <remi@remirepo.net> -6.9.5+rev1-1
+- update to 6.9.5-rev1 (from Fedora)
+
* 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