From 74911dd357021477f2f1fca66f20a2be0ba0bb13 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2022 10:09:29 +0000 Subject: import rhc-0.2.1-9.el8 --- diff --git a/SOURCES/0001-feat-default-config-file-location.patch b/SOURCES/0001-feat-default-config-file-location.patch index ee2afee..7afda51 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", "rhc-package-manager.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 fc9d0bf..1ce2e45 100644 --- a/SPECS/rhc.spec +++ b/SPECS/rhc.spec @@ -8,7 +8,7 @@ Name: rhc Version: 0.2.1 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 1 Summary: rhc connects the system to Red Hat hosted services License: GPLv3 @@ -114,6 +114,9 @@ make %{makeflags} \ %changelog +* Fri Jun 03 2022 Link Dupont - 0.2.1-9 +- Correct default config file name (RHBZ#2083363) + * Tue May 10 2022 Link Dupont - 0.2.1-8 - Correct default config file path (RHBZ#2083363)