Skip to content

Commit 1000ba6

Browse files
update spec file
bump required go version and remove golang-packaging build dependency as it is no longer needed
1 parent ea998a0 commit 1000ba6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packaging/obs/prometheus-ha_cluster_exporter/prometheus-ha_cluster_exporter.spec

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ Group: System/Monitoring
2525
URL: https://github.com/ClusterLabs/ha_cluster_exporter
2626
Source: %{name}-%{version}.tar.gz
2727
Source1: vendor.tar.gz
28-
BuildRequires: golang(API) >= 1.17
29-
BuildRequires: golang-packaging
28+
BuildRequires: golang(API) >= 1.20
3029
Requires(post): %fillup_prereq
3130
Provides: ha_cluster_exporter = %{version}-%{release}
3231
Provides: prometheus(ha_cluster_exporter) = %{version}-%{release}
3332
ExclusiveArch: aarch64 x86_64 ppc64le s390x
34-
%{go_nostrip}
33+
3534
#Compat macro for new _fillupdir macro introduced in Nov 2017
3635
%if ! %{defined _fillupdir}
3736
%define _fillupdir /var/adm/fillup-templates

0 commit comments

Comments
 (0)