SHA256
1
0
forked from pool/oniguruma

Accepting request 897241 from home:susnux:branches:devel:languages:ruby

- Update to 6.9.7.1

- Enable tests

OBS-URL: https://build.opensuse.org/request/show/897241
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2021-07-01 14:53:54 +00:00 committed by Git OBS Bridge
parent e9292c50d2
commit a16d574878
4 changed files with 23 additions and 11 deletions

View File

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6444204b9c34e6eb6c0b23021ce89a0370dad2b2f5c00cd44c342753e0b204d9
size 935705

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jun 3 15:31:15 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 6.9.7.1
* NEW API: ONIG_OPTION_CALLBACK_EACH_MATCH
* NEW API: ONIG_OPTION_IGNORECASE_IS_ASCII
* NEW API: ONIG_SYNTAX_PYTHON
* Fixed some problems found by OSS-Fuzz
- Enable tests
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 5 15:57:25 UTC 2020 - Marcus Rueckert <mrueckert@suse.de> Thu Nov 5 15:57:25 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package oniguruma # spec file for package oniguruma
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,17 +17,15 @@
%define lib_name libonig5 %define lib_name libonig5
%define pkg_version 6.9.6 %define short_version 6.9.7
%define pkg_short_version 6.9.6
Name: oniguruma Name: oniguruma
Version: 6.9.6 Version: 6.9.7.1
Release: 0 Release: 0
Summary: Regex Library Supporting Different Character Encodings Summary: Regex Library Supporting Different Character Encodings
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
URL: https://github.com/kkos/oniguruma URL: https://github.com/kkos/oniguruma
Source: https://github.com/kkos/oniguruma/releases/download/v%{pkg_version}/onig-%{pkg_version}.tar.gz Source: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
BuildRequires: pkgconfig BuildRequires: pkgconfig
%description %description
@ -80,13 +78,17 @@ This package contains all necessary include files and libraries needed to
develop applications that require it. develop applications that require it.
%prep %prep
%setup -q -n onig-%{pkg_short_version} %setup -q -n onig-%{short_version}
cp -rp sample/ examples cp -rp sample/ examples
%build %build
export CFLAGS="%{optflags} -g" export CFLAGS="%{optflags} -g"
%configure --enable-posix-api %configure --enable-posix-api
make %{?_smp_mflags} %make_build
%check
cd test
%make_build test
%install %install
%make_install %make_install