Hello community, here is the log from the commit of package re2 for openSUSE:Factory checked in at 2018-04-07 20:54:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/re2 (Old) and /work/SRC/openSUSE:Factory/.re2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "re2" Sat Apr 7 20:54:29 2018 rev:16 rq:593984 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/re2/re2.changes 2018-03-24 16:07:36.764297591 +0100 +++ /work/SRC/openSUSE:Factory/.re2.new/re2.changes 2018-04-07 20:54:33.791806344 +0200 @@ -1,0 +2,6 @@ +Fri Apr 6 12:26:44 UTC 2018 - mplus...@suse.com + +- Update to version 2018-04-01 + * developer visible changes only + +------------------------------------------------------------------- Old: ---- 2018-03-01.tar.gz New: ---- 2018-04-01.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ re2.spec ++++++ --- /var/tmp/diff_new_pack.tnOt6i/_old 2018-04-07 20:54:34.487781154 +0200 +++ /var/tmp/diff_new_pack.tnOt6i/_new 2018-04-07 20:54:34.491781009 +0200 @@ -16,7 +16,7 @@ # -%global longver 2018-03-01 +%global longver 2018-04-01 %global shortver %(echo %{longver}|sed 's|-||g') %define libname libre2-0 Name: re2 @@ -25,7 +25,7 @@ Summary: C++ fast alternative to backtracking RE engines License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: https://github.com/google/re2/ +URL: https://github.com/google/re2/ Source0: https://github.com/google/re2/archive/%{longver}.tar.gz Source99: baselibs.conf BuildRequires: gcc-c++ @@ -91,7 +91,8 @@ %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%doc LICENSE AUTHORS CONTRIBUTORS README +%license LICENSE +%doc AUTHORS CONTRIBUTORS README %{_libdir}/lib%{name}.so.* %files devel ++++++ 2018-03-01.tar.gz -> 2018-04-01.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2018-03-01/.travis.yml new/re2-2018-04-01/.travis.yml --- old/re2-2018-03-01/.travis.yml 2018-02-22 13:54:38.000000000 +0100 +++ new/re2-2018-04-01/.travis.yml 2018-03-15 11:12:40.000000000 +0100 @@ -107,6 +107,7 @@ addons: apt: sources: + - ubuntu-toolchain-r-test - llvm-toolchain-trusty-4.0 packages: - clang-4.0 @@ -116,11 +117,23 @@ addons: apt: sources: + - ubuntu-toolchain-r-test - llvm-toolchain-trusty-5.0 packages: - clang-5.0 env: - MATRIX_EVAL="CC=clang-5.0 CXX=clang++-5.0" + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - sourceline: 'deb https://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main' + key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' + packages: + - clang-6.0 + env: + - MATRIX_EVAL="CC=clang-6.0 CXX=clang++-6.0" before_install: - eval "${MATRIX_EVAL}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2018-03-01/Makefile new/re2-2018-04-01/Makefile --- old/re2-2018-03-01/Makefile 2018-02-22 13:54:38.000000000 +0100 +++ new/re2-2018-04-01/Makefile 2018-03-15 11:12:40.000000000 +0100 @@ -246,22 +246,13 @@ test: $(DTESTS) $(TESTS) $(STESTS) debug-test static-test shared-test debug-test: $(DTESTS) - @echo - @echo Running debug binary tests. - @echo @./runtests $(DTESTS) static-test: $(TESTS) - @echo - @echo Running static binary tests. - @echo @./runtests $(TESTS) shared-test: $(STESTS) - @echo - @echo Running dynamic binary tests. - @echo - @LD_LIBRARY_PATH=obj/so:$(LD_LIBRARY_PATH) ./runtests $(STESTS) + @./runtests -shared-library-path obj/so $(STESTS) debug-bigtest: $(DTESTS) $(DBIGTESTS) @./runtests $(DTESTS) $(DBIGTESTS) @@ -270,7 +261,7 @@ @./runtests $(TESTS) $(BIGTESTS) shared-bigtest: $(STESTS) $(SBIGTESTS) - @LD_LIBRARY_PATH=obj/so:$(LD_LIBRARY_PATH) ./runtests $(STESTS) $(SBIGTESTS) + @./runtests -shared-library-path obj/so $(STESTS) $(SBIGTESTS) benchmark: obj/test/regexp_benchmark @@ -314,7 +305,11 @@ @mkdir -p obj @cp testinstall.cc obj (cd obj && $(CXX) testinstall.cc -o testinstall $(CXXFLAGS) $(LDFLAGS)) - LD_LIBRARY_PATH=$(DESTDIR)$(libdir) obj/testinstall +ifeq ($(shell uname),Darwin) + DYLD_LIBRARY_PATH="$(DESTDIR)$(libdir):$(DYLD_LIBRARY_PATH)" obj/testinstall +else + LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$(LD_LIBRARY_PATH)" obj/testinstall +endif benchlog: obj/test/regexp_benchmark (echo '==BENCHMARK==' `hostname` `date`; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2018-03-01/README new/re2-2018-04-01/README --- old/re2-2018-03-01/README 2018-02-22 13:54:38.000000000 +0100 +++ new/re2-2018-04-01/README 2018-03-15 11:12:40.000000000 +0100 @@ -28,11 +28,11 @@ RE2's native language is C++. A C wrapper is at https://github.com/marcomaggi/cre2/. -An Erlang wrapper is at https://github.com/tuncer/re2/. +An Erlang wrapper is at https://github.com/tuncer/re2/ and on Hex (hex.pm). An Inferno wrapper is at https://github.com/powerman/inferno-re2/. -A Node.js wrapper is at https://github.com/uhop/node-re2/ and on NPM. -An OCaml wrapper is at https://github.com/janestreet/re2/ and on OPAM. -A Perl wrapper is at https://github.com/dgl/re-engine-RE2/ and on CPAN. -A Python wrapper is at https://github.com/facebook/pyre2/. -An R wrapper is at https://github.com/qinwf/re2r/. -A Ruby wrapper is at https://github.com/mudge/re2/. +A Node.js wrapper is at https://github.com/uhop/node-re2/ and on NPM (npmjs.com). +An OCaml wrapper is at https://github.com/janestreet/re2/ and on OPAM (opam.ocaml.org). +A Perl wrapper is at https://github.com/dgl/re-engine-RE2/ and on CPAN (cpan.org). +A Python wrapper is at https://github.com/facebook/pyre2/ and on PyPI (pypi.org). +An R wrapper is at https://github.com/qinwf/re2r/ and on CRAN (cran.r-project.org). +A Ruby wrapper is at https://github.com/mudge/re2/ and on RubyGems (rubygems.org). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2018-03-01/runtests new/re2-2018-04-01/runtests --- old/re2-2018-03-01/runtests 2018-02-22 13:54:38.000000000 +0100 +++ new/re2-2018-04-01/runtests 2018-03-15 11:12:40.000000000 +0100 @@ -1,11 +1,22 @@ #!/usr/bin/env sh +# System Integrity Protection on Darwin complicated these matters somewhat. +# See https://github.com/google/re2/issues/175 for details. +if [ "x$1" = "x-shared-library-path" ]; then + if [ "x$(uname)" = "xDarwin" ]; then + DYLD_LIBRARY_PATH="$2:$DYLD_LIBRARY_PATH" + export DYLD_LIBRARY_PATH + else + LD_LIBRARY_PATH="$2:$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH + fi + shift 2 +fi + success=true -for i -do +for i; do printf "%-40s" $i - if $($i >$i.log 2>&1) 2>/dev/null - then + if $($i >$i.log 2>&1) 2>/dev/null; then echo PASS else echo FAIL';' output in $i.log @@ -16,6 +27,7 @@ if $success; then echo 'ALL TESTS PASSED.' exit 0 +else + echo 'TESTS FAILED.' + exit 1 fi -echo 'TESTS FAILED.' -exit 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/re2-2018-03-01/util/util.h new/re2-2018-04-01/util/util.h --- old/re2-2018-03-01/util/util.h 2018-02-22 13:54:38.000000000 +0100 +++ new/re2-2018-04-01/util/util.h 2018-03-15 11:12:40.000000000 +0100 @@ -12,7 +12,13 @@ #define arraysize(array) (int)(sizeof(array)/sizeof((array)[0])) #ifndef FALLTHROUGH_INTENDED -#define FALLTHROUGH_INTENDED do { } while (0) +#if defined(__clang__) +#define FALLTHROUGH_INTENDED [[clang::fallthrough]] +#elif defined(__GNUC__) +#define FALLTHROUGH_INTENDED [[gnu::fallthrough]] +#else +#define FALLTHROUGH_INTENDED do {} while (0) +#endif #endif #ifndef NO_THREAD_SAFETY_ANALYSIS