Changeset 1245 for dasscm/trunk
- Timestamp:
- Jan 7, 2020, 12:18:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dasscm/trunk/dasscm.spec
r1243 r1245 15 15 Release: 0 16 16 Requires: subversion perl 17 # perl-TermReadKey:18 # replaced ReadMode('noecho') by `stty -echo`19 # to reduce dependencies20 17 Source: %{name}_%{version}.orig.tar.gz 21 18 BuildRoot: %{_tmppath}/%{name}-%{version}-build … … 60 57 61 58 if test -e $RPM_BUILD_ROOT/etc/nagios/nrpe.d/dasscm.cfg; then 62 test -d /etc/nagios || echo '%dir /etc/nagios' >> files63 test -d /etc/nagios/nrpe.d || echo '%dir /etc/nagios/nrpe.d' >> files59 #test -d /etc/nagios || echo '%%dir /etc/nagios' >> files 60 #test -d /etc/nagios/nrpe.d || echo '%%dir /etc/nagios/nrpe.d' >> files 64 61 echo '%config(noreplace) /etc/nagios/nrpe.d/dasscm.cfg' >> files 65 62 else … … 94 91 # if it is also owned by this package 95 92 %if ! 0%{?fedora} && ! 0%{?rhel_version} && ! 0%{?centos_version} 93 %dir /etc/nagios/ 94 %dir /etc/nagios/nrpe.d/ 96 95 %dir /etc/sudoers.d/ 97 96 %endif
Note:
See TracChangeset
for help on using the changeset viewer.