Accepting request 1222491 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/1222491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grafana?expand=0&rev=60
This commit is contained in:
Ana Guerrero 2024-11-08 10:59:29 +00:00 committed by Git OBS Bridge
commit 153d932010
3 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,30 @@
Index: grafana-11.3.0/packaging/wrappers/grafana
===================================================================
--- grafana-11.3.0.orig/packaging/wrappers/grafana
+++ grafana-11.3.0/packaging/wrappers/grafana
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/usr/bin/bash
# Wrapper for the grafana binary
# This file serves as a wrapper for the grafana binary. It ensures we set
Index: grafana-11.3.0/packaging/wrappers/grafana-cli
===================================================================
--- grafana-11.3.0.orig/packaging/wrappers/grafana-cli
+++ grafana-11.3.0/packaging/wrappers/grafana-cli
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/usr/bin/bash
# Wrapper for the grafana binary
# This file serves as a wrapper for the grafana binary. It ensures we set
Index: grafana-11.3.0/packaging/wrappers/grafana-server
===================================================================
--- grafana-11.3.0.orig/packaging/wrappers/grafana-server
+++ grafana-11.3.0/packaging/wrappers/grafana-server
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/usr/bin/bash
# Wrapper for the grafana binary
# This file serves as a wrapper for the grafana binary. It ensures we set

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 7 14:10:36 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
- Use #!/usr/bin/bash shebang for package dependency generator to
work correctly.
* Add 0002-Use-bash-instead-of-env.patch
-------------------------------------------------------------------
Wed Oct 23 11:19:15 UTC 2024 - marius.kittler@suse.com

View File

@ -36,6 +36,7 @@ Source3: README
# Makefile to automate build process
Source4: Makefile
Source5: 0001-Add-source-code-reference.patch
Patch2: 0002-Use-bash-instead-of-env.patch
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: wire
@ -59,7 +60,7 @@ dashboards and data with teams.
%prep
%setup -q -n grafana-%{version}
%setup -q -T -D -a 1 -n grafana-%{version}
%autosetup -T -D -a 1 -p1 -n grafana-%{version}
%build
%ifnarch ppc64