A few review-related changes in specfile.
This commit is contained in:
parent
6a71b6b700
commit
8eb9b8d89a
@ -378,7 +378,7 @@ find doc -name "*.html.*" -type f | xargs -r %{__rm} -f
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
# This hack is needed on RedHat > 7.3 to install the perl files correctly
|
# This hack is needed on RedHat > 7.3 to install the perl files correctly
|
||||||
%if %{_perlhack}
|
%if %{_perlhack}
|
||||||
@ -474,7 +474,7 @@ touch %{buildroot}%{ssl_pem_file}
|
|||||||
%{buildroot}%{_sysconfdir}/imapd.conf
|
%{buildroot}%{_sysconfdir}/imapd.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Rename 'master' binary and manpage to avoid crash with postfix
|
# Rename 'master' binary and manpage to avoid clash with postfix
|
||||||
%{__mv} -f %{buildroot}%{_cyrexecdir}/master %{buildroot}%{_cyrexecdir}/cyrus-master
|
%{__mv} -f %{buildroot}%{_cyrexecdir}/master %{buildroot}%{_cyrexecdir}/cyrus-master
|
||||||
%{__mv} -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8
|
%{__mv} -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8
|
||||||
%{__mv} -f doc/man/master.8.html doc/man/cyrus-master.8.html
|
%{__mv} -f doc/man/master.8.html doc/man/cyrus-master.8.html
|
||||||
@ -485,7 +485,7 @@ touch %{buildroot}%{ssl_pem_file}
|
|||||||
%{__perl} -pi -e 's/Master/Cyrus-master/g' doc/man/cyrus-master.8.html
|
%{__perl} -pi -e 's/Master/Cyrus-master/g' doc/man/cyrus-master.8.html
|
||||||
%{__perl} -pi -e 's/MASTER/CYRUS-MASTER/g' doc/man/cyrus-master.8.html
|
%{__perl} -pi -e 's/MASTER/CYRUS-MASTER/g' doc/man/cyrus-master.8.html
|
||||||
|
|
||||||
# Rename 'fetchnews' binary and manpage to avoid crash with leafnode
|
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
||||||
%{__mv} -f %{buildroot}%{_cyrexecdir}/fetchnews %{buildroot}%{_cyrexecdir}/cyrfetchnews
|
%{__mv} -f %{buildroot}%{_cyrexecdir}/fetchnews %{buildroot}%{_cyrexecdir}/cyrfetchnews
|
||||||
%{__mv} -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
%{__mv} -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
||||||
%{__mv} -f doc/man/fetchnews.8.html doc/man/cyrfetchnews.8.html
|
%{__mv} -f doc/man/fetchnews.8.html doc/man/cyrfetchnews.8.html
|
||||||
@ -528,7 +528,7 @@ find %{buildroot} -name ".packlist" -exec %{__rm} -f {} \;
|
|||||||
%{__rm} -f /perllocal.pod
|
%{__rm} -f /perllocal.pod
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Let postun know whether cyrus-imapd was running
|
# Let postun know whether cyrus-imapd was running
|
||||||
@ -679,8 +679,8 @@ fi
|
|||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%config(noreplace) %{_sysconfdir}/cyrus.conf
|
%config(noreplace) %{_sysconfdir}/cyrus.conf
|
||||||
%config(noreplace) %{_sysconfdir}/imapd.conf
|
%config(noreplace) %{_sysconfdir}/imapd.conf
|
||||||
%attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/%{name}
|
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
|
||||||
%config %{_sysconfdir}/logrotate.d/%{name}
|
%{_sysconfdir}/logrotate.d/%{name}
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/pop
|
%config(noreplace) %{_sysconfdir}/pam.d/pop
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/imap
|
%config(noreplace) %{_sysconfdir}/pam.d/imap
|
||||||
@ -689,7 +689,7 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/pam.d/mupdate
|
%config(noreplace) %{_sysconfdir}/pam.d/mupdate
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/csync
|
%config(noreplace) %{_sysconfdir}/pam.d/csync
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/nntp
|
%config(noreplace) %{_sysconfdir}/pam.d/nntp
|
||||||
%attr(0755,root,root) %config %{_sysconfdir}/cron.daily/%{name}
|
%attr(0755,root,root) %{_sysconfdir}/cron.daily/%{name}
|
||||||
%dir %{_cyrexecdir}
|
%dir %{_cyrexecdir}
|
||||||
%attr(0755,root,root) %{_cyrexecdir}/arbitron
|
%attr(0755,root,root) %{_cyrexecdir}/arbitron
|
||||||
%attr(0755,root,root) %{_cyrexecdir}/arbitronsort.pl
|
%attr(0755,root,root) %{_cyrexecdir}/arbitronsort.pl
|
||||||
|
Loading…
Reference in New Issue
Block a user