Skip to content

Commit

Permalink
Bump version to 0.3.0 (#58)
Browse files Browse the repository at this point in the history
Require at least Go version 1.19
and Go 1.18 for Red Hat packages
---------

Signed-off-by: Witek Bedyk <witold.bedyk@suse.com>
Co-authored-by: Marina Latini <marina.latini@suse.com>
  • Loading branch information
witekest and deneb-alpha committed Aug 9, 2023
1 parent 997cb17 commit ec77450
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
var rootCmd = &cobra.Command{
Use: "inter-server-sync",
Short: "Uyuni Inter Server Sync tool",
Version: "0.2.8",
Version: "0.3.0",
}

func Execute() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/uyuni-project/inter-server-sync

go 1.17
go 1.19

require (
github.com/DATA-DOG/go-sqlmock v1.5.0
Expand Down
11 changes: 11 additions & 0 deletions inter-server-sync.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Aug 9 12:56:27 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>

- version 0.3.0
* Require at least Go 1.19 for building due to CVE-2023-29409
* Require at least Go 1.18 for building Red Hat packages
* CVE-2023-29409: Restrict RSA keys in certificates to less than
or equal to 8192 bits to avoid DoSing client/server while
validating signatures for extremely large RSA keys.
(bsc#1213880)

-------------------------------------------------------------------
Wed May 24 10:07:35 UTC 2023 - Cédric Bosdonnat <cbosdonnat@suse.com>

Expand Down
14 changes: 6 additions & 8 deletions inter-server-sync.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package uyuni inter server sync
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -14,6 +14,8 @@

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%if 0%{?rhel} == 8
%global debug_package %{nil}
%endif
Expand All @@ -28,7 +30,6 @@
%global project inter-server-sync
%global provider_prefix %{provider}.%{provider_tld}/%{org}/%{project}


Name: %{project}
Version: 0.0.0
Release: 0
Expand All @@ -40,17 +41,16 @@ Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang-packaging
%if 0%{?rhel}
BuildRequires: golang >= 1.16
BuildRequires: golang >= 1.18
%else
BuildRequires: golang(API) = 1.16
BuildRequires: golang(API) = 1.19
%endif
BuildRequires: rsyslog

Requires: gzip
Requires: logrotate
Requires: rsyslog
Requires: systemd
Requires: gzip


%description
Uyuni inter server sync tool
Expand All @@ -60,7 +60,6 @@ Used to export content from one server and import it in a target server.
%autosetup
tar -zxf %{SOURCE1}


%build
export GOFLAGS=-mod=vendor
%goprep %{provider_prefix}
Expand All @@ -74,7 +73,6 @@ export GOFLAGS=-mod=vendor

%define _release_dir %{_builddir}/%{project}-%{version}/release


# Add config files for hub
install -d -m 0750 %{buildroot}%{_var}/log/hub

Expand Down

0 comments on commit ec77450

Please sign in to comment.