import insights-client-3.1.5-1.el8

This commit is contained in:
CentOS Sources 2021-10-05 06:40:11 -04:00 committed by Stepan Oksanichenko
parent 772c383606
commit 2e087940fb
3 changed files with 19 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/insights-client-3.1.1.tar.gz
SOURCES/insights-client-3.1.5.tar.gz

View File

@ -1 +1 @@
b20ae53eb3bd1954f0cd9de9d1f131452d9395ab SOURCES/insights-client-3.1.1.tar.gz
b87eeddf0612cdf44327e566c6045b4c5e3b936a SOURCES/insights-client-3.1.5.tar.gz

View File

@ -2,7 +2,7 @@
Name: insights-client
Summary: Uploads Insights information to Red Hat on a periodic basis
Version: 3.1.1
Version: 3.1.5
Release: 1%{?dist}
Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz
Epoch: 0
@ -56,6 +56,7 @@ Sends insightful information to Red Hat for automated analysis
%post
%systemd_post %{name}.timer
%systemd_post %{name}-boot.service
if [ -d %{_sysconfdir}/motd.d ]; then
if [ ! -e %{_sysconfdir}/motd.d/insights-client -a ! -L %{_sysconfdir}/motd.d/insights-client ]; then
if [ -e %{_localstatedir}/lib/insights/newest.egg ]; then
@ -68,19 +69,22 @@ fi
%systemd_post insights-register.path
%systemd_post insights-unregister.path
%systemd_post 80-insights.preset
%preun
%systemd_preun %{name}.timer
%systemd_preun %{name}.service
%systemd_preun insights-register.path
%systemd_preun insights-unregister.path
%systemd_preun %{name}-boot.service
%postun
%systemd_postun %{name}.timer
%systemd_postun %{name}.service
%systemd_postun insights-register.path
%systemd_postun insights-unregister.path
%systemd_postun %{name}-boot.service
# Clean up files created by insights-client that are unowned by the RPM
if [ $1 -eq 0 ]; then
systemctl unmask insights-register.path
@ -90,6 +94,7 @@ if [ $1 -eq 0 ]; then
rm -f %{_sysconfdir}/motd.d/insights-client
rm -rf %{_localstatedir}/lib/insights
rm -rf %{_localstatedir}/log/insights-client
rm -f %{_sysconfdir}/insights-client/.*.etag
fi
@ -109,6 +114,7 @@ rm -rf %{buildroot}
%attr(444,root,root) %{_sysconfdir}/insights-client/redhattools.pub.gpg
%{python3_sitelib}/insights_client/
%{_defaultdocdir}/%{name}
%{_presetdir}/*.preset
%doc
@ -118,6 +124,15 @@ rm -rf %{buildroot}
%changelog
* Fri Jun 25 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.5-1
- Fix metrics auth and connection issues (RHBZ#1966761)
- Disallow --offline and --unregister together (RHBZ#1920946)
- Do not modify motd if already set (RHBZ#1945481)
- Enable insights-client-boot service on install (RHBZ#1951750)
* Tue Apr 20 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.2-1
- New upstream version
* Thu Nov 19 2020 Link Dupont <link@redhat.com> - 3.1.1-1
- New upstream release (RHBZ#1899590)