Accepting request 925545 from home:adaugherity:branches:server:monitoring

- unbreak build on SLES 12 & RHEL 7 (_rpmmacrodir not set)

OBS-URL: https://build.opensuse.org/request/show/925545
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios-rpm-macros?expand=0&rev=49
This commit is contained in:
Lars Vogdt 2021-10-29 13:54:52 +00:00 committed by Git OBS Bridge
parent abea61154c
commit 55b789e52d
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 15 18:22:54 UTC 2021 - Andrew Daugherity <adaugherity@tamu.edu>
- unbreak build on SLES 12 & RHEL 7 (_rpmmacrodir not set)
-------------------------------------------------------------------
Fri Jun 11 12:02:11 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -33,6 +33,11 @@ Source6: macros.icinga
Source7: macros.icinga2
BuildArch: noarch
# _rpmmacrodir doesn't exist on SLES 12 or RHEL 7
%if %{undefined _rpmmacrodir}
%define _rpmmacrodir %{_rpmconfigdir}/macros.d
%endif
%description
This package provides rpm macros for building packages for
Nagios, check_mk and/or Icinga.