Accepting request 1032530 from home:witekbedyk:branches:server:monitoring

- Do not include source code
- Update to Go 1.18

OBS-URL: https://build.opensuse.org/request/show/1032530
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=24
This commit is contained in:
Stefano Torresi 2022-11-11 09:44:09 +00:00 committed by Git OBS Bridge
parent ed77f74188
commit a53a41d945
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 31 14:17:46 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
- Do not include source code
- Update to Go 1.18
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 27 12:37:42 UTC 2022 - Dirk Müller <dmueller@suse.com> Tue Sep 27 12:37:42 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -34,7 +34,7 @@ ExcludeArch: s390
%undefine _missing_build_ids_terminate_build %undefine _missing_build_ids_terminate_build
BuildRequires: golang >= 1.17 BuildRequires: golang >= 1.17
%else %else
BuildRequires: golang(API) = 1.17 BuildRequires: golang(API) = 1.18
%endif %endif
%description %description
@ -55,11 +55,8 @@ go build \
%install %install
install -D -m 0755 promu "%{buildroot}/%{_bindir}/promu" install -D -m 0755 promu "%{buildroot}/%{_bindir}/promu"
%{gosrc}
%{gofilelist} %files
%files -f file.lst
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{_bindir}/promu %{_bindir}/promu