From b2025d86489aff025abe80a1f22d0ddd2ac3289a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20=C5=9Awi=C4=85tek?= Date: Sat, 15 Aug 2015 11:00:23 +0200 Subject: [PATCH] - fixed excludes - enable --short-circuit build options by adding -f to rm --- postfix.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/postfix.spec b/postfix.spec index 8191a62..fc3f4ba 100644 --- a/postfix.spec +++ b/postfix.spec @@ -282,7 +282,7 @@ install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security, $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public} \ $RPM_BUILD_ROOT%{_var}/lib/postfix -%{__rm} html/Makefile.in conf/{LICENSE,main.cf.default} +%{__rm} -f html/Makefile.in conf/{LICENSE,main.cf.default} install -p bin/* $RPM_BUILD_ROOT%{_sbindir} install -p libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix @@ -329,10 +329,10 @@ touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp > $RPM_BUILD_ROOT/var/spool/postfix/.nofinger -%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/mail/makedefs.out -%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mail/TLS_LICENSE +%{__rm} -rf $RPM_BUILD_ROOT%{_sysconfdir}/mail/makedefs.out +%{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/mail/TLS_LICENSE -%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mail/{postfix-script,post-install} +%{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/mail/{postfix-script,post-install} %clean rm -rf $RPM_BUILD_ROOT @@ -430,11 +430,11 @@ fi %attr(755,root,root) /usr/lib/sendmail %dir %{_libdir}/postfix %attr(755,root,root) %{_libdir}/postfix/[!d]* -%attr(755,root,root) %{_libdir}/postfix/!postfix-ldap.so -%attr(755,root,root) %{_libdir}/postfix/!postfix-mysql.so -%attr(755,root,root) %{_libdir}/postfix/!postfix-pcre.so -%attr(755,root,root) %{_libdir}/postfix/!postfix-pgsql.so -%attr(755,root,root) %{_libdir}/postfix/!postfix-sqlite.so +%attr(755,root,root) %exclude %{_libdir}/postfix/postfix-ldap.so +%attr(755,root,root) %exclude %{_libdir}/postfix/postfix-mysql.so +%attr(755,root,root) %exclude %{_libdir}/postfix/postfix-pcre.so +%attr(755,root,root) %exclude %{_libdir}/postfix/postfix-pgsql.so +%attr(755,root,root) %exclude %{_libdir}/postfix/postfix-sqlite.so %attr(755,root,root) %{_libdir}/postfix/discard %attr(755,root,root) %{_libdir}/postfix/dnsblog %attr(755,root,root) %dir %{_var}/spool/postfix -- 2.46.0