Accepting request 668163 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/668163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2019-01-25 21:41:58 +00:00 committed by Git OBS Bridge
commit 7a75a770cd
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jan 23 12:25:38 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Do not run profiling in parallel for reproducible builds (boo#1040589)
-------------------------------------------------------------------
Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de
- Mark all license files as %license
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez <crrodriguez@opensuse.org> Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez <crrodriguez@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package pcre2 # spec file for package pcre2
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 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
@ -189,7 +189,8 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
%if 0%{?do_profiling} %if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
export LANG=POSIX export LANG=POSIX
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
make CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} clean make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else %else
@ -217,8 +218,8 @@ 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
%license COPYING %license COPYING LICENCE
%doc AUTHORS ChangeLog LICENCE NEWS README %doc AUTHORS ChangeLog NEWS README
%{_libdir}/libpcre2-8.so.* %{_libdir}/libpcre2-8.so.*
%files -n libpcre2-16-0 %files -n libpcre2-16-0