new upstream version 3.1.5
This commit is contained in:
parent
087a07630c
commit
77a213cbbe
@ -2,8 +2,8 @@
|
||||
|
||||
Name: insights-client
|
||||
Summary: Uploads Insights information to Red Hat on a periodic basis
|
||||
Version: 3.1.4
|
||||
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,6 +69,7 @@ fi
|
||||
|
||||
%systemd_post insights-register.path
|
||||
%systemd_post insights-unregister.path
|
||||
%systemd_post 80-insights.preset
|
||||
|
||||
|
||||
%preun
|
||||
@ -75,14 +77,14 @@ fi
|
||||
%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
|
||||
@ -109,11 +111,11 @@ rm -rf %{buildroot}
|
||||
%{_sysconfdir}/insights-client/rpm.egg*
|
||||
%{_bindir}/*
|
||||
%{_unitdir}/*
|
||||
%{_presetdir}/*
|
||||
%attr(444,root,root) %{_sysconfdir}/insights-client/*.pem
|
||||
%attr(444,root,root) %{_sysconfdir}/insights-client/redhattools.pub.gpg
|
||||
%{python3_sitelib}/insights_client/
|
||||
%{_defaultdocdir}/%{name}
|
||||
%{_presetdir}/*.preset
|
||||
|
||||
|
||||
%doc
|
||||
@ -123,6 +125,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 2 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.5-1
|
||||
- New upstream version
|
||||
|
||||
* Thu May 27 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.4-2
|
||||
- Replace platform-python-setuptools dependency with python3dist(setuptools)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user