diff --git a/.gitignore b/.gitignore index a62c6ba..dc1fd79 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ SOURCES/insights-client-3.1.7.tar.gz +SOURCES/insights-core.egg diff --git a/.insights-client.metadata b/.insights-client.metadata index 85c6d92..acd34cb 100644 --- a/.insights-client.metadata +++ b/.insights-client.metadata @@ -1 +1,2 @@ 0862807b4cb4e8bcbb6bad73e4d689da8f320bf8 SOURCES/insights-client-3.1.7.tar.gz +6113b8e15d58f13779a85f1e53773da28ec63ca7 SOURCES/insights-core.egg diff --git a/SOURCES/insights-core.egg.asc b/SOURCES/insights-core.egg.asc new file mode 100644 index 0000000..65a9038 --- /dev/null +++ b/SOURCES/insights-core.egg.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIVAwUAY2PHlnUU932DZrDZAQipRg//erkkOLyV++i0nhK+AqOdvYNLzjPIGSas +p33F0n5nRYjE/pP/a5bOSrlIDqhx5W0L3obAxQqJ1WNfsTpi0e/ixKJFcM+vSDQC +xzMNoHmyaE+/SqaOgzaSciHPfFme+m30G2VaUV+tKK7/GSiqbsdYpQGTV+fEC3Kp +2kmB6udN2K7BK54yHEYPdaOoB1zkBDklwi/hgdKILMZ8Zyjrihj3ExUIz5prZBTy +XoYYFq+u+TJn7Abhb1xDneMqr2Aba42DfFahL4Jqek6cBPG58m1CVZ9tp7ajof53 +dTFimJVzTEVCVYY8D6grV0KosTDLYR/A8vRo/dtYf/F6SqoBA26c77p19oBaXG1O +OTS+36t+FHxvKNY0JYcpD9TwNxGk5VSqjJVxF0pFqHZfsX8ZxiT4oGdp4l10pQ1H +zqFNRB9QDMLKN+utK0BmpycVsWvxf0WWTFmtw3ysgsLtA+w9sYaSK21Uprti178o +jQF7KBIxTwFLRvJmxIJ9JaKnKSkOTw2TJw8RF9N4oCf582V7TmFifRVTx+L/SxiJ +tJx5P+aDzTI9HVwNKwiyy2uoXob3amqxs9fedvHhbIUe65ZWA705Tj8p3Y1NvKhE +cYvrkJ/QD+aiZA3XyO5nZcGkqz5TCKRJMR6T5VslZ8nHdR/Nsa7m/m1hoONOos1N +eUib1m4rXag= +=izRE +-----END PGP SIGNATURE----- diff --git a/SPECS/insights-client.spec b/SPECS/insights-client.spec index 13f6f30..f46d807 100644 --- a/SPECS/insights-client.spec +++ b/SPECS/insights-client.spec @@ -3,8 +3,10 @@ Name: insights-client Summary: Uploads Insights information to Red Hat on a periodic basis 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 +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 License: GPLv2+ URL: https://console.redhat.com/insights @@ -27,6 +29,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 +41,7 @@ Requires: coreutils BuildRequires: wget BuildRequires: binutils BuildRequires: python3-devel +BuildRequires: platform-python-devel BuildRequires: systemd BuildRequires: pam Requires(post): policycoreutils-python-utils @@ -51,13 +55,15 @@ Sends insightful information to Red Hat for automated analysis %build -%{configure} PYTHON=%{_libexecdir}/platform-python +%{configure} PYTHON=%{__python3} %{__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 %{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 mkdir -p %{buildroot}%{_localstatedir}/log/insights-client/ @@ -135,11 +141,17 @@ rm -rf %{buildroot} %changelog -* Wed Jan 04 2023 Gael Chamoulaud 0:3.1.7-10 -- Add /var/cache/insights-client/ directory in files directives (RHBZ#2158531) +* Thu Nov 10 2022 Alba Hita Catala 0:3.1.7-12 +- Set SELinux policy to permissive for rhcd_t module (RHBZ#2141443) -* Fri Dec 16 2022 Alba Hita Catala 0:3.1.7-9 -- Set SELinux policy to permissive for insights_client_t module (RHBZ#2143307) +* Wed Nov 09 2022 Link Dupont 0:3.1.7-11 +- Include insights-core.egg as RPM source (RHBZ#2141087) + +* Thu Oct 20 2022 Link Dupont 0:3.1.7-10 +- Ensure __python3 macro is globally set to platform-python (RHBZ#2075150) + +* Mon Sep 12 2022 Gael Chamoulaud 3.1.7-9 +- Add /var/cache/insights-client/ directory in files directives (RHBZ#2126105) * Fri Apr 08 2022 Gael Chamoulaud 0:3.1.7-8 - Add several insights /var directories in files directives