Skip to content

Commit

Permalink
since make install-config isn't run, some other steps fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Schoeller committed Oct 22, 2024
1 parent f795efb commit e7a76a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pnp4nagios.spec
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@ fi
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/config.php.*
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/config_local.php
chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/config.php
# temporary
ls -la $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/*.cfg
chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/*.md
# since we did not call make install-config, this step fails.
#chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/*.cfg
#chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/*.md
chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/check_commands/*.cfg-sample

mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
Expand Down

0 comments on commit e7a76a7

Please sign in to comment.