Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
@ -1,4 +1,4 @@
|
|||||||
From 844a3294541fb84bd742826ca8c110c05ad9b4fd Mon Sep 17 00:00:00 2001
|
From 7caac84ed4119ff6013585d187720dff3fdd73fe Mon Sep 17 00:00:00 2001
|
||||||
From: Link Dupont <link@sub-pop.net>
|
From: Link Dupont <link@sub-pop.net>
|
||||||
Date: Mon, 31 Jan 2022 10:53:04 -0500
|
Date: Mon, 31 Jan 2022 10:53:04 -0500
|
||||||
Subject: [PATCH] fix: remove PathExists condition from unit
|
Subject: [PATCH] fix: remove PathExists condition from unit
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Requires: python3-requests >= 2.6
|
|||||||
Requires: python3-PyYAML
|
Requires: python3-PyYAML
|
||||||
Requires: python3-magic
|
Requires: python3-magic
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
Requires: platform-python-setuptools
|
Requires: python3dist(setuptools)
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
BuildRequires: wget
|
BuildRequires: wget
|
||||||
BuildRequires: binutils
|
BuildRequires: binutils
|
||||||
@ -84,9 +84,7 @@ if [ -d %{_sysconfdir}/motd.d ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
semanage permissive --add insights_client_t
|
||||||
/usr/sbin/semanage permissive --add insights_client_t || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun %{name}.timer
|
%systemd_preun %{name}.timer
|
||||||
@ -99,9 +97,7 @@ fi
|
|||||||
%systemd_postun %{name}-boot.service
|
%systemd_postun %{name}-boot.service
|
||||||
|
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
%{_sbindir}/semanage permissive -d insights_client_t || true
|
||||||
/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
|
||||||
@ -115,6 +111,11 @@ if [ $1 -eq 0 ]; then
|
|||||||
rm -f %{_sysconfdir}/insights-client/.*.etag
|
rm -f %{_sysconfdir}/insights-client/.*.etag
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%config(noreplace) %{_sysconfdir}/insights-client/*.conf
|
%config(noreplace) %{_sysconfdir}/insights-client/*.conf
|
||||||
%{_sysconfdir}/insights-client/insights-client.motd
|
%{_sysconfdir}/insights-client/insights-client.motd
|
||||||
@ -133,7 +134,6 @@ fi
|
|||||||
%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/
|
||||||
|
|
||||||
|
|
||||||
%doc
|
%doc
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_mandir}/man8/*.8.gz
|
%{_mandir}/man8/*.8.gz
|
||||||
@ -141,50 +141,56 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 30 2023 Link Dupont <link@redhat.com> - 3.1.7-12
|
* Thu Nov 10 2022 Alba Hita Catala <ahitacat@redhat.com> 0:3.1.7-12
|
||||||
- Conditionally run semanage only when SELinux is enabled (RHBZ#2150908)
|
- Set SELinux policy to permissive for rhcd_t module (RHBZ#2141443)
|
||||||
|
|
||||||
* Fri Nov 11 2022 Alba Hita Catala <ahitacat@redhat.com> 0:3.1.7-11
|
* Wed Nov 09 2022 Link Dupont <link@redhat.com> 0:3.1.7-11
|
||||||
- Set SELinux policy to permissive for rhcd_t module (RHBZ#2141444)
|
- Include insights-core.egg as RPM source (RHBZ#2141087)
|
||||||
|
|
||||||
* Tue Nov 08 2022 Link Dupont <link@redhat.com> 0:3.1.7-10
|
* Thu Oct 20 2022 Link Dupont <link@redhat.com> 0:3.1.7-10
|
||||||
- Include insights-core.egg as RPM source (RHBZ#2029395)
|
- Ensure __python3 macro is globally set to platform-python (RHBZ#2075150)
|
||||||
|
|
||||||
* Mon Sep 19 2022 Gael Chamoulaud <gchamoul@redhat.com> 3.1.7-9
|
* Mon Sep 12 2022 Gael Chamoulaud <gchamoul@redhat.com> 3.1.7-9
|
||||||
- Add /var/cache/insights-client/ directory in files directives (RHBZ#2127962)
|
- Add /var/cache/insights-client/ directory in files directives (RHBZ#2126105)
|
||||||
|
|
||||||
* Wed Apr 13 2022 Link Dupont <link@sub-pop.net> 0:3.1.7-8
|
* Fri Apr 08 2022 Gael Chamoulaud <gchamoul@redhat.com> 0:3.1.7-8
|
||||||
- Ensure __python3 macro is globally set to platform-python (RHBZ#2069282)
|
- Add several insights /var directories in files directives
|
||||||
|
|
||||||
* Thu Mar 31 2022 Gael Chamoulaud (Strider) <gchamoul@redhat.com> 0:3.1.7-7
|
* Mon Mar 14 2022 Gael Chamoulaud (Strider) <gchamoul@redhat.com> 0:3.1.7-7
|
||||||
- Add several insights /var directories in %files directives (RHBZ#2070588)
|
|
||||||
|
|
||||||
* Mon Mar 14 2022 Gael Chamoulaud (Strider) <gchamoul@redhat.com> 0:3.1.7-6
|
|
||||||
- Update patches
|
- Update patches
|
||||||
|
|
||||||
* Wed Feb 16 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-5
|
* Mon Mar 14 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-6
|
||||||
|
- Update patches
|
||||||
- Add DROP-IN-RPM patches_ignore rule for rdopkg
|
- Add DROP-IN-RPM patches_ignore rule for rdopkg
|
||||||
|
|
||||||
* Wed Feb 16 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-4
|
* Wed Feb 16 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-5
|
||||||
- Restore insights-client-boot.service preun/postun (RHBZ#2055036)
|
- Restore insights-client-boot.service preun/postun (RHBZ#2024836)
|
||||||
|
|
||||||
* Wed Feb 16 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-3
|
* Wed Feb 02 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-4
|
||||||
- Remove scriptlets referencing nonexistent files (RHBZ#2055036)
|
- Renaming "cloud.redhat.com" to "console.redhat.com" (RHBZ#2013799)
|
||||||
|
|
||||||
* Thu Feb 10 2022 Gaël Chamoulaud <gchamoul@redhat.com> - 3.1.7-2
|
* Mon Jan 31 2022 Link Dupont <link@redhat.com> - 3.1.7-3
|
||||||
- Rename "http://cloud.redhat.com" to "https://console.redhat.com" (RHBZ#2052875)
|
- Patch to fix an issue where insights-client continuously launches (RHBZ#2022191)
|
||||||
- Clean superfluous %clean section - rpmlint error
|
|
||||||
|
* Fri Jan 28 2022 Link Dupont <link@redhat.com> - 3.1.7-2
|
||||||
|
- Remove scriptlets referencing nonexistent files (RHBZ#2024836)
|
||||||
|
|
||||||
* Wed Oct 20 2021 Link Dupont <link@redhat.com> - 3.1.7-1
|
* Wed Oct 20 2021 Link Dupont <link@redhat.com> - 3.1.7-1
|
||||||
- New upstream version (Resolves RHBZ#2013800)
|
- New upstream release (Resolves RHBZ#2013799)
|
||||||
- Disable client metrics collection
|
- Disable client metrics collection
|
||||||
- Create fallback.json dynamically at build time
|
- Create fallback.json dynamically at build time
|
||||||
|
|
||||||
* Fri Jun 25 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.5-1
|
* Tue Aug 24 2021 Link Dupont <link@redhat.com> - 3.1.6-1
|
||||||
- Fix metrics auth and connection issues (RHBZ#1966761)
|
- New upstream version
|
||||||
- Disallow --offline and --unregister together (RHBZ#1920946)
|
|
||||||
- Do not modify motd if already set (RHBZ#1945481)
|
* Mon Aug 2 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.5-1
|
||||||
- Enable insights-client-boot service on install (RHBZ#1951750)
|
- New upstream version
|
||||||
|
|
||||||
|
* Thu May 27 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.4-2
|
||||||
|
- Replace platform-python-setuptools dependency with python3dist(setuptools)
|
||||||
|
|
||||||
|
* Mon May 17 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.4-1
|
||||||
|
- New upstream version
|
||||||
|
|
||||||
* Tue Apr 20 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.2-1
|
* Tue Apr 20 2021 Jeremy Crafts <jcrafts@redhat.com> - 3.1.2-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user