Update package to version 1.1.0
(cherry picked from commit cc85e2202fd50a118a1a02644604688058b2926a)
This commit is contained in:
parent
ea1e14b14b
commit
9355b197aa
Binary file not shown.
@ -1,22 +1,23 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: PilotGo-plugin-grafana
|
Name: PilotGo-plugin-grafana
|
||||||
Version: 1.0.1
|
Version: 1.1.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
|
Summary: PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: https://gitee.com/openeuler/PilotGo-plugin-grafana
|
URL: https://gitee.com/openeuler/PilotGo-plugin-grafana
|
||||||
Source0: https://gitee.com/openeuler/%{name}-%{version}.tar.gz
|
Source0: https://gitee.com/openeuler/PilotGo-plugin-grafana/repository/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: golang
|
BuildRequires: golang
|
||||||
|
Requires: grafana
|
||||||
Provides: pilotgo-plugin-grafana = %{version}-%{release}
|
Provides: pilotgo-plugin-grafana = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
|
PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{version}
|
%setup -n %{name}-v%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
GO111MODULE=on go build -mod=vendor -o PilotGo-plugin-grafana main.go
|
GO111MODULE=on go build -mod=vendor -o PilotGo-plugin-grafana main.go
|
||||||
@ -35,18 +36,19 @@ install -D -m 0644 scripts/PilotGo-plugin-grafana.service %{buildroot}%{_unitdir
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun PilotGo-plugin-grafana.service
|
%systemd_postun PilotGo-plugin-grafana.service
|
||||||
|
# Clear all installed files when uninstalling
|
||||||
|
rm -rf /opt/PilotGo/plugin/grafana
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir /opt/PilotGo
|
|
||||||
%dir /opt/PilotGo/plugin
|
|
||||||
%dir /opt/PilotGo/plugin/grafana
|
|
||||||
%dir /opt/PilotGo/plugin/grafana/log
|
|
||||||
/opt/PilotGo/plugin/grafana/PilotGo-plugin-grafana
|
/opt/PilotGo/plugin/grafana/PilotGo-plugin-grafana
|
||||||
/opt/PilotGo/plugin/grafana/config.yaml
|
/opt/PilotGo/plugin/grafana/config.yaml
|
||||||
|
/opt/PilotGo/plugin/grafana/log
|
||||||
%{_unitdir}/PilotGo-plugin-grafana.service
|
%{_unitdir}/PilotGo-plugin-grafana.service
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 02 2024 jianxinyu <jiangxinyu@kylinos.cn> - 1.1.0-1
|
||||||
|
- Update package to version 1.1.0
|
||||||
|
|
||||||
* Wed Sep 13 2023 wubijie <wubijie@kylinos.cn> - 1.0.1-2
|
* Wed Sep 13 2023 wubijie <wubijie@kylinos.cn> - 1.0.1-2
|
||||||
- Modify the README.md file
|
- Modify the README.md file
|
||||||
|
|
||||||
|
|||||||
BIN
v1.1.0.tar.gz
Normal file
BIN
v1.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user