Accepting request 903476 from devel:languages:ruby

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/903476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oniguruma?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2021-07-04 20:10:21 +00:00 committed by Git OBS Bridge
commit 4d4df26711
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>

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -17,17 +17,15 @@
%define lib_name libonig5
%define pkg_version 6.9.6
%define pkg_short_version 6.9.6
%define short_version 6.9.7
Name: oniguruma
Version: 6.9.6
Version: 6.9.7.1
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%{pkg_version}/onig-%{pkg_version}.tar.gz
Source: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
BuildRequires: pkgconfig
%description
@ -80,13 +78,17 @@ This package contains all necessary include files and libraries needed to
develop applications that require it.
%prep
%setup -q -n onig-%{pkg_short_version}
%setup -q -n onig-%{short_version}
cp -rp sample/ examples
%build
export CFLAGS="%{optflags} -g"
%configure --enable-posix-api
make %{?_smp_mflags}
%make_build
%check
cd test
%make_build test
%install
%make_install