From e2b46c86ee010ccd442b877d9c45e4f6c87046f3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 2 Aug 2022 03:10:17 -0400 Subject: [PATCH] import insights-client-3.1.7-7.el8_6 --- SPECS/insights-client.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/SPECS/insights-client.spec b/SPECS/insights-client.spec index c62c4fb..29d1baf 100644 --- a/SPECS/insights-client.spec +++ b/SPECS/insights-client.spec @@ -3,7 +3,7 @@ Name: insights-client Summary: Uploads Insights information to Red Hat on a periodic basis Version: 3.1.7 -Release: 5%{?dist} +Release: 7%{?dist} Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz Epoch: 0 License: GPLv2+ @@ -27,6 +27,7 @@ Requires: tar Requires: gpg Requires: pciutils +%global __python3 /usr/libexec/platform-python %{?__python3:Requires: %{__python3}} %{?systemd_requires} Requires: python3-requests >= 2.6 @@ -38,6 +39,7 @@ Requires: coreutils BuildRequires: wget BuildRequires: binutils BuildRequires: python3-devel +BuildRequires: platform-python-devel BuildRequires: systemd BuildRequires: pam @@ -50,7 +52,7 @@ Sends insightful information to Red Hat for automated analysis %build -%{configure} PYTHON=%{_libexecdir}/platform-python +%{configure} PYTHON=%{__python3} %{__make} @@ -122,6 +124,9 @@ fi %changelog +* Wed Jun 29 2022 Link Dupont 0:3.1.7-6 +- Ensure __python3 macro is globally set to platform-python (RHBZ#2102213) + * Wed Apr 06 2022 Gael Chamoulaud (Strider) 0:3.1.7-5 - Add several insights /var directories in files directives (RHBZ#2070595)