SHA256
1
0
forked from pool/atheme

- Rename the tools dbverify and ecdsakeygen with an "atheme-" prefix

OBS-URL: https://build.opensuse.org/package/show/server:irc/atheme?expand=0&rev=75
This commit is contained in:
Jan Engelhardt 2017-11-03 10:11:10 +00:00 committed by Git OBS Bridge
parent 8d1320fc68
commit 508c0e294d
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

View File

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