diff options
author | Remi Collet <remi@remirepo.net> | 2023-10-17 16:39:25 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-10-17 16:39:25 +0200 |
commit | 11b9813e50b4a6398f81de3a56c80ca31f41177a (patch) | |
tree | d63956960865dfd18762734b35cdd1d583031639 /oniguruma.spec | |
parent | 2788d0bcf78e2b79258a77465050b7385b8b7a28 (diff) |
v6.9.9
Diffstat (limited to 'oniguruma.spec')
-rw-r--r-- | oniguruma.spec | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/oniguruma.spec b/oniguruma.spec index a14fab3..5ea3411 100644 --- a/oniguruma.spec +++ b/oniguruma.spec @@ -8,26 +8,44 @@ # # Please preserve changelog entries # + +%if 0%{?rhel} +%bcond_without rename +%else +%bcond_with rename +%endif + %global libname oniguruma %global oldsoname 5 +%if %{with rename} %global newsoname 105 -%undefine _changelog_trimtime +%else +%global newsoname %{oldsoname} +%endif -# Fedora 29 have 6.9, soname 5 -# Fedora 28 have 6.8, soname 5 -# Fedora 27 have 6.6, soname 4 -# EPEL-7 have 5.9, soname 2 -# RHEL-6 have 5.9, soname 2 +# Fedora 38 have 6.9.9, soname 5.4 +# Fedora 35 have 6.9.8, soname 5.3 +# Fedora 34 have 6.9.7, soname 5.1 +# Fedora 34 have 6.9.6, soname 5.1 +# Fedora 35 have 6.9.5, soname 5.0 +# RHEL-9 have 6.9.6, soname 5.1 +# RHEL-8 have 6.8.2, soname 5.0 +# EPEL-7 have 6.8.2, soname 5.0 -%global mainver 6.9.8 +%global mainver 6.9.9 #global postver 1 +%if %{with rename} Name: %{libname}%{oldsoname}php +%else +Name: %{libname} +%endif Version: %{mainver}%{?postver:.%postver} Release: 1%{?dist} Summary: Regular expressions library -License: BSD +# SPDX confirmed +License: BSD-2-Clause URL: https://github.com/kkos/oniguruma/ Source0: https://github.com/kkos/oniguruma/releases/download/v%{mainver}%{?postver:.%postver}/onig-%{mainver}%{?postver:.%postver}.tar.gz @@ -45,8 +63,10 @@ The characteristics of this library is that different character encoding for every regular expression object can be specified. (supported APIs: GNU regex, POSIX and Oniguruma native) +%if %{with rename} %{name} is designed to be installed beside %{libname} and only used by PHP binaries (mbstring extension). +%endif %package devel @@ -67,7 +87,9 @@ developing applications that use %{name}. %{__sed} -i.multilib -e 's|-L@libdir@||' onig-config.in grep ^LTVERSION= configure -%patch0 -p1 -b .bump +%if %{with rename} +%patch -P0 -p1 -b .bump +%endif %build @@ -141,6 +163,9 @@ sed -e '/^test_regset_LDADD/s/$/ -lrt/' -i test/Makefile %changelog +* Tue Oct 17 2023 Remi Collet <remi@remirepo.net> -6.9.9-1 +- update to 6.9.9 + * Mon May 2 2022 Remi Collet <remi@remirepo.net> -6.9.8-1 - update to 6.9.8 |