bodhi icon indicating copy to clipboard operation
bodhi copied to clipboard

Missing add bodhi user and bodhi group commands in bodhi-server .SPEC file

Open edwardlewis35 opened this issue 2 years ago • 0 comments

part of bodhi-server.spec file

install apache/bodhi.wsgi %{buildroot}%{_datadir}/bodhi/bodhi.wsgi install -d %{buildroot}%{_mandir}/man1 install -pm0644 docs/_build/*.1 %{buildroot}%{_mandir}/man1/

missing contents Below is how I fix this error temporarily In my opinion, bodhi should be changed to bodhi-sever to adapt to the new bodhi-server module And change apache/bodhi.conf 's user name and group to bodhi-server

############################################ %pre %{_sbindir}/groupadd -r bodhi &>/dev/null || : %{_sbindir}/useradd -r -s /sbin/nologin -d %{_datadir}/bodhi -M
-c 'Bodhi Server' -g bodhi bodhi &>/dev/null || : ############################################

%files -n %{pypi_name} %doc README.rst bodhi/server/migrations/README.rst bodhi/server/static/vendor/fedora-bootstrap/README.rst %{_bindir}/bodhi-approve-testing %{_bindir}/bodhi-check-policies

edwardlewis35 avatar Apr 08 '22 09:04 edwardlewis35