Accepting request 577669 from home:avindra

- Update to new upstream release 10.31
  * New pcre2_config() options: PCRE2_CONFIG_NEVER_BACKSLASH_C and
    PCRE2_CONFIG_COMPILED_WIDTHS.
  * New pcre2_pattern_info() option PCRE2_INFO_EXTRAOPTIONS to
    retrieve the extra compile time options.
  * Public names for all pcre2_compile() error numbers.
  * Added PCRE2_CALLOUT_STARTMATCH and PCRE2_CALLOUT_BACKTRACK
    bits to a new field callout_flags in callout blocks.
- use https for main site
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/577669
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pcre2?expand=0&rev=24
This commit is contained in:
Andreas Stieger 2018-02-18 10:24:57 +00:00 committed by Git OBS Bridge
parent d038c3e571
commit 564d4dd33d
6 changed files with 25 additions and 20 deletions

View File

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

Binary file not shown.

3
pcre2-10.31.tar.bz2 Normal file
View File

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

BIN
pcre2-10.31.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Feb 18 05:15:03 UTC 2018 - avindra@opensuse.org
- Update to new upstream release 10.31
* New pcre2_config() options: PCRE2_CONFIG_NEVER_BACKSLASH_C and
PCRE2_CONFIG_COMPILED_WIDTHS.
* New pcre2_pattern_info() option PCRE2_INFO_EXTRAOPTIONS to
retrieve the extra compile time options.
* Public names for all pcre2_compile() error numbers.
* Added PCRE2_CALLOUT_STARTMATCH and PCRE2_CALLOUT_BACKTRACK
bits to a new field callout_flags in callout blocks.
- use https for main site
- cleanup with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 11 18:14:30 UTC 2017 - jengelh@inai.de Mon Sep 11 18:14:30 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package pcre2 # spec file for package pcre2
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -18,12 +18,12 @@
%define with_libedit 0%{?suse_version} > 1110 %define with_libedit 0%{?suse_version} > 1110
Name: pcre2 Name: pcre2
Version: 10.30 Version: 10.31
Release: 0 Release: 0
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://www.pcre.org/ Url: https://www.pcre.org/
#SVN-Clone: svn://vcs.exim.org/pcre/code/trunk #SVN-Clone: svn://vcs.exim.org/pcre/code/trunk
Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig
@ -41,7 +41,6 @@ BuildRequires: zlib-devel
%if %{with_libedit} %if %{with_libedit}
BuildRequires: libedit-devel BuildRequires: libedit-devel
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
The PCRE2 library is a set of functions that implement regular The PCRE2 library is a set of functions that implement regular
@ -195,7 +194,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
mkdir -p %{buildroot}/%{_defaultdocdir} mkdir -p %{buildroot}/%{_defaultdocdir}
mv %{buildroot}%{_datadir}/doc/pcre2 %{buildroot}/%{_defaultdocdir}/pcre2-doc mv %{buildroot}%{_datadir}/doc/pcre2 %{buildroot}/%{_defaultdocdir}/pcre2-doc
#empty dependecy_libs #empty dependecy_libs
@ -215,41 +214,34 @@ make check -j1
%postun -n libpcre2-posix2 -p /sbin/ldconfig %postun -n libpcre2-posix2 -p /sbin/ldconfig
%files -n libpcre2-8-0 %files -n libpcre2-8-0
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog LICENCE NEWS README %doc AUTHORS COPYING ChangeLog LICENCE NEWS README
%{_libdir}/libpcre2-8.so.* %{_libdir}/libpcre2-8.so.*
%files -n libpcre2-16-0 %files -n libpcre2-16-0
%defattr(-,root,root)
%doc LICENCE %doc LICENCE
%{_libdir}/libpcre2-16.so.* %{_libdir}/libpcre2-16.so.*
%files -n libpcre2-32-0 %files -n libpcre2-32-0
%defattr(-,root,root)
%doc LICENCE %doc LICENCE
%{_libdir}/libpcre2-32.so.* %{_libdir}/libpcre2-32.so.*
%files -n libpcre2-posix2 %files -n libpcre2-posix2
%defattr(-,root,root)
%doc LICENCE %doc LICENCE
%{_libdir}/libpcre2-posix.so.* %{_libdir}/libpcre2-posix.so.*
%files tools %files tools
%defattr(-,root,root)
%doc LICENCE %doc LICENCE
%{_bindir}/pcre2grep %{_bindir}/pcre2grep
%{_bindir}/pcre2test %{_bindir}/pcre2test
%{_mandir}/man1/pcre2grep.* %{_mandir}/man1/pcre2grep.1%{ext_man}
%{_mandir}/man1/pcre2test.* %{_mandir}/man1/pcre2test.1%{ext_man}
%files doc %files doc
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog LICENCE NEWS README %doc AUTHORS COPYING ChangeLog LICENCE NEWS README
%doc doc/html doc/*.txt %doc doc/html doc/*.txt
%doc %{_defaultdocdir}/pcre2-doc %doc %{_defaultdocdir}/pcre2-doc
%files devel %files devel
%defattr(-,root,root)
%doc LICENCE %doc LICENCE
%{_bindir}/pcre2-config %{_bindir}/pcre2-config
%{_includedir}/* %{_includedir}/*
@ -258,11 +250,10 @@ make check -j1
%{_libdir}/pkgconfig/libpcre2-16.pc %{_libdir}/pkgconfig/libpcre2-16.pc
%{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-32.pc
%{_libdir}/pkgconfig/libpcre2-posix.pc %{_libdir}/pkgconfig/libpcre2-posix.pc
%{_mandir}/man1/pcre2-config.* %{_mandir}/man1/pcre2-config.1%{ext_man}
%{_mandir}/man3/*.gz %{_mandir}/man3/*%{ext_man}
%files devel-static %files devel-static
%defattr(-,root,root)
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog