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:
parent
abea61154c
commit
55b789e52d
@ -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>
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user