Changeset 1245


Ignore:
Timestamp:
Jan 7, 2020, 12:18:05 PM (5 years ago)
Author:
joergs
Message:

Workaround for RHEL 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.spec

    r1243 r1245  
    1515Release:        0
    1616Requires:       subversion perl
    17 #               perl-TermReadKey:
    18 #                   replaced ReadMode('noecho') by `stty -echo`
    19 #                   to reduce dependencies
    2017Source:         %{name}_%{version}.orig.tar.gz
    2118BuildRoot:      %{_tmppath}/%{name}-%{version}-build
     
    6057
    6158if test -e $RPM_BUILD_ROOT/etc/nagios/nrpe.d/dasscm.cfg; then
    62     test -d /etc/nagios        || echo '%dir /etc/nagios' >> files
    63     test -d /etc/nagios/nrpe.d || echo '%dir /etc/nagios/nrpe.d' >> files
     59    #test -d /etc/nagios        || echo '%%dir /etc/nagios' >> files
     60    #test -d /etc/nagios/nrpe.d || echo '%%dir /etc/nagios/nrpe.d' >> files
    6461    echo '%config(noreplace)  /etc/nagios/nrpe.d/dasscm.cfg' >> files
    6562else
     
    9491# if it is also owned by this package
    9592%if ! 0%{?fedora} && ! 0%{?rhel_version} && ! 0%{?centos_version}
     93%dir /etc/nagios/
     94%dir /etc/nagios/nrpe.d/
    9695%dir /etc/sudoers.d/
    9796%endif
Note: See TracChangeset for help on using the changeset viewer.