From becfaf230a768504e2790c0be7365aa619438c5f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 12 2022 04:15:57 +0000 Subject: import rhc-0.2.1-8.el8 --- diff --git a/SOURCES/0001-feat-default-config-file-location.patch b/SOURCES/0001-feat-default-config-file-location.patch index 07ab750..ee2afee 100644 --- a/SOURCES/0001-feat-default-config-file-location.patch +++ b/SOURCES/0001-feat-default-config-file-location.patch @@ -22,7 +22,7 @@ fs.Var(&logLevel, "log-level", "log verbosity level (error (default), warn, info, debug, trace)") fs.Var(&allowPatterns, "allow-pattern", "regular expression pattern to allow package operations\n(can be specified multiple times)") - _ = fs.String("config", "", "path to `file` containing configuration values (optional)") -+ _ = fs.String("config", filepath.Join("etc", "rhc", "workers", fs.Name()+".toml"), "path to `file` containing configuration values (optional)") ++ _ = fs.String("config", filepath.Join("/", "etc", "rhc", "workers", fs.Name()+".toml"), "path to `file` containing configuration values (optional)") ff.Parse(fs, os.Args[1:], ff.WithEnvVarPrefix("YGG"), ff.WithConfigFileFlag("config"), ff.WithConfigFileParser(fftoml.Parser)) diff --git a/SPECS/rhc.spec b/SPECS/rhc.spec index 35dd18e..fc9d0bf 100644 --- a/SPECS/rhc.spec +++ b/SPECS/rhc.spec @@ -8,7 +8,7 @@ Name: rhc Version: 0.2.1 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 Summary: rhc connects the system to Red Hat hosted services License: GPLv3 @@ -114,11 +114,11 @@ make %{makeflags} \ %changelog -* Mon Mar 21 2022 Link Dupont - 0.2.1-7 -- Use correct macro syntax for ldflags (RHBZ#2059690) +* Tue May 10 2022 Link Dupont - 0.2.1-8 +- Correct default config file path (RHBZ#2083363) -* Tue Mar 1 2022 Link Dupont - 0.2.1-6 -- Ensure worker is built with hardening compiler flags (RHBZ#2059690) +* Tue Mar 1 2022 Link Dupont - 0.2.1-5 +- Ensure worker is built with hardening compiler flags (RHBZ#2059693) * Tue Feb 22 2022 Link Dupont - 0.2.1-4 - Update summary and description (RHBZ#2057153)