-%doc README UPGRADING UPGRADING-pre-2.8 docs/rel_notes.txt docs/txt/Bugzilla-Guide.txt
-%config(noreplace) %verify(not size mtime md5) /etc/httpd/%{name}.conf
-%dir %{_bugzilladir}
-%{_bugzilladir}/css
-%{_bugzilladir}/docs
-%{_bugzilladir}/template
-%{_bugzilladir}/data
-%{_bugzilladir}/graphs
-%{_bugzilladir}/Bugzilla
-%attr(755,root,root) %{_bugzilladir}/*.cgi
-%attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_bugzilladir}/globals.pl
-%{_bugzilladir}/[!g]*.pl
-%{_bugzilladir}/*.pm
-%{_bugzilladir}/*.html
-%{_bugzilladir}/*.js
-%{_bugzilladir}/*.gif
-%{_bugzilladir}/*.jpg
-%{_bugzilladir}/*.txt
+%doc QUICKSTART README UPGRADING* docs/en/rel_notes.txt docs/en/txt/Bugzilla-Guide.txt
+%doc contrib docs/en/html
+%dir %attr(750,root,http) %{_sysconfdir}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.pl
+
+%attr(755,root,root) /etc/cron.daily/bugzilla
+
+%{perl_vendorlib}/Bugzilla
+%{perl_vendorlib}/Bugzilla.pm
+
+%dir %{_appdir}
+%{_appdir}/template
+%attr(700,root,root) %{_appdir}/checksetup.pl
+%attr(755,root,root) %{_appdir}/collectstats.pl
+%attr(755,root,root) %{_appdir}/email_in.pl
+%attr(755,root,root) %{_appdir}/importxml.pl
+%attr(755,root,root) %{_appdir}/install-module.pl
+%attr(755,root,root) %{_appdir}/jobqueue.pl
+%attr(755,root,root) %{_appdir}/mod_perl.pl
+%attr(755,root,root) %{_appdir}/sanitycheck.pl
+%attr(755,root,root) %{_appdir}/testserver.pl
+%attr(755,root,root) %{_appdir}/whine.pl
+%attr(755,root,root) %{_appdir}/whineatnews.pl
+
+%dir %{_appdir}/htdocs
+%attr(755,root,root) %{_appdir}/htdocs/*.cgi
+%{_appdir}/htdocs/*.dtd
+%{_appdir}/htdocs/*.js
+%{_appdir}/htdocs/*.txt
+%{_appdir}/htdocs/graphs
+%{_appdir}/htdocs/images
+%{_appdir}/htdocs/js
+%dir %{_appdir}/htdocs/skins
+%dir %{_appdir}/htdocs/skins/contrib
+%dir %{_appdir}/htdocs/skins/contrib/Dusk
+%dir %{_appdir}/htdocs/skins/custom
+%{_appdir}/htdocs/skins/standard
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/htdocs/skins/custom/*.css
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/htdocs/skins/contrib/Dusk/*.css
+