|
|
@ -3,8 +3,10 @@
|
|
|
|
Name: insights-client
|
|
|
|
Name: insights-client
|
|
|
|
Summary: Uploads Insights information to Red Hat on a periodic basis
|
|
|
|
Summary: Uploads Insights information to Red Hat on a periodic basis
|
|
|
|
Version: 3.1.7
|
|
|
|
Version: 3.1.7
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Release: 12%{?dist}
|
|
|
|
Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz
|
|
|
|
|
|
|
|
Source1: https://api.access.redhat.com/r/insights/v1/static/core/insights-core.egg
|
|
|
|
|
|
|
|
Source2: https://api.access.redhat.com/r/insights/v1/static/core/insights-core.egg.asc
|
|
|
|
Epoch: 0
|
|
|
|
Epoch: 0
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://console.redhat.com/insights
|
|
|
|
URL: https://console.redhat.com/insights
|
|
|
@ -27,6 +29,7 @@ Requires: tar
|
|
|
|
Requires: gpg
|
|
|
|
Requires: gpg
|
|
|
|
Requires: pciutils
|
|
|
|
Requires: pciutils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global __python3 /usr/libexec/platform-python
|
|
|
|
%{?__python3:Requires: %{__python3}}
|
|
|
|
%{?__python3:Requires: %{__python3}}
|
|
|
|
%{?systemd_requires}
|
|
|
|
%{?systemd_requires}
|
|
|
|
Requires: python3-requests >= 2.6
|
|
|
|
Requires: python3-requests >= 2.6
|
|
|
@ -38,6 +41,7 @@ Requires: coreutils
|
|
|
|
BuildRequires: wget
|
|
|
|
BuildRequires: wget
|
|
|
|
BuildRequires: binutils
|
|
|
|
BuildRequires: binutils
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
BuildRequires: platform-python-devel
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: pam
|
|
|
|
BuildRequires: pam
|
|
|
|
Requires(post): policycoreutils-python-utils
|
|
|
|
Requires(post): policycoreutils-python-utils
|
|
|
@ -51,13 +55,15 @@ Sends insightful information to Red Hat for automated analysis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{configure} PYTHON=%{_libexecdir}/platform-python
|
|
|
|
%{configure} PYTHON=%{__python3}
|
|
|
|
%{__make}
|
|
|
|
%{__make}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
%{__install} -D -m 644 %{_builddir}/%{name}-%{version}/data/insights-client.motd %{buildroot}/%{_sysconfdir}/insights-client/insights-client.motd
|
|
|
|
%{__install} -D -m 644 %{_builddir}/%{name}-%{version}/data/insights-client.motd %{buildroot}/%{_sysconfdir}/insights-client/insights-client.motd
|
|
|
|
|
|
|
|
%{__install} -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/insights-client/rpm.egg
|
|
|
|
|
|
|
|
%{__install} -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/insights-client/rpm.egg.asc
|
|
|
|
|
|
|
|
|
|
|
|
# Create different insights directories in /var
|
|
|
|
# Create different insights directories in /var
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/insights-client/
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/insights-client/
|
|
|
@ -138,11 +144,17 @@ rm -rf %{buildroot}
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.1.7-8
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.1.7-8
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 04 2023 Gael Chamoulaud <gchamoul@redhat.com> 0:3.1.7-10
|
|
|
|
* Thu Nov 10 2022 Alba Hita Catala <ahitacat@redhat.com> 0:3.1.7-12
|
|
|
|
- Add /var/cache/insights-client/ directory in files directives (RHBZ#2158531)
|
|
|
|
- Set SELinux policy to permissive for rhcd_t module (RHBZ#2141443)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 16 2022 Alba Hita Catala <ahitacat@redhat.com> 0:3.1.7-9
|
|
|
|
* Wed Nov 09 2022 Link Dupont <link@redhat.com> 0:3.1.7-11
|
|
|
|
- Set SELinux policy to permissive for insights_client_t module (RHBZ#2143307)
|
|
|
|
- Include insights-core.egg as RPM source (RHBZ#2141087)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 20 2022 Link Dupont <link@redhat.com> 0:3.1.7-10
|
|
|
|
|
|
|
|
- Ensure __python3 macro is globally set to platform-python (RHBZ#2075150)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 12 2022 Gael Chamoulaud <gchamoul@redhat.com> 3.1.7-9
|
|
|
|
|
|
|
|
- Add /var/cache/insights-client/ directory in files directives (RHBZ#2126105)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 08 2022 Gael Chamoulaud <gchamoul@redhat.com> 0:3.1.7-8
|
|
|
|
* Fri Apr 08 2022 Gael Chamoulaud <gchamoul@redhat.com> 0:3.1.7-8
|
|
|
|
- Add several insights /var directories in files directives
|
|
|
|
- Add several insights /var directories in files directives
|
|
|
|