Accepting request 1224780 from home:mcepl:branches:devel:languages:python:mailman

- %defattr is evil! Rather have a long (and readable) list of
  %attr in front of every line
- one consequence of using %defattr is that we were changing
  ownership of /srv/www, which any individual web server has no
  business to do.

OBS-URL: https://build.opensuse.org/request/show/1224780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=66
This commit is contained in:
Markéta Machová 2024-11-18 08:02:29 +00:00 committed by Git OBS Bridge
parent 2b75c35837
commit dd68d5e8b7
2 changed files with 22 additions and 14 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Nov 18 07:23:45 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- %defattr is evil! Rather have a long (and readable) list of
%attr in front of every line
- one consequence of using %defattr is that we were changing
ownership of /srv/www, which any individual web server has no
business to do.
-------------------------------------------------------------------
Thu Nov 14 03:16:20 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -267,22 +267,21 @@ fi
%dir %{webapps_dir}
%dir %{webapps_dir}/mailman
%defattr(-,root,postorius)
%dir %{srv_www_dir}
%dir %{postorius_basedir}
%{postorius_basedir}/__init__.py
%{postorius_basedir}/manage.py
%{postorius_basedir}/settings.py
%{postorius_basedir}/settings_local.py
%{postorius_basedir}/test_settings.py
%{postorius_basedir}/urls.py
%{postorius_basedir}/wsgi.py
%attr(-,root,postorius) %dir %{postorius_basedir}
%attr(-,root,postorius) %{postorius_basedir}/__init__.py
%attr(-,root,postorius) %{postorius_basedir}/manage.py
%attr(-,root,postorius) %{postorius_basedir}/settings.py
%attr(-,root,postorius) %{postorius_basedir}/settings_local.py
%attr(-,root,postorius) %{postorius_basedir}/test_settings.py
%attr(-,root,postorius) %{postorius_basedir}/urls.py
%attr(-,root,postorius) %{postorius_basedir}/wsgi.py
%dir %{postorius_basedir}/static
%{postorius_basedir}/static/admin
%{postorius_basedir}/static/django-mailman3
%{postorius_basedir}/static/postorius
%{postorius_basedir}/static/debug_toolbar
%attr(-,root,postorius) %dir %{postorius_basedir}/static
%attr(-,root,postorius) %{postorius_basedir}/static/admin
%attr(-,root,postorius) %{postorius_basedir}/static/django-mailman3
%attr(-,root,postorius) %{postorius_basedir}/static/postorius
%attr(-,root,postorius) %{postorius_basedir}/static/debug_toolbar
%attr(750,root,postorius) %dir %{postorius_etcdir}
%attr(640,root,postorius) %config(noreplace) %{postorius_etcdir}/settings_local.py