insights-client-3.1.7-8
Changelog: - Add several insights /var directories in files directives Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
This commit is contained in:
parent
94b52f559b
commit
921d35a465
@ -3,7 +3,7 @@
|
||||
Name: insights-client
|
||||
Summary: Uploads Insights information to Red Hat on a periodic basis
|
||||
Version: 3.1.7
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Source0: https://github.com/RedHatInsights/insights-client/releases/download/v%{version}/insights-client-%{version}.tar.gz
|
||||
Epoch: 0
|
||||
License: GPLv2+
|
||||
@ -13,7 +13,7 @@ Vendor: Red Hat, Inc.
|
||||
|
||||
#
|
||||
# patches_ignore=DROP-IN-RPM
|
||||
# patches_base=6bdbca1627130eb8c2c3b7cf231bba9f1d1567f6
|
||||
# patches_base=3.1.7
|
||||
Patch0001: 0001-fix-remove-PathExists-condition-from-unit.patch
|
||||
|
||||
Provides: redhat-access-insights = %{version}-%{release}%{?dist}
|
||||
@ -58,6 +58,10 @@ Sends insightful information to Red Hat for automated analysis
|
||||
%{make_install}
|
||||
%{__install} -D -m 644 %{_builddir}/%{name}-%{version}/data/insights-client.motd %{buildroot}/%{_sysconfdir}/insights-client/insights-client.motd
|
||||
|
||||
# Create different insights directories in /var
|
||||
mkdir -p %{buildroot}%{_localstatedir}/log/insights-client/
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/insights/
|
||||
mkdir -p %{buildroot}%{_localstatedir}/cache/insights/
|
||||
|
||||
%post
|
||||
%systemd_post %{name}.timer
|
||||
@ -113,7 +117,9 @@ rm -rf %{buildroot}
|
||||
%{python3_sitelib}/insights_client/
|
||||
%{_defaultdocdir}/%{name}
|
||||
%{_presetdir}/*.preset
|
||||
|
||||
%attr(700,root,root) %dir %{_localstatedir}/log/insights-client/
|
||||
%attr(750,root,root) %dir %{_localstatedir}/cache/insights/
|
||||
%attr(750,root,root) %dir %{_localstatedir}/lib/insights/
|
||||
|
||||
%doc
|
||||
%defattr(-, root, root)
|
||||
@ -122,6 +128,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 08 2022 Gael Chamoulaud <gchamoul@redhat.com> 0:3.1.7-8
|
||||
- Add several insights /var directories in files directives
|
||||
|
||||
* Mon Mar 14 2022 Gael Chamoulaud (Strider) <gchamoul@redhat.com> 0:3.1.7-7
|
||||
- Update patches
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user