-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from r0x0d/release-v0.5
Release v0.5 Alicanto
- Loading branch information
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,13 @@ | |
|
||
# EL7 doesn't define go_arches (it is available in go-srpm-macros which is EL8+) | ||
%if !%{defined go_arches} | ||
%define go_arches x86_64 s390x ppc64le | ||
%define go_arches x86_64 | ||
%endif | ||
|
||
%global use_go_toolset_1_16 0%{?rhel} == 7 && !%{defined centos} | ||
%global use_go_toolset_1_19 0%{?rhel} == 7 && !%{defined centos} | ||
|
||
Name: %{repo_name} | ||
Version: 0.4 | ||
Version: 0.5 | ||
Release: 1%{?dist} | ||
Summary: Worker executing scripts on hosts managed by Red Hat Insights | ||
|
||
|
@@ -29,8 +29,8 @@ URL: https://github.com/%{repo_orgname}/%{repo_name} | |
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz | ||
ExclusiveArch: %{go_arches} | ||
|
||
%if %{use_go_toolset_1_16} | ||
BuildRequires: go-toolset-1.16-golang | ||
%if %{use_go_toolset_1_19} | ||
BuildRequires: go-toolset-1.19-golang | ||
%else | ||
BuildRequires: golang | ||
%endif | ||
|
@@ -49,8 +49,8 @@ ln -fs $(pwd)/src _gopath/src/%{binary_name}-%{version} | |
ln -fs $(pwd)/vendor _gopath/src/%{binary_name}-%{version}/vendor | ||
export GOPATH=$(pwd)/_gopath | ||
pushd _gopath/src/%{binary_name}-%{version} | ||
%if %{use_go_toolset_1_16} | ||
scl enable go-toolset-1.16 -- %{gobuild} | ||
%if %{use_go_toolset_1_19} | ||
scl enable go-toolset-1.19 -- %{gobuild} | ||
%else | ||
%{gobuild} | ||
%endif | ||
|
@@ -88,6 +88,14 @@ EOF | |
|
||
%changelog | ||
|
||
* Mon Oct 16 2023 Rodolfo Olivieri <[email protected]> 0.5-1 | ||
- Rebuild against newer golang which addresses CVE-2023-39325 and CVE-2023-44487 | ||
- Fix OpenScanHub defects related to runtime code | ||
- Update specfile to include default config file | ||
- Improve logging when config file can't be used and default values are used instead | ||
- Move the logging init to be before anything else | ||
- Improve logging when insights_core_gpg_check is disabled | ||
|
||
* Thu Aug 10 2023 Rodolfo Olivieri <[email protected]> 0.4-1 | ||
- Update specfile binary name generation | ||
- Add couple more unit tests for util.go | ||
|