import insights-client-3.1.5-1.el8_4

This commit is contained in:
CentOS Sources 2021-08-10 08:03:12 -04:00 committed by Stepan Oksanichenko
parent 439b19b77f
commit 5b5a4b2917
3 changed files with 15 additions and 7 deletions

2
.gitignore vendored
View File

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

View File

@ -1 +1 @@
b5bb188f2991fc33bc195f4769994b3447d590b4 SOURCES/insights-client-3.1.3.tar.gz
b87eeddf0612cdf44327e566c6045b4c5e3b936a SOURCES/insights-client-3.1.5.tar.gz

View File

@ -2,8 +2,8 @@
Name: insights-client
Summary: Uploads Insights information to Red Hat on a periodic basis
Version: 3.1.3
Release: 2%{?dist}
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
License: GPLv2+
@ -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,21 +69,21 @@ 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 insights-client-boot.service
%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 insights-client-boot.service
%systemd_postun %{name}-boot.service
# Clean up files created by insights-client that are unowned by the RPM
if [ $1 -eq 0 ]; then
@ -113,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
@ -122,6 +124,12 @@ 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