Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Bear for openSUSE:Factory checked in at 2021-09-21 21:13:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Bear (Old) and /work/SRC/openSUSE:Factory/.Bear.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Bear" Tue Sep 21 21:13:16 2021 rev:5 rq:920612 version:3.0.15 Changes: -------- --- /work/SRC/openSUSE:Factory/Bear/Bear.changes 2019-11-06 13:49:44.015741946 +0100 +++ /work/SRC/openSUSE:Factory/.Bear.new.1899/Bear.changes 2021-09-21 21:14:10.530708717 +0200 @@ -1,0 +2,35 @@ +Tue Sep 21 07:11:56 UTC 2021 - Dan ??erm??k <[email protected]> + +- New upstream release 3.0.15 +- Removed fix-python3-tests.patch (replaced with a sed call) +- Removed fix-libexec-tests.patch (merged upstream) + +------------------------------------------------------------------- +Mon May 24 10:43:01 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Fixed build / test requirement for lit + +------------------------------------------------------------------- +Fri May 14 08:41:11 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Update to version 3.0.11 + * Rewrite Bear in C++ + * Bear is decomposed into an intercept and a semantic analysis + processes. It also supports compiler wrappers for intercepting + compiler calls in environments where the dynamic linker trick is + not working. + * Support CUDA compilations + * Add '--remove-flags' argument + * fix performance bug. + * ccache compiler wrapper no longer in the output + * 'citnames' execution time linear to the input size. + * 'intercept' performance tuning to allocate less object during + event processing. + * Interception execution reporter ('er') got merged with the + compiler wrapper ('wrapper'). + * 'bear' and 'citnames' are expose less flags, but using a + configuration file. + * Bear cleans up 'intercept' command output after using it. +- Add fix-libexec-tests.patch and fix-python3-tests.patch + +------------------------------------------------------------------- Old: ---- 2.4.2.tar.gz New: ---- Bear-3.0.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Bear.spec ++++++ --- /var/tmp/diff_new_pack.4lGtOe/_old 2021-09-21 21:14:10.950709192 +0200 +++ /var/tmp/diff_new_pack.4lGtOe/_new 2021-09-21 21:14:10.950709192 +0200 @@ -1,7 +1,7 @@ # # spec file for package Bear # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -16,26 +16,37 @@ # -# Tests are resolvable only on Tumbleweed -%if 0%{?suse_version} > 1500 %bcond_without tests -%else -%bcond_with tests -%endif Name: Bear -Version: 2.4.2 +Version: 3.0.15 Release: 0 Summary: Tool to generate compilation database for clang tooling License: GPL-3.0-or-later URL: https://github.com/rizsotto/Bear -Source: %{URL}/archive/%{version}.tar.gz +Source: %{URL}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: bash-completion BuildRequires: cmake +BuildRequires: cmake(nlohmann_json) >= 3.7.3 +BuildRequires: pkgconfig(absl_synchronization) +BuildRequires: pkgconfig(fmt) >= 6.1 +BuildRequires: pkgconfig(grpc) +BuildRequires: pkgconfig(grpc++) >= 1.26 +BuildRequires: pkgconfig(protobuf) >= 3.11 +BuildRequires: pkgconfig(spdlog) %if %{with tests} -BuildRequires: clang -BuildRequires: gcc-c++ BuildRequires: python3-lit BuildRequires: python3-setuptools +BuildRequires: pkgconfig(gmock) >= 1.10 +BuildRequires: pkgconfig(gtest) >= 1.10 +BuildRequires: pkgconfig(gtest_main) >= 1.10 +# one of the tests requires /usr/bin/more +BuildRequires: util-linux +# additional binaries for specific tests +BuildRequires: gcc-fortran +BuildRequires: valgrind +BuildRequires: fakeroot +# the fakeroot test requires xargs +BuildRequires: findutils %endif %description @@ -46,32 +57,37 @@ file. Bear is a tool to generate such file during the build process. %prep -%autosetup +%autosetup -p1 %build +for f in $(ls test/bin/); do + sed -i "s|^#\!/usr/bin/env\s\+python\s\?$|#!%{__python3}|" test/bin/$f +done + %cmake \ - -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} -%cmake_build +%if %{without tests} + -DENABLE_UNIT_TESTS=OFF \ + -DENABLE_FUNC_TESTS=OFF +%else + -DENABLE_UNIT_TESTS=ON \ + -DENABLE_FUNC_TESTS=ON +%endif +%make_build %install %cmake_install -sed -i "s|env python.*$|python3|g" %{buildroot}%{_bindir}/bear -rm -rf %{buildroot}%{_datadir}/doc/bear - -%if %{with tests} -%check -pushd build -make check -popd -%endif +# Let RPM install it correctly +rm -rf %{buildroot}%{_datadir}/doc %files %license COPYING -%doc ChangeLog.md README.md +%doc README.md %{_bindir}/bear -%{_datadir}/bash-completion/completions/bear +%{_bindir}/citnames +%{_bindir}/intercept %{_mandir}/man1/bear.1%{?ext_man} -%dir %{_libdir}/bear -%{_libdir}/bear/libear.so +%{_mandir}/man1/citnames.1%{?ext_man} +%{_mandir}/man1/intercept.1%{?ext_man} +%{_libdir}/bear/ %changelog
