Accepting request 1156120 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1156120 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-postorius?expand=0&rev=8
This commit is contained in:
commit
7145e30f2c
16
postorius-1.3.10.tar.gz.asc
Normal file
16
postorius-1.3.10.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmU0FPcACgkQnZsroGHQ
|
||||
pnwAnw/+Iqc/Xw6Y4xug3GGoA5i85HG7Liip8v2ZeRmdarDkqdwkbLpu6n9nonjK
|
||||
f62zh7YnstzV8hFQde33n2jSuo9IfDh0X7M+sD0JVjZZnoKM5HGA2c+NdsRY6ZIS
|
||||
aBwMeAsLd03Pzon/3nUMLooQ+QYQfOVhBDEgnPKZMsAZeyY+15Hk/au0Cz2Ssjx2
|
||||
JMaQKOKpKAiFmy7kbW5/acJSDLHutJiiCLHzSoZtQZikAvHF1siwkPzN5tS2phzz
|
||||
4AedQnmb6oPzwHfZpDMqKmMuAXgmFVh8ROS/DWr3ZXnZkhC6mXUeUAN12tidhKG4
|
||||
DEMacMu8/XAd8Am9xnm03Q0JWRGqFlLN4efC4ee4bx5wwTju0JHlNkhNkWMr/NDz
|
||||
NYYQM9Lf9+JGp1DqZK/znQsYNj0ntERs3hLppXSFFK9ColxFllv+qD0FOcFM4slh
|
||||
0O06Ziy/A0w9XxljAM46fO2GXmw4whGC9INycKByiwQ2p16MFiCr700gfSFS6W6h
|
||||
JwSzSnH4rHED0iU3joA8J2NyZr93amLXVkhic16Y8YiAJmkBWt0D76yTcpzbFmGo
|
||||
WTeIPrdusolKnfplph8Z3xHOPGQ/rHhyBmJIYs6MfJtB1rXwYMZdUU5pZuVYRCL2
|
||||
1t/0Sy1w/hwWI2Cno0PRmtuxZn4A+WudI2JlKAHFvqSZKymv1XM=
|
||||
=GWuI
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 09:40:26 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Validate source tarball
|
||||
- Split out system user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 09:51:32 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
90
python-postorius.keyring
Normal file
90
python-postorius.keyring
Normal file
@ -0,0 +1,90 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFQfvbgBEADMrhxJ0gutmKHBtd92PkRWFO+dKjnWGx5z1Oow5LuV3lxD6BQd
|
||||
SvrWCD1S8yaOnreJolhy3tYBSQMfnlWesjSkh3QDpedNMKH/2w/a09fNQObB7Ryg
|
||||
qpnByYl3gcf9soQ1wvi4g3m7Scwv/ZeTwTqw+5Mn6PmGoxst9HcJre9yMJz56FWl
|
||||
U7uQ2FevRB/9jwmB/rcuVKJ8gYr9haRva4TcSZEFC4mlfuPdVKyspjIKMZEIUwLf
|
||||
8unfZW0ZCuySiMHW+rsIaeZIhgYy8w6L5i07+agcmFRTr3Hm1M1X20R1MPTgi12N
|
||||
XXzfyTms7tSRhO/VjbghmceKWPqkfpPlr4U41dXlUGYWcjikz2xdvUB64dmo7qxV
|
||||
occ2jm0xLo7n10U2kOpwLgDO0b6E5/+LLidyDZshRjMVx4mUG6/7cD58foWupskr
|
||||
9TxgOq7COI/sGqnLUh7R4rH1/1xcPV1WgbPWCPytc2+S6U6+zFVQCtR5hjKJx0BM
|
||||
HQfx1PK46CPiOrzdNp+ZvfHjJ8tSy7Fq/vVThCj1+pD8d/YYwqdq1J19Zu/7fgac
|
||||
oyD3J6FwXb9Ol0EPqmV+GIvCRQfturjH+V2W77aqXcv+oPeyCux4a34x/wDWnwnL
|
||||
bN+op28Z8yQ0Yin5ZYxwAErlER3G46z5likx/CX6KNkaC4QfZ4q3No0HiwARAQAB
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VXP
|
||||
r6+jt7xtI65Ah4WNqHSTHWaxgHPN0Xk2JV9nkicBlPXu0WZJYYhVQx8/1m+FJVPK
|
||||
/JMp9kw4Xkqgad2GLjhnvVzggx0S94GDAQARAQABiQI8BBgBAgAPBQJUH724AhsM
|
||||
BQkSzAMAACEJEJ2bK6Bh0KZ8FiEEVB6gRIRTOU/3eg7MnZsroGHQpnw+Aw/+LNP7
|
||||
syWi2aKBCcPDjRZkFA1Ht6ekCARG3xMVOtG4rPWukxyy1w9vmhiahMQrg2yhRi7E
|
||||
Mi8DkO0WhyMKXBBTRjGylwuQymMwobcGeq7lAlCqvoHCFaTi/rb7ttFB09zIhJUl
|
||||
YvCjdwAOa5ojkBq2t6b5mnVbd/XnY9fZ48IroxilZkguJoAUvhlBeVpRPrgEIfA8
|
||||
DdYadSB1osJ4L+t+MsR9XDhYD2utZOgpAKcOkhhuWeOUXQSPELmuVY3bJUd1SodP
|
||||
qHSd/EIrqbeFowJ0MOG6petefHds8KsCwA8TurzfzUJMdCM/MnA5feRY0n8PzgFT
|
||||
8bxk2JoxlfHfvxBnTkg5R16yn9jgGiEeb6Orh8ATsjXO2uYpYmbZBO1EoA7SPXzT
|
||||
kc4CQRUPP0KNnzDAjIat0SFgjo8WYIzGxfkoaWkUBWvjIXVjcAyHQxNRJ/pbceyb
|
||||
Ea0GXnxUz00AksBxLmP4h/DoxqUmtflFdeuknu9LDPjiePX3n9SnN+qwqXeP4nbm
|
||||
f1eZHGCIsFtKIx15SQDI+7IR/KtGa1djFJDsQCZCOHgr4C0nMZBi1pSqDfPvCrgK
|
||||
WWng6K/K2zy5Vg/ZuleTyaqP3ZnvNqANMo6W7j/ZLGSTmy0uel4A5PbzvmpHWIIw
|
||||
13uS0qfwHEvxfNbR011PQGPf7eD4e4i0uh4IcTw=
|
||||
=s7HB
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -55,8 +55,10 @@ Summary: A web user interface for GNU Mailman
|
||||
License: GPL-3.0-only
|
||||
URL: https://gitlab.com/mailman/postorius
|
||||
#
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/postorius/postorius-%{version}.tar.gz
|
||||
Source1: python-postorius-rpmlintrc
|
||||
Source0: https://gitlab.com/mailman/postorius/-/releases/v%{version}/downloads/postorius-%{version}.tar.gz
|
||||
Source1: https://gitlab.com/mailman/postorius/-/releases/v%{version}/downloads/postorius-%{version}.tar.gz.asc
|
||||
Source2: python-postorius.keyring
|
||||
Source3: python-postorius-rpmlintrc
|
||||
#
|
||||
Source10: postorius-manage.sh
|
||||
Source12: postorius.uwsgi
|
||||
@ -123,8 +125,7 @@ Requires: %{postorius_pkgname}
|
||||
Requires: acl
|
||||
Requires: openssl
|
||||
Requires: sudo
|
||||
Provides: user(postorius)
|
||||
Provides: group(postorius)
|
||||
Requires: system-user-%{postorius_pkgname}
|
||||
|
||||
%description -n %{postorius_pkgname}-web
|
||||
A web user interface for GNU Mailman.
|
||||
@ -145,6 +146,15 @@ A web user interface for GNU Mailman.
|
||||
|
||||
This package holds the uwsgi configuration.
|
||||
|
||||
%package -n system-user-%{postorius_pkgname}
|
||||
Summary: System user for HyperKitty
|
||||
BuildArch: noarch
|
||||
BuildRequires: sysuser-tools
|
||||
%sysusers_requires
|
||||
|
||||
%description -n system-user-%{postorius_pkgname}
|
||||
System user for HyperKitty.
|
||||
|
||||
%prep
|
||||
%setup -q -n postorius-%{version}
|
||||
cp %{SOURCE20} .
|
||||
@ -155,6 +165,10 @@ rsync -a example_project/* build_static_files
|
||||
|
||||
%autopatch -p1
|
||||
|
||||
tee > %{postorius_pkgname}.sysuser <<EOF
|
||||
u %{postorius_pkgname} - "Postorius" %{postorius_basedir} -
|
||||
EOF
|
||||
|
||||
%build
|
||||
sed -i 's|^#!/usr/bin/env.*|#!%{__mypython}|' \
|
||||
example_project/manage.py
|
||||
@ -168,6 +182,8 @@ install -d -m 0755 build_static_files/logs
|
||||
export PYTHONPATH=$(pwd)/src
|
||||
%python_exec build_static_files/manage.py collectstatic --clear --noinput
|
||||
|
||||
%sysusers_generate_pre %{postorius_pkgname}.sysuser %{postorius_pkgname}
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
@ -207,6 +223,9 @@ install -m 0750 %{SOURCE10} %{buildroot}%{_sbindir}/postorius-manage
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/uwsgi/vassals
|
||||
install -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/uwsgi/vassals/postorius.ini
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysusersdir}
|
||||
install -m 0644 %{postorius_pkgname}.sysuser %{buildroot}%{_sysusersdir}/%{postorius_pkgname}.conf
|
||||
|
||||
%if %{with testsuite}
|
||||
%check
|
||||
export PYTHONPATH="$(pwd):$(pwd)/src"
|
||||
@ -229,6 +248,8 @@ fi
|
||||
%{_sbindir}/postorius-manage makemigrations --pythonpath /srv/www/webapps/mailman/postorius/ --settings settings
|
||||
%{_sbindir}/postorius-manage migrate --pythonpath /srv/www/webapps/mailman/postorius/ --settings settings
|
||||
|
||||
%pre -n system-user-%{postorius_pkgname} -f %{postorius_pkgname}.pre
|
||||
|
||||
%files -n %{postorius_pkgname}
|
||||
%doc README.rst example_project src/postorius/doc/*.rst
|
||||
%license COPYING
|
||||
@ -268,4 +289,7 @@ fi
|
||||
%dir %{_sysconfdir}/uwsgi/vassals
|
||||
%config (noreplace) %{_sysconfdir}/uwsgi/vassals/postorius.ini
|
||||
|
||||
%files -n system-user-%{postorius_pkgname}
|
||||
%{_sysusersdir}/%{postorius_pkgname}.conf
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user