Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcre for openSUSE:Factory checked in at 2021-02-22 14:23:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcre (Old) and /work/SRC/openSUSE:Factory/.pcre.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcre" Mon Feb 22 14:23:01 2021 rev:75 rq:873339 version:8.44 Changes: -------- --- /work/SRC/openSUSE:Factory/pcre/pcre.changes 2020-04-25 20:07:38.755463815 +0200 +++ /work/SRC/openSUSE:Factory/.pcre.new.2378/pcre.changes 2021-02-22 14:23:01.719588586 +0100 @@ -1,0 +2,5 @@ +Mon Feb 15 15:20:24 UTC 2021 - Radoslav Kolev <radoslav.ko...@suse.com> + +- package testsuite in a separate RPM (boo#1182235) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcre.spec ++++++ --- /var/tmp/diff_new_pack.cFFiCc/_old 2021-02-22 14:23:02.215589070 +0100 +++ /var/tmp/diff_new_pack.cFFiCc/_new 2021-02-22 14:23:02.219589074 +0100 @@ -1,7 +1,7 @@ # # spec file for package pcre # -# 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 @@ -131,6 +131,13 @@ expression pattern matching using the same syntax and semantics as Perl 5. +%package testsuite +Summary: Tests for libpcre +Group: Development/Libraries/C and C++ + +%description testsuite +This package contains the testsuite part of the PCRE library. + %package tools Summary: A library for Perl-compatible regular expressions Group: Productivity/Text/Utilities @@ -181,6 +188,19 @@ mv %{buildroot}%{_datadir}/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc #empty dependecy_libs find %{buildroot} -type f -name "*.la" -delete -print +#testsuite files +%define testsuitedir %{buildroot}/%{_libexecdir}/%{name}/testsuite +mkdir -p %{testsuitedir} +cp Makefile %{testsuitedir} +cp -r testdata %{testsuitedir} +cp .libs/pcrecpp_unittest %{testsuitedir} +cp .libs/pcre_jit_test %{testsuitedir} +cp .libs/pcre_scanner_unittest %{testsuitedir} +cp .libs/pcre_stringpiece_unittest %{testsuitedir} +cp .libs/pcregrep %{testsuitedir} +cp .libs/pcretest %{testsuitedir} +cp RunTest %{testsuitedir} +cp RunGrepTest %{testsuitedir} %check # RunTest test 2 needs lots of stack, if it ever segfaults @@ -197,6 +217,15 @@ %post -n libpcreposix0 -p /sbin/ldconfig %postun -n libpcreposix0 -p /sbin/ldconfig +%preun testsuite +if [ "$1" = 0 ]; then + rm -f %{_libexecdir}/%{name}/testsuite/testNinputgrep + rm -f %{_libexecdir}/%{name}/testsuite/teststderrgrep + rm -f %{_libexecdir}/%{name}/testsuite/testtemp1grep + rm -f %{_libexecdir}/%{name}/testsuite/testtemp2grep + rm -f %{_libexecdir}/%{name}/testsuite/testtrygrep +fi + %files -n libpcre1 %license COPYING LICENCE %doc AUTHORS ChangeLog NEWS README @@ -237,4 +266,8 @@ %files devel-static %{_libdir}/*.a +%files testsuite +%dir %{_libexecdir}/%{name} +%{_libexecdir}/%{name}/testsuite + %changelog