Skip to content

Commit

Permalink
[dist] Mark cron job files as configuration files
Browse files Browse the repository at this point in the history
This solves the rpmlint warning 'non-conffile-in-etc' caused by
having non-executable cron scripts in /etc/cron.d/.
Cron job files are supposed to be configurable by local system administrators.
  • Loading branch information
bgeuken committed Jun 5, 2018
1 parent cacf7e7 commit 2cd176e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/obs-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ chown %{apache_user}:%{apache_group} /srv/www/obs/api/log/production.log
# formerly obs-source_service
/etc/init.d/obsservice
%config(noreplace) /etc/logrotate.d/obs-source_service
/etc/cron.d/cleanup_scm_cache
%config(noreplace) /etc/cron.d/cleanup_scm_cache
/usr/sbin/rcobsservice
/usr/lib/obs/server/bs_service
/usr/lib/obs/server/call-service-in-docker.sh
Expand All @@ -627,7 +627,7 @@ usermod -a -G docker obsservicerun
/srv/www/obs/overview

/srv/www/obs/api/config/thinking_sphinx.yml.example
/etc/cron.d/obs_api_delayed_jobs_monitor
%config(noreplace) /etc/cron.d/obs_api_delayed_jobs_monitor
%config(noreplace) /srv/www/obs/api/config/thinking_sphinx.yml
%attr(-,%{apache_user},%{apache_group}) %config(noreplace) /srv/www/obs/api/config/production.sphinx.conf

Expand Down

0 comments on commit 2cd176e

Please sign in to comment.