2 Commits

Author SHA256 Message Date
670d9a3d7d Accepting request 1267834 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1267834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Bear?expand=0&rev=14
2025-04-08 15:52:07 +00:00
a3a2de9dca - update to version 3.1.6
* Add ifort and ifx support
  * Add ftnfe support
  * Add LLVM's flang support
  * Add xgcc and xg++ support
- Add patch no-BUILD_ALWAYS.patch to prevent duplicate build
  artifacts

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/Bear?expand=0&rev=38
2025-04-08 07:41:16 +00:00
5 changed files with 34 additions and 5 deletions

View File

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

3
Bear-3.1.6.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Mar 30 07:55:51 UTC 2025 - Christoph G <foss@grueninger.de>
- update to version 3.1.6
* Add ifort and ifx support
* Add ftnfe support
* Add LLVM's flang support
* Add xgcc and xg++ support
- Add patch no-BUILD_ALWAYS.patch to prevent duplicate build
artifacts
-------------------------------------------------------------------
Sun Oct 6 17:35:25 UTC 2024 - Christoph G <foss@grueninger.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package Bear
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,13 @@
%bcond_with tests
Name: Bear
Version: 3.1.5
Version: 3.1.6
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#/%{name}-%{version}.tar.gz
Patch0: no-BUILD_ALWAYS.patch
BuildRequires: bash-completion
BuildRequires: cmake
BuildRequires: pkgconfig

17
no-BUILD_ALWAYS.patch Normal file
View File

@@ -0,0 +1,17 @@
Revert 83383261e0756d2a5c5b85cf469f1fa34110c9ed to prevent
having build artifacts in stage/.
https://github.com/rizsotto/Bear/issues/627
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,8 +83,6 @@ ExternalProject_Add(BearSource
-DCMAKE_MODULE_LINKER_FLAGS:STRING=${CMAKE_MODULE_LINKER_FLAGS}
-DROOT_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
${CMAKE_CACHE_ARGS_EXTRA}
- BUILD_ALWAYS
- 1
TEST_BEFORE_INSTALL
1
TEST_COMMAND