forked from NVIDIA/doca-sosreport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding sos to obsolete adding sos-mlx-cloud-verification.conf to rpm build
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ Recommends: python3-magic | |
# Mandatory just for uploading to a SFTP server: | ||
Recommends: python3-requests | ||
Recommends: python3-pyyaml | ||
Obsoletes: sos-collector <= 1.9 | ||
Obsoletes: sos-collector <= 1.9, sos <= 4.0 | ||
# For the _tmpfilesdir macro. | ||
BuildRequires: systemd | ||
# Mandatory just for uploading to an S3 bucket: | ||
|
@@ -63,6 +63,7 @@ install -d -m 755 %{buildroot}%{_sysconfdir}/%{sosname}/groups.d | |
install -d -m 755 %{buildroot}%{_sysconfdir}/%{sosname}/extras.d | ||
install -d -m 755 %{buildroot}%{_tmpfilesdir} | ||
install -m 644 %{sosname}.conf %{buildroot}%{_sysconfdir}/%{sosname}/%{sosname}.conf | ||
install -m 644 sos-mlx-cloud-verification.conf %{buildroot}%{_sysconfdir}/%{sosname}/sos-mlx-cloud-verification.conf | ||
install -m 644 tmpfiles/tmpfilesd-sos-rh.conf %{buildroot}%{_tmpfilesdir}/%{sosname}.conf | ||
|
||
rm -rf %{buildroot}/usr/config/ | ||
|
@@ -92,6 +93,7 @@ rm -rf %{buildroot}/usr/config/ | |
%doc AUTHORS README.md | ||
%license LICENSE | ||
%config(noreplace) %{_sysconfdir}/sos/sos.conf | ||
%config(noreplace) %{_sysconfdir}/sos/sos-mlx-cloud-verification.conf | ||
|
||
%changelog | ||
* Fri Jun 21 2024 Pavel Moravec <[email protected]> = 4.7.2 | ||
|