6 Commits

Author SHA256 Message Date
a854ed6d74 Accepting request 1276270 from devel:languages:ruby
Forwarded request #1276180 from badshah400

* Build using cmake (needed to support apps which depend on this and use cmake find_package to find the library).
* Use %ldconfig_scriptlets macro for post(un) ldconfig update.
* Use %license to package COPYING file.

OBS-URL: https://build.opensuse.org/request/show/1276270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oniguruma?expand=0&rev=29
2025-05-12 14:45:52 +00:00
c0ff84dccc * Build using cmake (needed to support apps which depend on this and use cmake find_package to find the library).
* Use %ldconfig_scriptlets macro for post(un) ldconfig update.
* Use %license to package COPYING file.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=28
2025-05-09 12:55:28 +00:00
96ad2d77fe Accepting request 1234315 from devel:languages:ruby
- Update to 6.9.10
  - Update Unicode version 16.0
  - Add new operator (*SKIP)
  - Fixed: ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS not working for ^*
    pattern (Issue #292)

OBS-URL: https://build.opensuse.org/request/show/1234315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oniguruma?expand=0&rev=28
2025-01-02 18:19:43 +00:00
5c7a2ff693 - Update to 6.9.10
- Update Unicode version 16.0
  - Add new operator (*SKIP)
  - Fixed: ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS not working for ^*
    pattern (Issue #292)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=26
2025-01-01 13:35:35 +00:00
6eac7ecbb6 Accepting request 1118373 from devel:languages:ruby
- Update to 6.9.9
  - Update Unicode version 15.1.0
  - NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
  - Fixed: (?I) option was not enabled for character classes (Issue
    #264).
  - Changed specification to check for incorrect POSIX bracket
    (Issue #253).
  - Changed [[:punct:]] in Unicode encodings to be compatible with
    POSIX definition. (Issue #268)
  - Fixed: ONIG_OPTION_FIND_LONGEST behavior

OBS-URL: https://build.opensuse.org/request/show/1118373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oniguruma?expand=0&rev=27
2023-10-19 20:47:06 +00:00
a6cfa51caf - Update to 6.9.9
- Update Unicode version 15.1.0
  - NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
  - Fixed: (?I) option was not enabled for character classes (Issue
    #264).
  - Changed specification to check for incorrect POSIX bracket
    (Issue #253).
  - Changed [[:punct:]] in Unicode encodings to be compatible with
    POSIX definition. (Issue #268)
  - Fixed: ONIG_OPTION_FIND_LONGEST behavior

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=24
2023-10-17 20:46:45 +00:00
4 changed files with 52 additions and 18 deletions

3
onig-6.9.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05
size 979159

Binary file not shown.

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu May 8 13:10:31 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Build using cmake (needed to support apps which depend on this
and use cmake find_package to find the library).
- Use %ldconfig_scriptlets macro for post(un) ldconfig update.
- Use %license to package COPYING file.
-------------------------------------------------------------------
Wed Jan 1 13:30:52 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 6.9.10
- Update Unicode version 16.0
- Add new operator (*SKIP)
- Fixed: ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS not working for ^*
pattern (Issue #292)
-------------------------------------------------------------------
Tue Oct 17 20:44:33 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
- Update to 6.9.9
- Update Unicode version 15.1.0
- NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
- Fixed: (?I) option was not enabled for character classes (Issue
#264).
- Changed specification to check for incorrect POSIX bracket
(Issue #253).
- Changed [[:punct:]] in Unicode encodings to be compatible with
POSIX definition. (Issue #268)
- Fixed: ONIG_OPTION_FIND_LONGEST behavior
-------------------------------------------------------------------
Thu May 5 18:46:10 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package oniguruma
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,16 @@
%define lib_name libonig5
%define short_version 6.9.8
%define short_version 6.9.10
Name: oniguruma
Version: 6.9.8
Version: 6.9.10
Release: 0
Summary: Regex Library Supporting Different Character Encodings
License: BSD-2-Clause
Group: Development/Languages/C and C++
URL: https://github.com/kkos/oniguruma
Source: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig
%description
@@ -83,31 +84,33 @@ cp -rp sample/ examples
%build
export CFLAGS="%{optflags} -g"
%configure --enable-posix-api
%make_build
%check
cd test
%make_build test
%cmake \
-DENABLE_POSIX_API:BOOL=ON \
-DBUILD_TESTS:BOOL=ON \
%{nil}
%cmake_build
%install
%make_install
find %{buildroot} -type f -name "*.a" -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%cmake_install
rm -fr %{buildroot}%{_datadir}/doc/onig
%post -n %{lib_name} -p /sbin/ldconfig
%postun -n %{lib_name} -p /sbin/ldconfig
%check
%ctest
%ldconfig_scriptlets -n %{lib_name}
%files -n %{lib_name}
%{_libdir}/libonig.so.*
%files devel
%doc AUTHORS COPYING HISTORY index.html index_ja.html README
%license COPYING
%doc AUTHORS HISTORY index.html index_ja.html README
%doc doc/* examples/
%{_bindir}/onig-config
%{_includedir}/oniguruma.h
%{_includedir}/oniggnu.h
%{_includedir}/onigposix.h
%{_libdir}/cmake/%{name}/
%{_libdir}/libonig.so
%{_libdir}/pkgconfig/oniguruma.pc