Update to 6.5.0
Close: rhbz#2192102 Convert to vendored guidelines
This commit is contained in:
parent
ee8fcf2454
commit
a0ab58e9c0
4 changed files with 43 additions and 94 deletions
|
|
@ -1,123 +1,65 @@
|
|||
# Generated by go2rpm 1.2
|
||||
%bcond_without check
|
||||
# Generated by go2rpm 1.17.1
|
||||
%bcond check 1
|
||||
|
||||
# scancode has a lot of dependencies, so it can be disabled for a faster build
|
||||
# or when its deps are unavailable.
|
||||
%if %{defined rhel} || "%{_arch}" == "i386"
|
||||
%global go_vendor_license_check_disable 1
|
||||
%endif
|
||||
|
||||
# https://github.com/apache/cloudstack-cloudmonkey
|
||||
%global goipath github.com/apache/cloudstack-cloudmonkey
|
||||
Version: 6.2.0
|
||||
%global tag 6.2.0
|
||||
Version: 6.5.0
|
||||
%global tag 6.5.0
|
||||
|
||||
%gometa
|
||||
%gometa -L -f
|
||||
|
||||
%global common_description %{expand:
|
||||
Apache Cloudstack Cloudmonkey is a command line interface (CLI) for Apache
|
||||
CloudStack.
|
||||
|
||||
CloudMonkey can be use both as an interactive shell and as a command line tool
|
||||
which simplifies Apache CloudStack configuration and management.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs README.md CHANGES.md
|
||||
|
||||
Name: apache-cloudstack-cloudmonkey
|
||||
Release: 15%{?dist}
|
||||
Release: %autorelease
|
||||
Summary: Apache Cloudstack Cloudmonkey
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
||||
License: Apache-2.0
|
||||
# Generated by go-vendor-tools
|
||||
License: Apache-2.0 AND BSD-3-Clause AND MIT
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
# Generated by go-vendor-tools
|
||||
Source1: %{archivename}-vendor.tar.bz2
|
||||
Source2: go-vendor-tools.toml
|
||||
|
||||
BuildRequires: golang(github.com/briandowns/spinner)
|
||||
BuildRequires: golang(github.com/chzyer/readline)
|
||||
BuildRequires: golang(github.com/gofrs/flock)
|
||||
BuildRequires: golang(github.com/google/shlex)
|
||||
BuildRequires: golang(github.com/mitchellh/go-homedir)
|
||||
BuildRequires: golang(github.com/olekukonko/tablewriter)
|
||||
BuildRequires: golang(gopkg.in/ini.v1)
|
||||
BuildRequires: go-vendor-tools
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
%gopkg
|
||||
Apache Cloudstack Cloudmonkey.
|
||||
|
||||
%prep
|
||||
%goprep
|
||||
%goprep -A
|
||||
%setup -q -T -D -a1 %{forgesetupargs}
|
||||
%autopatch -p1
|
||||
|
||||
%generate_buildrequires
|
||||
%go_vendor_license_buildrequires -c %{S:2}
|
||||
|
||||
%build
|
||||
%global gomodulesmode GO111MODULE=on
|
||||
%gobuild -o %{gobuilddir}/bin/cmk %{goipath}
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
%go_vendor_license_install -c %{S:2}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%go_vendor_license_check -c %{S:2}
|
||||
%if %{with check}
|
||||
%gotest ./...
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md CHANGES.md
|
||||
%{_bindir}/*
|
||||
%files -f %{go_vendor_license_filelist}
|
||||
%license vendor/modules.txt
|
||||
%doc CHANGES.md README.md
|
||||
%{_bindir}/cmk
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
* Fri Aug 15 2025 Maxwell G <maxwell@gtmx.me> - 6.2.0-15
|
||||
- Rebuild for golang-1.25.0
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 6.2.0-12
|
||||
- convert license to SPDX
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 6.2.0-10
|
||||
- Rebuild for golang 1.22.0
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 6.2.0-4
|
||||
- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in
|
||||
golang
|
||||
|
||||
* Fri Jun 17 2022 Robert-André Mauchin <zebob.m@gmail.com> - 6.2.0-3
|
||||
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
|
||||
CVE-2022-29526, CVE-2022-30629
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Sep 25 2021 Olivier Lemasle <o.lemasle@gmail.com> - 6.2.0-1
|
||||
- Update to upstream 6.2.0 (fixes rhbz#2007649)
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Oct 29 2020 Olivier Lemasle <o.lemasle@gmail.com> - 6.1.0-1
|
||||
- Initial package
|
||||
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue