Import from CS git
This commit is contained in:
parent
01ecf64710
commit
30c36b8fd2
@ -1 +1 @@
|
|||||||
7564ab87ae9d79787e494e430df728657f8ce036 SOURCES/redhat-opentelemetry-collector-0.107.0.tar.gz
|
38f5ad96f29b9cae1d3e44eebc12851399f0d270 SOURCES/redhat-opentelemetry-collector-0.107.0.tar.gz
|
||||||
|
@ -12,7 +12,7 @@ Collector with the supported components for a Red Hat build of OpenTelemetry}
|
|||||||
%global godocs README.md
|
%global godocs README.md
|
||||||
|
|
||||||
Name: opentelemetry-collector
|
Name: opentelemetry-collector
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Red Hat build of OpenTelemetry
|
Summary: Red Hat build of OpenTelemetry
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -26,6 +26,8 @@ BuildRequires: binutils
|
|||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: policycoreutils, checkpolicy, selinux-policy-devel
|
BuildRequires: policycoreutils, checkpolicy, selinux-policy-devel
|
||||||
|
|
||||||
|
Requires(pre): shadow-utils
|
||||||
|
Requires(pre): util-linux
|
||||||
Requires(pre): /usr/sbin/useradd, /usr/bin/getent
|
Requires(pre): /usr/sbin/useradd, /usr/bin/getent
|
||||||
Requires(postun): /usr/sbin/userdel
|
Requires(postun): /usr/sbin/userdel
|
||||||
|
|
||||||
@ -69,7 +71,9 @@ install -m 0755 -p ./opentelemetry-collector-with-options %{buildroot}%{_bindir}
|
|||||||
/usr/bin/getent passwd observability > /dev/null || /usr/sbin/useradd -r -M -s /sbin/nologin -g observability -G systemd-journal observability
|
/usr/bin/getent passwd observability > /dev/null || /usr/sbin/useradd -r -M -s /sbin/nologin -g observability -G systemd-journal observability
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/usr/sbin/userdel observability
|
if [ $1 -eq 0 ]; then
|
||||||
|
/usr/sbin/userdel observability
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
semodule -i %{_datadir}/selinux/packages/otel_collector_journald.pp
|
semodule -i %{_datadir}/selinux/packages/otel_collector_journald.pp
|
||||||
@ -102,6 +106,18 @@ fi
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 06 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-4
|
||||||
|
- Bump revision
|
||||||
|
- Add runtime requirements for shadow-utils and util-linux to ensure successful creation of observability user on installation
|
||||||
|
- Modify post-uninstallation stage to only delete delete the observability user on full uninstallation to prevent the user being deleted during upgrades
|
||||||
|
Resolves: RHEL-81967
|
||||||
|
|
||||||
|
* Wed Feb 12 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-3
|
||||||
|
- Bump revision
|
||||||
|
- Update tarball golang from 1.21.0 to 1.22.11
|
||||||
|
- Update addresses CVE-2024-45336
|
||||||
|
Resolves: RHEL-79113
|
||||||
|
|
||||||
* Tue Feb 11 2025 Kseniia Nivnia <knivnia@redhat.com> - 0.107.0-2
|
* Tue Feb 11 2025 Kseniia Nivnia <knivnia@redhat.com> - 0.107.0-2
|
||||||
- Bump revision
|
- Bump revision
|
||||||
- Update tarball name to match upstream
|
- Update tarball name to match upstream
|
||||||
|
Loading…
Reference in New Issue
Block a user