-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5651dda
commit 641782e
Showing
3 changed files
with
14 additions
and
7 deletions.
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
%global _enable_debug_package 1 | ||
%global debug_package %{_rpmfilename debuginfo} | ||
%global __os_install_post %{nil} | ||
%define __strip /bin/true | ||
|
||
Summary: Wazuh helps you to gain security visibility into your infrastructure by monitoring hosts at an operating system and application level. It provides the following capabilities: log analysis, file integrity monitoring, intrusions detection and policy and compliance monitoring | ||
Name: wazuh-manager | ||
|
@@ -37,9 +35,9 @@ log analysis, file integrity monitoring, intrusions detection and policy and com | |
# packages. | ||
%global _build_id_links none | ||
|
||
%package debuginfo | ||
%package -n wazuh-manager-debuginfo | ||
Summary: Debug information for package %{name} | ||
%description debuginfo | ||
%description -n wazuh-manager-debuginfo | ||
This package provides debug information for package %{name} | ||
|
||
%prep | ||
|
@@ -192,6 +190,10 @@ install -m 0640 src/init/*.sh ${RPM_BUILD_ROOT}%{_localstatedir}/packages_files/ | |
cp src/VERSION ${RPM_BUILD_ROOT}%{_localstatedir}/packages_files/manager_installation_scripts/src/ | ||
cp src/REVISION ${RPM_BUILD_ROOT}%{_localstatedir}/packages_files/manager_installation_scripts/src/ | ||
|
||
# Add debug symbols | ||
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/.symbols | ||
cp src/symbols/* ${RPM_BUILD_ROOT}%{_localstatedir}/.symbols | ||
|
||
exit 0 | ||
|
||
%pre | ||
|
@@ -889,6 +891,11 @@ rm -fr %{buildroot} | |
%dir %attr(750, root, wazuh) %{_localstatedir}/wodles/gcloud | ||
%attr(750, root, wazuh) %{_localstatedir}/wodles/gcloud/* | ||
|
||
|
||
%files -n wazuh-agent-debuginfo | ||
%dir %attr(750, root, root) %{_localstatedir}/.symbols | ||
%attr(640, root, root) %{_localstatedir}/.symbols/* | ||
|
||
%changelog | ||
* Tue May 14 2024 support <[email protected]> - 4.9.0 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html | ||
|
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
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