diff --git a/.gitignore b/.gitignore index c3d0e44..4677a24 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /insights-client-3.1.4.tar.gz /insights-client-3.1.6.tar.gz /insights-client-3.1.7.tar.gz +/insights-core.egg +/insights-core.egg.asc diff --git a/insights-client.spec b/insights-client.spec index 26ecaba..5a2e647 100644 --- a/insights-client.spec +++ b/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: 11%{?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 @@ -59,6 +61,8 @@ Sends insightful information to Red Hat for automated analysis %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/ @@ -132,6 +136,9 @@ rm -rf %{buildroot} %changelog +* 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) diff --git a/sources b/sources index d76d86a..06562ef 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ SHA512 (insights-client-3.1.7.tar.gz) = 3c3119f42f1cfb505a69f8217416c53f4e74f3c48a8e2c77ce487c405fa5ed00c0e15e4216bcd5da89b80e397f09c22b79bfd5e9b228838b0f283c520039a9e1 +SHA512 (insights-core.egg) = 04fba794f2ad647f06c85451679ac5fb33ebee4db53db1b75139a902bc4b8bd8f0a6a2c48b50a9af2d4f2840024202d52c469747359cb7743d42ca9f217ca675 +SHA512 (insights-core.egg.asc) = 301142c758371c8e4cff764578a818895285dfacafc12e5e29cb5edd432e905c368168379dfe68312c384c0d5396317ba1d91bdbca5365d07b1f8a0cc5a1a56c