diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index b75085e..cc0502b 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -8,14 +8,12 @@ Release: 1%{?dist} %define ssl_pem_file /etc/pki/%name/%name.pem -# uid/gid reserved, see setup:/usr/share/doc/setup*/uidgid +# UID/GID 76 have long been reserved for Cyrus %define uid 76 %define gid 76 %define cyrususer cyrus %define cyrusgroup mail -# RF hardcoded-library-path in %%_prefix/lib/%%name -#define cyrexecdir %%_prefix/lib/%name %define cyrexecdir %_libexecdir/%name Summary: A high-performance email, contacts and calendar server @@ -29,6 +27,7 @@ Source13: cyrus-imapd.pam-config Source17: cyrus-imapd.sysconfig Source18: cyrus-imapd.cvt_cyrusdb_all Source19: cyrus-imapd.magic +# XXX A systemd timer would probably be better Source20: cyrus-imapd.cron-daily Source21: README.rpm Source22: cyrus-imapd.service @@ -365,7 +364,7 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v %files %license COPYING -%doc README doc/* +%doc README.md doc/* %_datadir/cyrus-imapd %_libdir/libcyrus*.so.* @@ -421,6 +420,7 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v %doc perl/imap/Changes %doc perl/imap/examples %{_bindir}/* +%{_sbindir}/* %{perl_vendorarch}/auto/Cyrus %{perl_vendorarch}/Cyrus %{perl_vendorlib}/Cyrus