import insights-client-3.1.7-12.el8
This commit is contained in:
parent
7886b99db1
commit
660307f82d
|
@ -1 +1,2 @@
|
||||||
SOURCES/insights-client-3.1.7.tar.gz
|
SOURCES/insights-client-3.1.7.tar.gz
|
||||||
|
SOURCES/insights-core.egg
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
0862807b4cb4e8bcbb6bad73e4d689da8f320bf8 SOURCES/insights-client-3.1.7.tar.gz
|
0862807b4cb4e8bcbb6bad73e4d689da8f320bf8 SOURCES/insights-client-3.1.7.tar.gz
|
||||||
|
6113b8e15d58f13779a85f1e53773da28ec63ca7 SOURCES/insights-core.egg
|
||||||
|
|
|
@ -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-----
|
|
@ -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: 9%{?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
|
||||||
|
@ -60,11 +62,14 @@ Sends insightful information to Red Hat for automated analysis
|
||||||
%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/
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/insights/
|
mkdir -p %{buildroot}%{_localstatedir}/lib/insights/
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/cache/insights/
|
mkdir -p %{buildroot}%{_localstatedir}/cache/insights/
|
||||||
|
mkdir -p %{buildroot}%{_localstatedir}/cache/insights-client/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post %{name}.timer
|
%systemd_post %{name}.timer
|
||||||
|
@ -79,7 +84,9 @@ if [ -d %{_sysconfdir}/motd.d ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
semanage permissive --add insights_client_t
|
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
||||||
|
/usr/sbin/semanage permissive --add insights_client_t || true
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun %{name}.timer
|
%systemd_preun %{name}.timer
|
||||||
|
@ -92,7 +99,9 @@ semanage permissive --add insights_client_t
|
||||||
%systemd_postun %{name}-boot.service
|
%systemd_postun %{name}-boot.service
|
||||||
|
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%{_sbindir}/semanage permissive -d insights_client_t || true
|
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
||||||
|
/usr/sbin/semanage permissive --delete insights_client_t || true
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean up files created by insights-client that are unowned by the RPM
|
# Clean up files created by insights-client that are unowned by the RPM
|
||||||
|
@ -120,6 +129,7 @@ fi
|
||||||
%{_defaultdocdir}/%{name}
|
%{_defaultdocdir}/%{name}
|
||||||
%{_presetdir}/*.preset
|
%{_presetdir}/*.preset
|
||||||
%attr(700,root,root) %dir %{_localstatedir}/log/insights-client/
|
%attr(700,root,root) %dir %{_localstatedir}/log/insights-client/
|
||||||
|
%attr(700,root,root) %dir %{_localstatedir}/cache/insights-client/
|
||||||
%attr(750,root,root) %dir %{_localstatedir}/cache/insights/
|
%attr(750,root,root) %dir %{_localstatedir}/cache/insights/
|
||||||
%attr(750,root,root) %dir %{_localstatedir}/lib/insights/
|
%attr(750,root,root) %dir %{_localstatedir}/lib/insights/
|
||||||
|
|
||||||
|
@ -131,8 +141,17 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 11 2022 Alba Hita Catala <ahitacat@redhat.com> 0:3.1.7-9
|
* Mon Jan 30 2023 Link Dupont <link@redhat.com> - 3.1.7-12
|
||||||
- Set SELinux policy to permissive for insights_client_t module (RHBZ#2143309)
|
- Conditionally run semanage only when SELinux is enabled (RHBZ#2150908)
|
||||||
|
|
||||||
|
* Fri Nov 11 2022 Alba Hita Catala <ahitacat@redhat.com> 0:3.1.7-11
|
||||||
|
- Set SELinux policy to permissive for rhcd_t module (RHBZ#2141444)
|
||||||
|
|
||||||
|
* Tue Nov 08 2022 Link Dupont <link@redhat.com> 0:3.1.7-10
|
||||||
|
- Include insights-core.egg as RPM source (RHBZ#2029395)
|
||||||
|
|
||||||
|
* Mon Sep 19 2022 Gael Chamoulaud <gchamoul@redhat.com> 3.1.7-9
|
||||||
|
- Add /var/cache/insights-client/ directory in files directives (RHBZ#2127962)
|
||||||
|
|
||||||
* Wed Apr 13 2022 Link Dupont <link@sub-pop.net> 0:3.1.7-8
|
* Wed Apr 13 2022 Link Dupont <link@sub-pop.net> 0:3.1.7-8
|
||||||
- Ensure __python3 macro is globally set to platform-python (RHBZ#2069282)
|
- Ensure __python3 macro is globally set to platform-python (RHBZ#2069282)
|
||||||
|
|
Loading…
Reference in New Issue