Accepting request 540433 from server:irc

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/540433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/atheme?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2017-11-11 13:21:32 +00:00 committed by Git OBS Bridge
commit 63a7e2137c
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 3 10:10:28 UTC 2017 - jengelh@inai.de
- Rename the tools dbverify and ecdsakeygen with an "atheme-"
prefix. This is possible since they do not appear to get invoked
by the server, but only by the user.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 30 07:15:51 UTC 2017 - jengelh@inai.de Thu Mar 30 07:15:51 UTC 2017 - jengelh@inai.de

View File

@ -124,12 +124,14 @@ EOF
mv "$b/%_sysconfdir/%name"/*example "$b/%_docdir/%name/" mv "$b/%_sysconfdir/%name"/*example "$b/%_docdir/%name/"
install -pm0644 "%{S:9}" "$b/%_sysconfdir/%name/atheme.conf" install -pm0644 "%{S:9}" "$b/%_sysconfdir/%name/atheme.conf"
%find_lang %name %find_lang %name
mv "$b/%_sbindir/ecdsakeygen" "$b/%_sbindir/atheme-ecdsakeygen"
mv "$b/%_sbindir/dbverify" "$b/%_sbindir/atheme-dbverify"
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%pre %pre
/usr/bin/getent group atheme >/dev/null 2>/dev/null || \ /usr/bin/getent group atheme >/dev/null || \
/usr/sbin/groupadd -r atheme /usr/sbin/groupadd -r atheme
/usr/bin/getent passwd atheme >/dev/null 2>/dev/null || \ /usr/bin/getent passwd atheme >/dev/null || \
/usr/sbin/useradd -r -g atheme -s /bin/false \ /usr/sbin/useradd -r -g atheme -s /bin/false \
-c "Atheme IRC Services daemon" -d "%atheme_home" \ -c "Atheme IRC Services daemon" -d "%atheme_home" \
atheme atheme
@ -154,8 +156,8 @@ systemd-tmpfiles --create atheme.conf || :
%config(noreplace) %attr(640,root,atheme) %_sysconfdir/%name/atheme.conf %config(noreplace) %attr(640,root,atheme) %_sysconfdir/%name/atheme.conf
%config(noreplace) %attr(644,root,atheme) %_sysconfdir/%name/atheme.motd %config(noreplace) %attr(644,root,atheme) %_sysconfdir/%name/atheme.motd
%_sbindir/atheme-services %_sbindir/atheme-services
%_sbindir/dbverify %_sbindir/*dbverify
%_sbindir/ecdsakeygen %_sbindir/*ecdsakeygen
%_sbindir/rcatheme %_sbindir/rcatheme
%_libdir/%name/ %_libdir/%name/
%_datadir/%name/ %_datadir/%name/