Use __python3 macro instead of redefining __python

Resolves: RHEL-28748
This commit is contained in:
Link Dupont 2024-04-05 10:46:54 -04:00
parent 94f2d9650f
commit 27d2926177

View File

@ -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 <link@redhat.com> - 0:3.2.2-4
- Use __python3 macro instead of redefining __python (RHEL-28748)
* Thu Feb 08 2024 Amit Upadhye <aupadhye@redhat.com> - 0:3.2.2-3
- Add ros subpackage for Insights resource optimization service (RHEL-30279)