From 27d2926177bc27e3a0ba45e5be151ee1a21979ec Mon Sep 17 00:00:00 2001
From: Link Dupont
Date: Fri, 5 Apr 2024 10:46:54 -0400
Subject: [PATCH] Use __python3 macro instead of redefining __python
Resolves: RHEL-28748
---
insights-client.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/insights-client.spec b/insights-client.spec
index 7beda5d..51ca65d 100644
--- a/insights-client.spec
+++ b/insights-client.spec
@@ -1,11 +1,10 @@
%define _binaries_in_noarch_packages_terminate_build 0
-%global __python %{_libexecdir}/platform-python
Name: insights-client
Summary: Uploads Insights information to Red Hat on a periodic basis
Version: 3.2.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.xz
Epoch: 0
License: GPLv2+
@@ -62,7 +61,7 @@ Resource Optimization service upon modifying ros_collect parameter to True.
%build
-%{meson} -Dpython=%{__python}
+%{meson} -Dpython=%{__python3}
%{meson_build}
@@ -166,6 +165,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Apr 05 2024 Link Dupont - 0:3.2.2-4
+- Use __python3 macro instead of redefining __python (RHEL-28748)
+
* Thu Feb 08 2024 Amit Upadhye - 0:3.2.2-3
- Add ros subpackage for Insights resource optimization service (RHEL-30279)