SPECS (AC-branch): cyrus-imapd.spec - missing dir, lib64 fixes; rel 7
glen
glen at pld-linux.org
Mon Mar 26 18:16:23 CEST 2007
Author: glen Date: Mon Mar 26 16:16:23 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- missing dir, lib64 fixes; rel 7
---- Files affected:
SPECS:
cyrus-imapd.spec (1.110 -> 1.110.2.1)
---- Diffs:
================================================================
Index: SPECS/cyrus-imapd.spec
diff -u SPECS/cyrus-imapd.spec:1.110 SPECS/cyrus-imapd.spec:1.110.2.1
--- SPECS/cyrus-imapd.spec:1.110 Fri Sep 8 20:04:00 2006
+++ SPECS/cyrus-imapd.spec Mon Mar 26 18:16:18 2007
@@ -5,7 +5,7 @@
Summary(pt_BR): Um servidor de mail de alto desempenho que suporta IMAP e POP3
Name: cyrus-imapd
Version: 2.2.12
-Release: 6
+Release: 7
License: BSD-like
Group: Networking/Daemons
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%{name}-%{version}.tar.gz
@@ -222,23 +222,24 @@
install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/imapd.conf
install %{SOURCE9} $RPM_BUILD_ROOT/etc/pam.d/imap
install %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/pop
-install %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/cyrus-imapd
+sed -e 's,/''usr/lib/cyrus,%{_libexecdir},' %{SOURCE11} > $RPM_BUILD_ROOT/etc/rc.d/init.d/cyrus-imapd
install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/cyrus.conf
mv -f $RPM_BUILD_ROOT%{_libexecdir}/master $RPM_BUILD_ROOT%{_libexecdir}/cyrus-master
mv -f $RPM_BUILD_ROOT%{_mandir}/man8/master.8 $RPM_BUILD_ROOT%{_mandir}/man8/cyrus-master.8
-rm -rf $RPM_BUILD_ROOT%{_mandir}/man8/idled.8
+rm -f $RPM_BUILD_ROOT%{_mandir}/man8/idled.8
+rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
touch $RPM_BUILD_ROOT/etc/security/blacklist.{imap,pop}
-find $RPM_BUILD_ROOT%{perl_vendorarch} -name .packlist -exec rm {} \;
+find $RPM_BUILD_ROOT%{perl_vendorarch} -name .packlist | xargs rm -v
# make hashed dirs
for i in `%{__perl} -le 'print for "a".."z"'`; do
- install -d -m 0755 $RPM_BUILD_ROOT%{_var}/lib/imap/user/$i
- install -d -m 0755 $RPM_BUILD_ROOT%{_var}/lib/imap/quota/$i
- install -d -m 0755 $RPM_BUILD_ROOT%{_var}/lib/imap/sieve/$i
- install -d -m 0755 $RPM_BUILD_ROOT%{_var}/spool/imap/$i
+ install -d $RPM_BUILD_ROOT%{_var}/lib/imap/user/$i
+ install -d $RPM_BUILD_ROOT%{_var}/lib/imap/quota/$i
+ install -d $RPM_BUILD_ROOT%{_var}/lib/imap/sieve/$i
+ install -d $RPM_BUILD_ROOT%{_var}/spool/imap/$i
done
%clean
@@ -255,7 +256,7 @@
cd /var/lib/imap
chattr +S . user quota user/* quota/* 2>/dev/null ||:
chattr +S /var/spool/imap /var/spool/imap/* 2>/dev/null ||:
-%service cyrus-imapd "cyrus imap daemon"
+%service cyrus-imapd restart "cyrus imap daemon"
%preun
if [ "$1" = "0" ]; then
@@ -282,6 +283,7 @@
%attr(754,root,root) /etc/rc.d/init.d/cyrus-imapd
%attr(640,cyrus,mail) %ghost /var/lib/imap/faillog
%attr(755,root,root) %{_bindir}/*
+%dir %{_libexecdir}
%attr(4754,cyrus,mail) %{_libexecdir}/deliver
%attr(2755,cyrus,mail) %{_libexecdir}/deliver-wrapper
%attr(755,root,root) %{_libexecdir}/arbitron
@@ -360,6 +362,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.110.2.1 2007/03/26 16:16:18 glen
+- missing dir, lib64 fixes; rel 7
+
Revision 1.110 2006/09/08 18:04:00 glen
- rel 6 (rebuild with fixed %useradd/%groupadd macros)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cyrus-imapd.spec?r1=1.110&r2=1.110.2.1&f=u
More information about the pld-cvs-commit
mailing list